summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-24 14:01:18 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-24 14:01:18 -0500
commitc6ddab95df4b2570b13dc1c3475a664a0ef03cc4 (patch)
tree796c10cb1f806c4b76facc283fdbee85fc74b351 /src/arch
parent770821716768a4e6ae6d4b1cf2ae02c1a54fbe0e (diff)
downloadgem5-c6ddab95df4b2570b13dc1c3475a664a0ef03cc4.tar.xz
Rename this function.
--HG-- extra : convert_revision : 57ea1e1d3b75e35abb3310d392ec70086fff699a
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/sparc/miscregfile.cc2
-rw-r--r--src/arch/sparc/miscregfile.hh4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/sparc/miscregfile.cc b/src/arch/sparc/miscregfile.cc
index 9bbe9a5a0..7b0939c29 100644
--- a/src/arch/sparc/miscregfile.cc
+++ b/src/arch/sparc/miscregfile.cc
@@ -67,7 +67,7 @@ enum RegMask
PSTATE_MASK = (((1 << 4) - 1) << 1) | (((1 << 4) - 1) << 6) | (1 << 12)
};
-void MiscRegFile::reset()
+void MiscRegFile::clear()
{
y = 0;
ccr = 0;
diff --git a/src/arch/sparc/miscregfile.hh b/src/arch/sparc/miscregfile.hh
index 3093b56e6..6bc04b583 100644
--- a/src/arch/sparc/miscregfile.hh
+++ b/src/arch/sparc/miscregfile.hh
@@ -176,11 +176,11 @@ namespace SparcISA
#endif
public:
- void reset();
+ void clear();
MiscRegFile()
{
- reset();
+ clear();
}
MiscReg readReg(int miscReg);