1/* 2 * Copyright (c) 2012-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 --- 1048 unchanged lines hidden (view full) --- 1057 T get(ByteOrder endian) const; 1058 1059#if THE_ISA != NULL_ISA 1060 /** 1061 * Get the data in the packet byte swapped from guest to host 1062 * endian. 1063 */ 1064 template <typename T> |
1065 T get() const 1066 M5_DEPRECATED_MSG("The memory system should be ISA independent."); |
1067#endif 1068 1069 /** Set the value in the data pointer to v as big endian. */ 1070 template <typename T> 1071 void setBE(T v); 1072 1073 /** Set the value in the data pointer to v as little endian. */ 1074 template <typename T> --- 4 unchanged lines hidden (view full) --- 1079 * endianness. 1080 */ 1081 template <typename T> 1082 void set(T v, ByteOrder endian); 1083 1084#if THE_ISA != NULL_ISA 1085 /** Set the value in the data pointer to v as guest endian. */ 1086 template <typename T> |
1087 void set(T v) 1088 M5_DEPRECATED_MSG("The memory system should be ISA independent."); |
1089#endif 1090 |
1091 /** 1092 * Get the data in the packet byte swapped from the specified 1093 * endianness and zero-extended to 64 bits. 1094 */ 1095 uint64_t getUintX(ByteOrder endian) const; 1096 1097 /** 1098 * Set the value in the word w after truncating it to the length --- 176 unchanged lines hidden --- |