From 7d14c1e4d4297c8537d4c003fe8d7130ae490169 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Mon, 29 Jul 2013 11:31:43 -0500 Subject: 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 --- src/build/debug/Hostboot/Dump.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/build/debug/Hostboot') 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; -- cgit v1.2.1