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:
Steve Reinhardt 2005-05-20 17:13:37 -04:00
parent c2fcac7c0d
commit 9725c13a0b
2 changed files with 1 additions and 6 deletions

View file

@ -40,7 +40,7 @@ class BaseFullCPU : public BaseCPU
BaseFullCPU(Params &params);
#endif // FULL_SYSTEM
private:
protected:
int cpu_id;
};

View file

@ -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;