diff options
Diffstat (limited to 'src/arch/arm/isa_traits.hh')
-rw-r--r-- | src/arch/arm/isa_traits.hh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/arm/isa_traits.hh b/src/arch/arm/isa_traits.hh index 4cffe3bec..d81981ff7 100644 --- a/src/arch/arm/isa_traits.hh +++ b/src/arch/arm/isa_traits.hh @@ -110,6 +110,7 @@ namespace ArmISA const int LogVMPageSize = 12; // 4K bytes const int VMPageSize = (1 << LogVMPageSize); + // Shouldn't this be 1 because of Thumb?! Dynamic? --Ali const int BranchPredAddrShiftAmt = 2; // instructions are 4-byte aligned const int MachineBytes = 4; @@ -122,6 +123,15 @@ namespace ArmISA // Memory accesses cannot be unaligned const bool HasUnalignedMemAcc = false; + enum InterruptTypes + { + INT_RST, + INT_ABT, + INT_IRQ, + INT_FIQ, + NumInterruptTypes + }; + // These otherwise unused bits of the PC are used to select a mode // like the J and T bits of the CPSR. static const Addr PcJBitShift = 33; |