Minor changes to get new cpu to compile with FULL_SYSTEM.
cpu/beta_cpu/full_cpu.hh: Make cpu_id protected rather than private so derived classes can access it. cpu/beta_cpu/regfile.hh: Get rid of troublesome debugging statement. --HG-- extra : convert_revision : ae1f841697ea8d736579b8278eaf8fc6bdf3b6c5
This commit is contained in:
parent
c2fcac7c0d
commit
9725c13a0b
|
@ -40,7 +40,7 @@ class BaseFullCPU : public BaseCPU
|
|||
BaseFullCPU(Params ¶ms);
|
||||
#endif // FULL_SYSTEM
|
||||
|
||||
private:
|
||||
protected:
|
||||
int cpu_id;
|
||||
};
|
||||
|
||||
|
|
|
@ -428,11 +428,6 @@ PhysRegFile<Impl>::setIpr(int idx, uint64_t val)
|
|||
break;
|
||||
|
||||
case ISA::IPR_IPLR:
|
||||
#ifdef DEBUG
|
||||
if (break_ipl != -1 && break_ipl == (val & 0x1f))
|
||||
debug_break();
|
||||
#endif
|
||||
|
||||
// only write least significant five bits - interrupt level
|
||||
ipr[idx] = val & 0x1f;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue