Fix an include problem.
--HG-- extra : convert_revision : 89be55bd3f4f9b452a680a98b69ce42b80546769
This commit is contained in:
parent
68ae846f3e
commit
96a6af98e2
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
#include "arch/sparc/intregfile.hh"
|
#include "arch/sparc/intregfile.hh"
|
||||||
#include "base/trace.hh"
|
#include "base/trace.hh"
|
||||||
|
#include "base/misc.hh"
|
||||||
#include "sim/serialize.hh"
|
#include "sim/serialize.hh"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -83,7 +84,8 @@ IntReg IntRegFile::readReg(int intReg)
|
||||||
else if((intReg -= NumIntArchRegs) < NumMicroIntRegs)
|
else if((intReg -= NumIntArchRegs) < NumMicroIntRegs)
|
||||||
val = microRegs[intReg];
|
val = microRegs[intReg];
|
||||||
else
|
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);
|
DPRINTF(Sparc, "Read register %d = 0x%x\n", intReg, val);
|
||||||
return val;
|
return val;
|
||||||
|
|
Loading…
Reference in a new issue