Searched hist:12412 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/arch/riscv/ | ||
H A D | process.cc | 12412:cc28ea62727b Thu Jan 04 14:17:00 EST 2018 Alec Roelke <ar4jc@virginia.edu> arch-riscv: Remove "magic" syscall number constant getSyscallArg() in RISC-V has an explicit check to make sure that the register index is within the bounds of the system call register indices vector. This patch fixes it so that it uses SyscallArgumentRegs.size() rather than a "magic" constant that has to be updated every time SyscallArgumentRegs is changed. Change-Id: I2935d811177dc8028cb3df64b250ba997bc970d8 Reviewed-on: https://gem5-review.googlesource.com/7061 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Alec Roelke <ar4jc@virginia.edu> |
Completed in 10 milliseconds