diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-03-10 16:47:00 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-03-10 16:47:00 -0500 |
commit | 72d870c60fd3ea12265cc8c8ba71ce1a972aba7a (patch) | |
tree | b78b8b6d42418e3b9b86e615200b997266996bd5 /arch/alpha | |
parent | 523420baf01a361c6531f36dd6611c96a8e01cf7 (diff) | |
download | gem5-72d870c60fd3ea12265cc8c8ba71ce1a972aba7a.tar.xz |
Put the InternalProcReg type into the MiscRegFile, which is the only place it's used.
--HG--
extra : convert_revision : e5a942c2fbf951dc13a5aee9d2ac85982ff3e9c9
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/isa_traits.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/alpha/isa_traits.hh b/arch/alpha/isa_traits.hh index ab2722f83..787546e43 100644 --- a/arch/alpha/isa_traits.hh +++ b/arch/alpha/isa_traits.hh @@ -185,12 +185,14 @@ extern const int reg_redir[NumIntRegs]; #if FULL_SYSTEM protected: + typedef uint64_t InternalProcReg; + InternalProcReg ipr[NumInternalProcRegs]; // Internal processor regs private: - MiscReg readIpr(int idx, Fault &fault, ExecContext *xc); + InternalProcReg readIpr(int idx, Fault &fault, ExecContext *xc); - Fault setIpr(int idx, uint64_t val, ExecContext *xc); + Fault setIpr(int idx, InternalProcReg val, ExecContext *xc); void copyIprs(ExecContext *xc); #endif |