diff options
Diffstat (limited to 'src/arch/riscv/linux/linux.hh')
-rw-r--r-- | src/arch/riscv/linux/linux.hh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/arch/riscv/linux/linux.hh b/src/arch/riscv/linux/linux.hh index 441550a50..c3adaeeef 100644 --- a/src/arch/riscv/linux/linux.hh +++ b/src/arch/riscv/linux/linux.hh @@ -34,7 +34,13 @@ #include "arch/riscv/utility.hh" #include "kern/linux/linux.hh" -class RiscvLinux64 : public Linux +class RiscvLinux : public Linux +{ + public: + static const ByteOrder byteOrder = LittleEndianByteOrder; +}; + +class RiscvLinux64 : public RiscvLinux { public: static const int TGT_SIGHUP = 1; @@ -203,7 +209,7 @@ class RiscvLinux64 : public Linux } }; -class RiscvLinux32 : public Linux +class RiscvLinux32 : public RiscvLinux { public: static const int TGT_SIGHUP = 1; |