45 #ifndef __ARCH_ARM_INTREGS_HH__ 46 #define __ARCH_ARM_INTREGS_HH__ 332 return IntRegUsrMap[
index];
350 return IntRegHypMap[
index];
368 return IntRegSvcMap[
index];
386 return IntRegMonMap[
index];
404 return IntRegAbtMap[
index];
422 return IntRegUndMap[
index];
440 return IntRegIrqMap[
index];
458 return IntRegFiqMap[
index];
467 return mode * intRegsPerMode +
reg;
494 panic(
"%d: Flattening into an unknown mode: reg:%#x mode:%#x\n",
#define panic(...)
This implements a cprintf based panic() function.
const IntRegMap IntRegSvcMap
static IntRegIndex makeSP(IntRegIndex reg)
static IntRegIndex INTREG_USR(unsigned index)
static IntRegIndex INTREG_SVC(unsigned index)
static IntRegIndex INTREG_IRQ(unsigned index)
static IntRegIndex makeZero(IntRegIndex reg)
const IntRegMap IntReg64Map
static const unsigned intRegsPerMode
const IntRegMap IntRegHypMap
const IntRegMap IntRegFiqMap
Tick curTick()
The current simulated tick.
static IntRegIndex INTREG_MON(unsigned index)
IntRegIndex IntRegMap[NUM_ARCH_INTREGS]
const IntRegMap IntRegUndMap
const IntRegMap IntRegAbtMap
static IntRegIndex INTREG_UND(unsigned index)
static int flattenIntRegModeIndex(int reg)
static IntRegIndex INTREG_FIQ(unsigned index)
const IntRegMap IntRegUsrMap
static IntRegIndex INTREG_ABT(unsigned index)
const IntRegMap IntRegMonMap
static IntRegIndex INTREG_HYP(unsigned index)
static bool isSP(IntRegIndex reg)
const IntRegMap IntRegIrqMap
static int intRegInMode(OperatingMode mode, int reg)