summaryrefslogtreecommitdiffstats
path: root/src/build
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2013-10-28 10:26:46 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-10-31 16:11:32 -0500
commit2737de709eae85817841027506b4e18f9e620025 (patch)
tree514b5fb0b3a13099dc80bbd8ba08580f82879275 /src/build
parent665dc1aff603fee08413c24deef941d5d43d35f5 (diff)
downloadtalos-hostboot-2737de709eae85817841027506b4e18f9e620025.tar.gz
talos-hostboot-2737de709eae85817841027506b4e18f9e620025.zip
Fixed performance issues in SIMICS IPL
Change-Id: Iccce5b641d0e2dc414bacc143a6b3e186f4e49ab CQ: SW224728 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6960 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build')
-rwxr-xr-xsrc/build/debug/simics-debug-framework.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/build/debug/simics-debug-framework.py b/src/build/debug/simics-debug-framework.py
index bda3bb6c0..80268e0d2 100755
--- a/src/build/debug/simics-debug-framework.py
+++ b/src/build/debug/simics-debug-framework.py
@@ -498,6 +498,10 @@ def magic_instruction_callback(user_arg, cpu, arg):
if arg == 7009: # MAGIC_MEMORYLEAK_FUNCTION
magic_memoryleak_function(cpu)
+ if arg == 7011: #MAGIC_SIMICS_CHECK
+ cpu.r3 = 1
+ print "TimeManager::cv_isSimicsRunning = true"
+
if arg == 7055: # MAGIC_CONTINUOUS_TRACE
hb_tracBinaryBuffer = cpu.r4
hb_tracBinaryBufferSz = cpu.r5
OpenPOWER on IntegriCloud