summaryrefslogtreecommitdiff
path: root/src/arch/sparc/intregfile.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-24 14:00:00 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-24 14:00:00 -0500
commit96a6af98e2f088c5c573b371d65e7a9be17fe534 (patch)
tree0ec2dba4661e485463ab6fd5a9a3f7e315a6bbe9 /src/arch/sparc/intregfile.cc
parent68ae846f3e697d432b8276a1cc736205d7632820 (diff)
downloadgem5-96a6af98e2f088c5c573b371d65e7a9be17fe534.tar.xz
Fix an include problem.
--HG-- extra : convert_revision : 89be55bd3f4f9b452a680a98b69ce42b80546769
Diffstat (limited to 'src/arch/sparc/intregfile.cc')
-rw-r--r--src/arch/sparc/intregfile.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/sparc/intregfile.cc b/src/arch/sparc/intregfile.cc
index 6250b1810..0a8ac055f 100644
--- a/src/arch/sparc/intregfile.cc
+++ b/src/arch/sparc/intregfile.cc
@@ -31,6 +31,7 @@
#include "arch/sparc/intregfile.hh"
#include "base/trace.hh"
+#include "base/misc.hh"
#include "sim/serialize.hh"
#include <string.h>
@@ -83,7 +84,8 @@ IntReg IntRegFile::readReg(int intReg)
else if((intReg -= NumIntArchRegs) < NumMicroIntRegs)
val = microRegs[intReg];
else
- panic("Tried to read non-existant integer register %d, %d\n", NumIntArchRegs + NumMicroIntRegs + intReg, intReg);
+ panic("Tried to read non-existant integer register %d, %d\n",
+ NumIntArchRegs + NumMicroIntRegs + intReg, intReg);
DPRINTF(Sparc, "Read register %d = 0x%x\n", intReg, val);
return val;