summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/microops/specop.isa
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-10-19 15:11:15 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-10-19 15:11:15 -0700
commit35a8bc56cd1454f6d32ee7d0309f3ce62639f17c (patch)
tree26c25ee3e2e44c4b02835fac53a8dca95d3a3b8a /src/arch/x86/isa/microops/specop.isa
parentf69a463b4b6c247570374edd24b10be5b243d6a6 (diff)
downloadgem5-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.isa4
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