diff options
Diffstat (limited to 'src/arch/riscv')
-rw-r--r-- | src/arch/riscv/registers.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/riscv/registers.hh b/src/arch/riscv/registers.hh index 01e385957..a61554c13 100644 --- a/src/arch/riscv/registers.hh +++ b/src/arch/riscv/registers.hh @@ -97,6 +97,10 @@ const std::vector<int> ReturnValueRegs = {10, 11}; const std::vector<int> ArgumentRegs = {10, 11, 12, 13, 14, 15, 16, 17}; const int AMOTempReg = 32; +const int SyscallPseudoReturnReg = 10; +const std::vector<int> SyscallArgumentRegs = {10, 11, 12, 13, 14, 15, 16}; +const int SyscallNumReg = 17; + const std::vector<std::string> IntRegNames = { "zero", "ra", "sp", "gp", "tp", "t0", "t1", "t2", @@ -118,10 +122,6 @@ const std::vector<std::string> FloatRegNames = { "ft8", "ft9", "ft10", "ft11" }; -const int SyscallNumReg = 17; -const std::vector<int> SyscallArgumentRegs = {10, 11, 12, 13}; -const int SyscallPseudoReturnReg = 10; - enum MiscRegIndex { MISCREG_USTATUS = 0x000, MISCREG_UIE = 0x004, |