summaryrefslogtreecommitdiffstats
path: root/src/build/debug/Hostboot
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-07-29 11:31:43 -0500
committerPatrick Williams <iawillia@us.ibm.com>2013-07-29 13:10:12 -0500
commit7d14c1e4d4297c8537d4c003fe8d7130ae490169 (patch)
tree714947025a77c8332b600361525d76bdb6c48a7d /src/build/debug/Hostboot
parent40745f06db13a73461a9ebf8d078d1bc0a5ef585 (diff)
downloadtalos-hostboot-7d14c1e4d4297c8537d4c003fe8d7130ae490169.tar.gz
talos-hostboot-7d14c1e4d4297c8537d4c003fe8d7130ae490169.zip
Issues with the dump utilities.
* The debug framework tool had an outdated method for determining the hostboot memory state. * Updated the default state of the FSP tool to be 'discover'. Change-Id: I567d8a937a5417590e46691a7e9ff72dd9a2d2d3 RTC: 79598
Diffstat (limited to 'src/build/debug/Hostboot')
-rwxr-xr-xsrc/build/debug/Hostboot/Dump.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build/debug/Hostboot/Dump.pm b/src/build/debug/Hostboot/Dump.pm
index 43ace962b..e9538dc9f 100755
--- a/src/build/debug/Hostboot/Dump.pm
+++ b/src/build/debug/Hostboot/Dump.pm
@@ -102,8 +102,8 @@ sub main
}
# Read the current memory state.
- my ($memstate_addr, $memstate_size) =
- ::findSymbolAddress("KernelMemState::state");
+ my $memstate_addr = ::read64(0x2000 + 0x8); # Read descriptor address.
+ $memstate_addr += 0x10; # Memory state is 3rd entry into descriptor.
my $memstate = ::read32($memstate_addr + 4); # only need bottom 32 bits
::userDisplay (sprintf "Current state is %x\n", $memstate) if $debug;
OpenPOWER on IntegriCloud