Put the InternalProcReg type into the MiscRegFile, which is the only place it's used.
authorGabe Black <gblack@eecs.umich.edu>
Fri, 10 Mar 2006 21:47:00 +0000 (16:47 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Fri, 10 Mar 2006 21:47:00 +0000 (16:47 -0500)
--HG--
extra : convert_revision : e5a942c2fbf951dc13a5aee9d2ac85982ff3e9c9

arch/alpha/isa_traits.hh

index ab2722f83d795c2eacda39abead92f332b14fd64..787546e438998b70af3c3205aec6e8152de337cf 100644 (file)
@@ -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