summaryrefslogtreecommitdiffstats
path: root/src/build/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/debug')
-rw-r--r--src/build/debug/simics-debug-framework.py42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/build/debug/simics-debug-framework.py b/src/build/debug/simics-debug-framework.py
index 097210198..a3bf1e63e 100644
--- a/src/build/debug/simics-debug-framework.py
+++ b/src/build/debug/simics-debug-framework.py
@@ -511,9 +511,6 @@ def magic_instruction_callback(user_arg, cpu, arg):
if arg == 7006: # MAGIC_SHUTDOWN
# KernelMisc::shutdown()
print "KernelMisc::shutdown() called."
- # Could break/stop/pause the simics run, but presently
- # shutdown() is called four times. --Monte Jan 2012
- # SIM_break_simulation( "Shutdown. Simulation stopped." )
if arg == 7007: # MAGIC_BREAK
# Stop the simulation, much like a hard-coded breakpoint
@@ -540,45 +537,6 @@ def magic_instruction_callback(user_arg, cpu, arg):
#SIM_run_alone( run_command, cmd )
print "MAGIC_LOAD_PAYLOAD not implemented\n";
- if arg == 7016:
- print "Wake up rest of CORE0 - 7017 start \n";
-
- # Set other threads on CORE0 to proper address
- setIar1 = "system_cmp0.cpu0_0_00_1->iar=0x100"
- setIar2 = "system_cmp0.cpu0_0_00_2->iar=0x100"
- setIar3 = "system_cmp0.cpu0_0_00_3->iar=0x100"
-
- setIarAll = "%s; %s; %s"%(setIar1,setIar2,setIar3)
- SIM_run_alone(run_command, setIarAll )
-
- # Enable rest of threads on CORE0
- enable1 = "system_cmp0.cpu0_0_00_1.enable"
- enable2 = "system_cmp0.cpu0_0_00_2.enable"
- enable3 = "system_cmp0.cpu0_0_00_3.enable"
- enableCore0 = "%s; %s; %s"%(enable1,enable2,enable3)
- SIM_run_alone(run_command, enableCore0 )
-
- if arg == 7017:
- print "Wake up FUSED threads - 7017 start \n";
-
- # Set CORE1 threads to proper address
- setIar4 = "system_cmp0.cpu0_0_01_0->iar=0x100"
- setIar5 = "system_cmp0.cpu0_0_01_1->iar=0x100"
- setIar6 = "system_cmp0.cpu0_0_01_2->iar=0x100"
- setIar7 = "system_cmp0.cpu0_0_01_3->iar=0x100"
- setHrmor = "system_cmp0.cpu0_0_01_0->hrmor=0x08000000"
-
- setIarAll = "%s; %s; %s; %s; %s"%(setIar4,setIar5,setIar6,setIar7,setHrmor)
- SIM_run_alone(run_command, setIarAll )
-
- # Enable all threads on CORE1
- enable4 = "system_cmp0.cpu0_0_01_0.enable"
- enable5 = "system_cmp0.cpu0_0_01_1.enable"
- enable6 = "system_cmp0.cpu0_0_01_2.enable"
- enable7 = "system_cmp0.cpu0_0_01_3.enable"
- enableCore1 = "%s; %s; %s; %s"%(enable4,enable5,enable6,enable7)
- SIM_run_alone(run_command, enableCore1 )
-
if arg == 7018: # MAGIC_BREAK_ON_ERROR
# Stop the simulation if an env var is set
if( os.environ.has_key('HB_BREAK_ON_ERROR') ):
OpenPOWER on IntegriCloud