From: Gabe Black Date: Fri, 24 Nov 2006 19:01:18 +0000 (-0500) Subject: Rename this function. X-Git-Tag: m5_2.0_beta3~303 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6ddab95df4b2570b13dc1c3475a664a0ef03cc4;p=gem5.git Rename this function. --HG-- extra : convert_revision : 57ea1e1d3b75e35abb3310d392ec70086fff699a --- 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);