summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-06-12 00:58:27 -0400
committerGabe Black <gblack@eecs.umich.edu>2008-06-12 00:58:27 -0400
commit4f4ff17578846018e06b0b9b047df96a8346efd9 (patch)
tree845d83f4a2fbe7b042d691768393fb7a67dd3998 /src
parent31d40ad7c22651eb88271abddacf416aa7c2adf2 (diff)
downloadgem5-4f4ff17578846018e06b0b9b047df96a8346efd9.tar.xz
X86: Make the disassembly for halt conform with the other microops.
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/isa/microops/specop.isa15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/arch/x86/isa/microops/specop.isa b/src/arch/x86/isa/microops/specop.isa
index 6bcc7ff91..ad14b54a3 100644
--- a/src/arch/x86/isa/microops/specop.isa
+++ b/src/arch/x86/isa/microops/specop.isa
@@ -1,4 +1,4 @@
-// Copyright (c) 2007 The Hewlett-Packard Development Company
+// Copyright (c) 2007-2008 The Hewlett-Packard Development Company
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms,
@@ -95,6 +95,9 @@ output header {{
}
%(BasicExecDeclare)s
+
+ std::string generateDisassembly(Addr pc,
+ const SymbolTable *symtab) const;
};
}};
@@ -201,6 +204,16 @@ output decoder {{
return response.str();
}
+
+ std::string MicroHalt::generateDisassembly(Addr pc,
+ const SymbolTable *symtab) const
+ {
+ std::stringstream response;
+
+ printMnemonic(response, instMnem, mnemonic);
+
+ return response.str();
+ }
}};
let {{