From 607df7e656304f0a2a4ca811acd758ee21b9642e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 29 Oct 2019 15:31:04 -0700 Subject: 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 Maintainer: Gabe Black Tested-by: kokoro --- src/arch/mips/linux/linux.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/arch/mips') diff --git a/src/arch/mips/linux/linux.hh b/src/arch/mips/linux/linux.hh index 38e6abcd1..84ab55363 100644 --- a/src/arch/mips/linux/linux.hh +++ b/src/arch/mips/linux/linux.hh @@ -37,6 +37,8 @@ class MipsLinux : public Linux { public: + static const ByteOrder byteOrder = LittleEndianByteOrder; + static const int TGT_SIGHUP = 0x000001; static const int TGT_SIGINT = 0x000002; static const int TGT_SIGQUIT = 0x000003; -- cgit v1.2.3