Merge zizzer.eecs.umich.edu:/bk/m5/
[gem5.git] / arch / alpha / ev5.cc
index 34b65a915f0a7c5c8bf658b9d310c2401a828ff9..2e32da53147b9c8ea993405c092d975a741a8f72 100644 (file)
@@ -15,9 +15,7 @@
 
 #ifdef FULL_SYSTEM
 
-#ifndef SYSTEM_EV5
-#error This code is only valid for EV5 systems
-#endif
+using namespace EV5;
 
 ////////////////////////////////////////////////////////////////////////
 //
@@ -96,7 +94,7 @@ AlphaISA::initIPRs(RegFile *regs)
     uint64_t *ipr = regs->ipr;
 
     bzero((char *)ipr, NumInternalProcRegs * sizeof(InternalProcReg));
-    ipr[IPR_PAL_BASE] = PAL_BASE;
+    ipr[IPR_PAL_BASE] = PalBase;
     ipr[IPR_MCSR] = 0x6;
 }