summaryrefslogtreecommitdiff
path: root/src/arch/sparc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-10-27 01:43:26 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-10-27 01:43:26 -0400
commitb1cc98ed54b21e02c5ac52002497a5368452c529 (patch)
tree6a56e16f98ed8cc939b5ca78f57b59ebb19b0735 /src/arch/sparc
parent944bfde6b34a27f2438e38f7d870532ed6c0447a (diff)
downloadgem5-b1cc98ed54b21e02c5ac52002497a5368452c529.tar.xz
Made the regfile compatible with the new definitions in MiscRegFile
--HG-- extra : convert_revision : d63ea6fb1e549e737204ee6653c06f89ec5e43ef
Diffstat (limited to 'src/arch/sparc')
-rw-r--r--src/arch/sparc/regfile.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/arch/sparc/regfile.cc b/src/arch/sparc/regfile.cc
index 747426781..5eb874d39 100644
--- a/src/arch/sparc/regfile.cc
+++ b/src/arch/sparc/regfile.cc
@@ -82,18 +82,21 @@ MiscReg RegFile::readMiscReg(int miscReg)
MiscReg RegFile::readMiscRegWithEffect(int miscReg,
Fault &fault, ThreadContext *tc)
{
- return miscRegFile.readRegWithEffect(miscReg, fault, tc);
+ fault = NoFault;
+ return miscRegFile.readRegWithEffect(miscReg, tc);
}
Fault RegFile::setMiscReg(int miscReg, const MiscReg &val)
{
- return miscRegFile.setReg(miscReg, val);
+ miscRegFile.setReg(miscReg, val);
+ return NoFault;
}
Fault RegFile::setMiscRegWithEffect(int miscReg, const MiscReg &val,
ThreadContext * tc)
{
- return miscRegFile.setRegWithEffect(miscReg, val, tc);
+ miscRegFile.setRegWithEffect(miscReg, val, tc);
+ return NoFault;
}
FloatReg RegFile::readFloatReg(int floatReg, int width)