diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-10-19 15:11:15 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-10-19 15:11:15 -0700 |
commit | 35a8bc56cd1454f6d32ee7d0309f3ce62639f17c (patch) | |
tree | 26c25ee3e2e44c4b02835fac53a8dca95d3a3b8a /src/arch/x86/isa/microops/specop.isa | |
parent | f69a463b4b6c247570374edd24b10be5b243d6a6 (diff) | |
download | gem5-35a8bc56cd1454f6d32ee7d0309f3ce62639f17c.tar.xz |
X86: Impelement the HLT instruction and fix the "halt" microop.
--HG--
extra : convert_revision : 932e5bb5bf3644f8468dba92177fb87cc54b891a
Diffstat (limited to 'src/arch/x86/isa/microops/specop.isa')
-rw-r--r-- | src/arch/x86/isa/microops/specop.isa | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/isa/microops/specop.isa b/src/arch/x86/isa/microops/specop.isa index dfc7f3e8b..3ca59f033 100644 --- a/src/arch/x86/isa/microops/specop.isa +++ b/src/arch/x86/isa/microops/specop.isa @@ -135,7 +135,7 @@ output exec {{ MicroHalt::execute(%(CPU_exec_context)s *xc, Trace::InstRecord * traceData) const { - xc->suspend(); + xc->tcBase()->suspend(); return NoFault; } }}; @@ -244,7 +244,7 @@ let {{ pass def getAllocator(self, *microFlags): - return "new MicroHalt(machInst, mnemonic %(flags)s)" % \ + return "new MicroHalt(machInst, mnemonic %s)" % \ self.microFlagsText(microFlags) microopClasses["halt"] = Halt |