arch: Make endianness a property of the OS class syscalls can consume.
authorGabe Black <gabeblack@google.com>
Tue, 29 Oct 2019 22:31:04 +0000 (15:31 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 30 Oct 2019 22:29:23 +0000 (22:29 +0000)
commit607df7e656304f0a2a4ca811acd758ee21b9642e
tree915761c56cb7d6888e05157a94bd627365483c4f
parent7adc90a2970dfdc54560305ddca46c90ce519016
arch: Make endianness a property of the OS class syscalls can consume.

That way the syscall implementations won't have to find the right
endianness to use on their own, typically by referring to TheISA.

Change-Id: I186b2f419d5dbee72cc9b5abce7356f3143f0c83
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22363
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/alpha/linux/linux.hh
src/arch/arm/freebsd/freebsd.hh
src/arch/arm/linux/linux.hh
src/arch/mips/linux/linux.hh
src/arch/power/linux/linux.hh
src/arch/riscv/linux/linux.hh
src/arch/sparc/linux/linux.hh
src/arch/sparc/solaris/solaris.hh
src/arch/x86/linux/linux.hh