From 47877cf2dbd6ee2f1cf9b2c609d37b0589e876ca Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 26 May 2009 09:23:13 -0700 Subject: types: add a type for thread IDs and try to use it everywhere --- src/arch/mips/regfile/float_regfile.hh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/arch/mips/regfile/float_regfile.hh') diff --git a/src/arch/mips/regfile/float_regfile.hh b/src/arch/mips/regfile/float_regfile.hh index 7a95d0568..afe6701c5 100644 --- a/src/arch/mips/regfile/float_regfile.hh +++ b/src/arch/mips/regfile/float_regfile.hh @@ -88,10 +88,12 @@ namespace MipsISA static const int regWidth = SingleWidth; void clear(); - double readReg(int floatReg, int width, unsigned tid = 0); - FloatRegBits readRegBits(int floatReg, int width, unsigned tid = 0); - Fault setReg(int floatReg, const FloatRegVal &val, int width, unsigned tid = 0); - Fault setRegBits(int floatReg, const FloatRegBits &val, int width, unsigned tid = 0); + double readReg(int floatReg, int width, ThreadID tid = 0); + FloatRegBits readRegBits(int floatReg, int width, ThreadID tid = 0); + Fault setReg(int floatReg, const FloatRegVal &val, int width, + ThreadID tid = 0); + Fault setRegBits(int floatReg, const FloatRegBits &val, int width, + ThreadID tid = 0); void serialize(std::ostream &os); void unserialize(Checkpoint *cp, const std::string §ion); -- cgit v1.2.3