isa_traits.hh (9041:c7d6e967e692) isa_traits.hh (9057:f5ee56466b91)
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

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

90 const Addr VAddrImplMask = (ULL(1) << VABits) - 1;
91 const Addr VAddrUnImplMask = ~VAddrImplMask;
92 inline Addr VAddrImpl(Addr a) { return a & VAddrImplMask; }
93 inline Addr VAddrVPN(Addr a) { return a >> ArmISA::PageShift; }
94 inline Addr VAddrOffset(Addr a) { return a & ArmISA::PageOffset; }
95
96 const Addr PAddrImplMask = (ULL(1) << PABits) - 1;
97
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

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

90 const Addr VAddrImplMask = (ULL(1) << VABits) - 1;
91 const Addr VAddrUnImplMask = ~VAddrImplMask;
92 inline Addr VAddrImpl(Addr a) { return a & VAddrImplMask; }
93 inline Addr VAddrVPN(Addr a) { return a >> ArmISA::PageShift; }
94 inline Addr VAddrOffset(Addr a) { return a & ArmISA::PageOffset; }
95
96 const Addr PAddrImplMask = (ULL(1) << PABits) - 1;
97
98 const extern StaticInstPtr NoopStaticInst;
98 // return a no-op instruction... used for instruction fetch faults
99 const ExtMachInst NoopMachInst = 0x01E320F000ULL;
99
100 const int LogVMPageSize = 12; // 4K bytes
101 const int VMPageSize = (1 << LogVMPageSize);
102
103 // Shouldn't this be 1 because of Thumb?! Dynamic? --Ali
104 const int BranchPredAddrShiftAmt = 2; // instructions are 4-byte aligned
105
106 const int MachineBytes = 4;

--- 23 unchanged lines hidden ---
100
101 const int LogVMPageSize = 12; // 4K bytes
102 const int VMPageSize = (1 << LogVMPageSize);
103
104 // Shouldn't this be 1 because of Thumb?! Dynamic? --Ali
105 const int BranchPredAddrShiftAmt = 2; // instructions are 4-byte aligned
106
107 const int MachineBytes = 4;

--- 23 unchanged lines hidden ---