isa_traits.hh (7654:7447a92d1ad5) | isa_traits.hh (7692:8173327c9c65) |
---|---|
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 --- 113 unchanged lines hidden (view full) --- 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; | 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 --- 113 unchanged lines hidden (view full) --- 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; |
|
130 static const Addr PcTBitShift = 34; | 131 static const Addr PcTBitShift = 34; |
132 static const Addr PcTBit = ULL(1) << PcTBitShift; |
|
131 static const Addr PcModeMask = (ULL(1) << PcJBitShift) | 132 (ULL(1) << PcTBitShift); 133}; 134 135using namespace ArmISA; 136 137#endif // __ARCH_ARM_ISA_TRAITS_HH__ | 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__ |