utility.hh (12496:e7bc841e521c) | utility.hh (12526:94adfd8b5dbd) |
---|---|
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 --- 334 unchanged lines hidden (view full) --- 343 */ 344int decodePhysAddrRange64(uint8_t pa_enc); 345 346/** 347 * Returns the encoding corresponding to the specified n. of PA bits. 348 */ 349uint8_t encodePhysAddrRange64(int pa_size); 350 | 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 --- 334 unchanged lines hidden (view full) --- 343 */ 344int decodePhysAddrRange64(uint8_t pa_enc); 345 346/** 347 * Returns the encoding corresponding to the specified n. of PA bits. 348 */ 349uint8_t encodePhysAddrRange64(int pa_size); 350 |
351inline ByteOrder byteOrder(ThreadContext *tc) 352{ 353 return isBigEndian64(tc) ? BigEndianByteOrder : LittleEndianByteOrder; 354}; 355 |
|
351} 352 353#endif | 356} 357 358#endif |