summaryrefslogtreecommitdiffstats
path: root/src/build/simics
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-05-16 12:51:22 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-07-16 19:05:48 -0500
commit3bba9a3ff18b6991bba4247898f4c26fa944a676 (patch)
treeda3462c53eaf0670670b37f094c17444f1ce5c4c /src/build/simics
parent2aa5e0afac73384aaabe1fe1529898601be1155f (diff)
downloadtalos-hostboot-3bba9a3ff18b6991bba4247898f4c26fa944a676.tar.gz
talos-hostboot-3bba9a3ff18b6991bba4247898f4c26fa944a676.zip
Support for core_activate via IPI.
RTC: 37009 Change-Id: I56669805c86d9659a20ad7c26e5e9860c7a248c7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1087 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/simics')
-rwxr-xr-xsrc/build/simics/hb-simdebug.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/build/simics/hb-simdebug.py b/src/build/simics/hb-simdebug.py
index c8aba37e1..70d9190d4 100755
--- a/src/build/simics/hb-simdebug.py
+++ b/src/build/simics/hb-simdebug.py
@@ -192,8 +192,10 @@ Examples: \n
#------------------------------------------------
#------------------------------------------------
def hb_singlethread():
- run_command("foreach $cpu in (system_cmp0.get-processor-list) {$cpu.disable}")
- run_command("cpu0_0_0_0.enable");
+ run_command("foreach $cpu in (system_cmp0.get-processor-list) " +
+ "{ pdisable $cpu}");
+ run_command("penable cpu0_0_05_0");
+ run_command("pselect cpu0_0_05_0");
return
new_command("hb-singlethread",
@@ -201,4 +203,4 @@ new_command("hb-singlethread",
[],
alias = "hb-st",
type = ["hostboot-commands"],
- short = "Disable all threads except cpu0_0_0_0.")
+ short = "Disable all threads except cpu0_0_05_0.")
OpenPOWER on IntegriCloud