summaryrefslogtreecommitdiffstats
path: root/src/build/debug/hb-dump-debug
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-01-02 10:07:17 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-01-02 15:33:35 -0600
commit9ef1b3e1ce1958b8c58bba74a76085e9af1a8fc1 (patch)
tree4662576171436230d47f3368a84fe30214015d81 /src/build/debug/hb-dump-debug
parente52a96b1dc103294e5e5c19a15bf169b728a5b12 (diff)
downloadtalos-hostboot-9ef1b3e1ce1958b8c58bba74a76085e9af1a8fc1.tar.gz
talos-hostboot-9ef1b3e1ce1958b8c58bba74a76085e9af1a8fc1.zip
Debug Framework fixes for HRMOR.
There were conditions where the HRMOR was being applied twice during virtual memory translation. Enhance the debug framework to handle both HRMOR-adjusted and physically-mapped addresses. Change-Id: I620432deb0ce4115c284e7a996a97f2b46672a01 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2790 Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/debug/hb-dump-debug')
-rwxr-xr-xsrc/build/debug/hb-dump-debug22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/build/debug/hb-dump-debug b/src/build/debug/hb-dump-debug
index 1ae6a74d2..9084a0598 100755
--- a/src/build/debug/hb-dump-debug
+++ b/src/build/debug/hb-dump-debug
@@ -1,26 +1,26 @@
#!/usr/bin/perl
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
-#
+#
# $Source: src/build/debug/hb-dump-debug $
-#
+#
# IBM CONFIDENTIAL
-#
-# COPYRIGHT International Business Machines Corp. 2011,2012
-#
+#
+# COPYRIGHT International Business Machines Corp. 2011,2013
+#
# p1
-#
+#
# Object Code Only (OCO) source materials
# Licensed Internal Code Source Materials
# IBM HostBoot Licensed Internal Code
-#
+#
# The source code for this program is not published or otherwise
# divested of its trade secrets, irrespective of what has been
# deposited with the U.S. Copyright Office.
-#
+#
# Origin: 30
-#
-# IBM_PROLOG_END_TAG
+#
+# IBM_PROLOG_END_TAG
use strict;
@@ -100,6 +100,8 @@ sub readData
my $addr = shift;
my $size = shift;
+ $addr = translateHRMOR($addr);
+
seek DUMPFILE, $addr, SEEK_SET;
my $result = "";
OpenPOWER on IntegriCloud