Put the InternalProcReg type into the MiscRegFile, which is the only place it's used.
--HG-- extra : convert_revision : e5a942c2fbf951dc13a5aee9d2ac85982ff3e9c9
This commit is contained in:
parent
523420baf0
commit
72d870c60f
1 changed files with 4 additions and 2 deletions
|
@ -185,12 +185,14 @@ extern const int reg_redir[NumIntRegs];
|
||||||
|
|
||||||
#if FULL_SYSTEM
|
#if FULL_SYSTEM
|
||||||
protected:
|
protected:
|
||||||
|
typedef uint64_t InternalProcReg;
|
||||||
|
|
||||||
InternalProcReg ipr[NumInternalProcRegs]; // Internal processor regs
|
InternalProcReg ipr[NumInternalProcRegs]; // Internal processor regs
|
||||||
|
|
||||||
private:
|
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);
|
void copyIprs(ExecContext *xc);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue