scripts/get-pmr: Update comment, remove unused vars
Signed-off-by: Michal Berger <michal.berger@intel.com> Change-Id: I275853e5c3695912cb1eb4d81f99d4dc4ce26d91 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14821 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
This commit is contained in:
parent
29756d4c69
commit
8d7abaf5e2
@ -3,7 +3,7 @@
|
||||
# Copyright (C) 2021 Intel Corporation
|
||||
# All rights reserved.
|
||||
|
||||
# We simply check if BAR2 is present as that's where PMR or CMB is
|
||||
# We simply check if BAR2, BAR4 are present as that's where PMR or CMB is
|
||||
# meant to be located under qemu. If found, print some stats then exit.
|
||||
shopt -s nullglob
|
||||
|
||||
@ -33,12 +33,12 @@ get_size() {
|
||||
info() {
|
||||
local dev=$1
|
||||
|
||||
local pref loc
|
||||
local pref
|
||||
|
||||
local base_addr2
|
||||
local base_addr4
|
||||
|
||||
local bar local bar2 bar3 bar4 bar5
|
||||
local bar bar2 bar3 bar4 bar5
|
||||
local bar_type2
|
||||
|
||||
pref[0]=non-prefetchable
|
||||
|
Loading…
Reference in New Issue
Block a user