isa_traits.hh (7692:8173327c9c65) isa_traits.hh (7720:65d338a8dba4)
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 109 unchanged lines hidden (view full) ---

118 enum InterruptTypes
119 {
120 INT_RST,
121 INT_ABT,
122 INT_IRQ,
123 INT_FIQ,
124 NumInterruptTypes
125 };
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 109 unchanged lines hidden (view full) ---

118 enum InterruptTypes
119 {
120 INT_RST,
121 INT_ABT,
122 INT_IRQ,
123 INT_FIQ,
124 NumInterruptTypes
125 };
126
127 // These otherwise unused bits of the PC are used to select a mode
128 // like the J and T bits of the CPSR.
129 static const Addr PcJBitShift = 33;
130 static const Addr PcJBit = ULL(1) << PcJBitShift;
131 static const Addr PcTBitShift = 34;
132 static const Addr PcTBit = ULL(1) << PcTBitShift;
133 static const Addr PcModeMask = (ULL(1) << PcJBitShift) |
134 (ULL(1) << PcTBitShift);
135};
136
137using namespace ArmISA;
138
139#endif // __ARCH_ARM_ISA_TRAITS_HH__
126};
127
128using namespace ArmISA;
129
130#endif // __ARCH_ARM_ISA_TRAITS_HH__