summaryrefslogtreecommitdiffstats
path: root/src/build/debug/simics-debug-framework.py
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2013-07-22 10:03:46 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-08-09 11:06:58 -0500
commit5b6ce29d510f5393728ab8bdfdf6d90a26bf1d0c (patch)
treebc62c7b51fb124125ae60890b40ac6bde38f280c /src/build/debug/simics-debug-framework.py
parentb390d78d49a76b69c80afe036ee5350878686152 (diff)
downloadtalos-hostboot-5b6ce29d510f5393728ab8bdfdf6d90a26bf1d0c.tar.gz
talos-hostboot-5b6ce29d510f5393728ab8bdfdf6d90a26bf1d0c.zip
Tweaks for simics scripts
1) Moved hardcoded cpu to 1 place only 2) Attempt to use Simics commands for masterproc Change-Id: If6bb1f60342d16da54cb558a4092425da2ed1215 RTC: 51267 CQ: SW214903 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5509 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/debug/simics-debug-framework.py')
-rwxr-xr-xsrc/build/debug/simics-debug-framework.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build/debug/simics-debug-framework.py b/src/build/debug/simics-debug-framework.py
index 8abf60a3d..bda3bb6c0 100755
--- a/src/build/debug/simics-debug-framework.py
+++ b/src/build/debug/simics-debug-framework.py
@@ -353,7 +353,8 @@ def hexDumpToNumber(hexlist):
# Fetch the current HRMOR value.
def getHRMOR():
- runStr = "(system_cmp0.cpu0_0_04_0).read-reg HRMOR"
+ # Note: will default to using the currently selected cpu
+ runStr = "($hb_cpu).read-reg HRMOR"
( result, out ) = quiet_run_command( runStr, output_modes.regular )
return result
OpenPOWER on IntegriCloud