From: Korey Sewell Date: Wed, 14 Jun 2006 23:45:15 +0000 (-0400) Subject: add cycle to exit message X-Git-Tag: m5_2.0_beta1~36^2~72 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cd362ca4e9394967f8680593b657b0bdd39d29e;p=gem5.git 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 --- 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)