diff options
author | Korey Sewell <ksewell@umich.edu> | 2006-06-14 19:45:15 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2006-06-14 19:45:15 -0400 |
commit | 7cd362ca4e9394967f8680593b657b0bdd39d29e (patch) | |
tree | 2e327a5a74fdcc292484069f547a89cc44ecb810 | |
parent | 38ecb6a2ee7fbe4e24f83e50f8ca95b04197e0f9 (diff) | |
download | gem5-7cd362ca4e9394967f8680593b657b0bdd39d29e.tar.xz |
add cycle to exit message
src/arch/mips/isa/formats/trap.isa:
Take out fix that tried to fix trap
instruction disassembly. It forces bad
compile ..
configs/test/test.py:
add 'cycle' to exit message
--HG--
extra : convert_revision : 568877797fd2806416b4cbb388cc3f7eb2492627
-rw-r--r-- | configs/test/test.py | 2 | ||||
-rw-r--r-- | src/arch/mips/isa/formats/trap.isa | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/configs/test/test.py b/configs/test/test.py index 2ece9e675..9ab5f6e00 100644 --- a/configs/test/test.py +++ b/configs/test/test.py @@ -50,5 +50,5 @@ m5.instantiate(root) # simulate until program terminates exit_event = m5.simulate() -print 'Exiting @', m5.curTick(), 'because', exit_event.getCause() +print 'Exiting @ cycle', m5.curTick(), 'because', exit_event.getCause() diff --git a/src/arch/mips/isa/formats/trap.isa b/src/arch/mips/isa/formats/trap.isa index 6692e8ef8..8a9c5822a 100644 --- a/src/arch/mips/isa/formats/trap.isa +++ b/src/arch/mips/isa/formats/trap.isa @@ -70,11 +70,9 @@ def template TrapExecute {{ }}; def format Trap(code, *flags) {{ - warn_code = 'warn(\"' - warn_code += 'Trap Exception Handler Is Currently Not Implemented.' - warn_code += '\");' - code = warn_code + "bool " + code - + code = 'warn(\"' + code += 'Trap Exception Handler Is Currently Not Implemented.' + code += '\");' iop = InstObjParams(name, Name, 'MipsStaticInst', CodeBlock(code), flags) header_output = BasicDeclare.subst(iop) decoder_output = BasicConstructor.subst(iop) |