diff options
author | Gabe Black <gabeblack@google.com> | 2019-10-29 15:50:48 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-10-30 22:29:23 +0000 |
commit | 75d496c6b2c65ada974be3f9445ae7fb94ccef10 (patch) | |
tree | 9346fc434ef681bbeb5ddf1ed84e11c5f4920152 /ext/dramsim2 | |
parent | 607df7e656304f0a2a4ca811acd758ee21b9642e (diff) | |
download | gem5-75d496c6b2c65ada974be3f9445ae7fb94ccef10.tar.xz |
sim: Use the system and OS to get endianness.
This converts the syscall implementations to either use the
OS::byteOrder constant or, if that's not available, the system's
getGuestByteOrder() accessor, to determine the byte order, instead of
relying on TheISA to provide the correct accessor.
Change-Id: Idf7b02ee8d73990224ceac9a5efaec91a5ebf79f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22364
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'ext/dramsim2')
0 files changed, 0 insertions, 0 deletions