arch: Make the ISA register types aliases for the global types.

The ISA specific types can thus be phased out.

Change-Id: I8ea531a099fad140a4ec9c91cd972fe044111d60
Reviewed-on: https://gem5-review.googlesource.com/c/13623
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
This commit is contained in:
Gabe Black
2018-10-12 23:39:36 -07:00
parent f4d3328326
commit 0c4515ce1f
8 changed files with 33 additions and 32 deletions

View File

@@ -278,14 +278,14 @@ const int NumMiscRegs = MISCREG_NUMREGS;
const int TotalNumRegs = NumIntRegs + NumFloatRegs + NumMiscRegs;
typedef uint64_t IntReg;
typedef RegVal IntReg;
// floating point register file entry type
typedef uint64_t FloatRegBits;
typedef double FloatReg;
typedef RegVal FloatRegBits;
typedef FloatRegVal FloatReg;
// cop-0/cop-1 system control register
typedef uint64_t MiscReg;
typedef RegVal MiscReg;
// dummy typedef since we don't have CC regs
typedef uint8_t CCReg;