utility.hh (13550:976591c112bc) | utility.hh (13585:9c8328ccb03f) |
---|---|
1/* 2 * Copyright (c) 2010, 2012-2013, 2016-2018 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 --- 239 unchanged lines hidden (view full) --- 248 */ 249inline bool isSecureBelowEL3(ThreadContext *tc); 250 251bool longDescFormatInUse(ThreadContext *tc); 252 253/** This helper function is either returing the value of 254 * MPIDR_EL1 (by calling getMPIDR), or it is issuing a read 255 * to VMPIDR_EL2 (as it happens in virtualized systems) */ | 1/* 2 * Copyright (c) 2010, 2012-2013, 2016-2018 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 --- 239 unchanged lines hidden (view full) --- 248 */ 249inline bool isSecureBelowEL3(ThreadContext *tc); 250 251bool longDescFormatInUse(ThreadContext *tc); 252 253/** This helper function is either returing the value of 254 * MPIDR_EL1 (by calling getMPIDR), or it is issuing a read 255 * to VMPIDR_EL2 (as it happens in virtualized systems) */ |
256MiscReg readMPIDR(ArmSystem *arm_sys, ThreadContext *tc); | 256RegVal readMPIDR(ArmSystem *arm_sys, ThreadContext *tc); |
257 258/** This helper function is returing the value of MPIDR_EL1 */ | 257 258/** This helper function is returing the value of MPIDR_EL1 */ |
259MiscReg getMPIDR(ArmSystem *arm_sys, ThreadContext *tc); | 259RegVal getMPIDR(ArmSystem *arm_sys, ThreadContext *tc); |
260 261static inline uint32_t 262mcrMrcIssBuild(bool isRead, uint32_t crm, IntRegIndex rt, uint32_t crn, 263 uint32_t opc1, uint32_t opc2) 264{ 265 return (isRead << 0) | 266 (crm << 1) | 267 (rt << 5) | --- 110 unchanged lines hidden --- | 260 261static inline uint32_t 262mcrMrcIssBuild(bool isRead, uint32_t crm, IntRegIndex rt, uint32_t crn, 263 uint32_t opc1, uint32_t opc2) 264{ 265 return (isRead << 0) | 266 (crm << 1) | 267 (rt << 5) | --- 110 unchanged lines hidden --- |