system.hh (11574:868c31fcca24) system.hh (12005:f4b9607db0af)
1/*
2 * Copyright (c) 2010, 2012-2013, 2015-2016 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

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

111 */
112 const uint8_t _physAddrRange64;
113
114 /**
115 * True if ASID is 16 bits in AArch64 (ARMv8)
116 */
117 const bool _haveLargeAsid64;
118
1/*
2 * Copyright (c) 2010, 2012-2013, 2015-2016 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

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

111 */
112 const uint8_t _physAddrRange64;
113
114 /**
115 * True if ASID is 16 bits in AArch64 (ARMv8)
116 */
117 const bool _haveLargeAsid64;
118
119 /**
120 * Range for memory-mapped m5 pseudo ops. The range will be
121 * invalid/empty if disabled.
122 */
123 const AddrRange _m5opRange;
124
119 protected:
120 /**
121 * Get a boot loader that matches the kernel.
122 *
123 * @param obj Kernel binary
124 * @return Pointer to boot loader ObjectFile or nullptr if there
125 * is no matching boot loader.
126 */

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

211 }
212
213 /** Returns the physical address mask */
214 Addr physAddrMask() const
215 {
216 return mask(physAddrRange());
217 }
218
125 protected:
126 /**
127 * Get a boot loader that matches the kernel.
128 *
129 * @param obj Kernel binary
130 * @return Pointer to boot loader ObjectFile or nullptr if there
131 * is no matching boot loader.
132 */

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

217 }
218
219 /** Returns the physical address mask */
220 Addr physAddrMask() const
221 {
222 return mask(physAddrRange());
223 }
224
225 /**
226 * Range used by memory-mapped m5 pseudo-ops if enabled. Returns
227 * an invalid/empty range if disabled.
228 */
229 const AddrRange &m5opRange() const { return _m5opRange; }
230
219 /** Returns true if the system of a specific thread context implements the
220 * Security Extensions
221 */
222 static bool haveSecurity(ThreadContext *tc);
223
224 /** Returns true if the system of a specific thread context implements the
225 * virtualization Extensions
226 */

--- 57 unchanged lines hidden ---
231 /** Returns true if the system of a specific thread context implements the
232 * Security Extensions
233 */
234 static bool haveSecurity(ThreadContext *tc);
235
236 /** Returns true if the system of a specific thread context implements the
237 * virtualization Extensions
238 */

--- 57 unchanged lines hidden ---