aboutsummaryrefslogtreecommitdiff
path: root/slof
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-07-14 11:46:01 +0200
committerAlexey Kardashevskiy <aik@ozlabs.ru>2017-07-17 13:19:06 +1000
commited256fbdc56948f2e8c9fcfda734b0169cec7066 (patch)
tree5690474ab5f7a1887a749a98971b021bcec3092b /slof
parent089fc18a9b8c38ff83d678f4ea05b270a172848c (diff)
downloadSLOF-ed256fbdc56948f2e8c9fcfda734b0169cec7066.zip
SLOF-ed256fbdc56948f2e8c9fcfda734b0169cec7066.tar.gz
SLOF-ed256fbdc56948f2e8c9fcfda734b0169cec7066.tar.bz2
pci: Improve the pci-var-out debug function
Print all related variables, using the code from phb-parse-ranges in board-qemu/slof/pci-phb.fs, so that we can easily check all the values from the SLOF prompt, too. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'slof')
-rw-r--r--slof/fs/pci-scan.fs11
1 files changed, 8 insertions, 3 deletions
diff --git a/slof/fs/pci-scan.fs b/slof/fs/pci-scan.fs
index 9578189..c39707a 100644
--- a/slof/fs/pci-scan.fs
+++ b/slof/fs/pci-scan.fs
@@ -59,9 +59,14 @@ here 100 allot CONSTANT pci-device-vec
\ prints out all relevant pci variables
: pci-var-out ( -- )
- s" mem:" type pci-next-mem @ 16 0.r cr
- s" mmio:" type pci-next-mmio @ 16 0.r cr
- s" io:" type pci-next-io @ 16 0.r cr
+ ." pci-next-io = " pci-next-io @ 10 0.r cr
+ ." pci-max-io = " pci-max-io @ 10 0.r cr
+ ." pci-next-mem = " pci-next-mem @ 10 0.r cr
+ ." pci-max-mem = " pci-max-mem @ 10 0.r cr
+ ." pci-next-mmio = " pci-next-mmio @ 10 0.r cr
+ ." pci-max-mmio = " pci-max-mmio @ 10 0.r cr
+ ." pci-next-mem64 = " pci-next-mem64 @ 10 0.r cr
+ ." pci-max-mem64 = " pci-max-mem64 @ 10 0.r cr
;