From 0b3897fc90901953e9d016466c37ab507f85023c Mon Sep 17 00:00:00 2001 From: Anthony Gutierrez Date: Wed, 15 Aug 2012 10:38:08 -0400 Subject: O3,ARM: fix some problems with drain/switchout functionality and add Drain DPRINTFs This patch fixes some problems with the drain/switchout functionality for the O3 cpu and for the ARM ISA and adds some useful debug print statements. This is an incremental fix as there are still a few bugs/mem leaks with the switchout code. Particularly when switching from an O3CPU to a TimingSimpleCPU. However, when switching from O3 to O3 cores with the ARM ISA I haven't encountered any more assertion failures; now the kernel will typically panic inside of simulation. --- src/sim/SConscript | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sim/SConscript') diff --git a/src/sim/SConscript b/src/sim/SConscript index 25b965d59..9f76d6381 100644 --- a/src/sim/SConscript +++ b/src/sim/SConscript @@ -62,6 +62,7 @@ if env['TARGET_ISA'] != 'no': DebugFlag('Checkpoint') DebugFlag('Config') +DebugFlag('Drain') DebugFlag('Event') DebugFlag('Fault') DebugFlag('Flow') -- cgit v1.2.3