arch-riscv: Correct syscall argument reg count
authorAlec Roelke <ar4jc@virginia.edu>
Fri, 5 Jan 2018 00:04:43 +0000 (19:04 -0500)
committerAlec Roelke <ar4jc@virginia.edu>
Fri, 5 Jan 2018 04:46:25 +0000 (04:46 +0000)
commitb001475a1ff5d4693f4d8b9063b3d602f7dd8043
treeeeff8fd6b1b44bae8826b3ceabac1ba1961efe17
parent0d9f83789bada086ef0901ac30ec31954e905ede
arch-riscv: Correct syscall argument reg count

As per the discussion in patch #6904 and the Linux 4.15 kernel code for
RISC-V, RISC-V has 7 system call argument registers, x10 through x16 (a0
through a6), with x17 (a7) being used for the system call number.

Change-Id: I0080eca78ffa844b322bb2cff2a51ab2815f3809
Reviewed-on: https://gem5-review.googlesource.com/7081
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Tuan Ta <qtt2@cornell.edu>
Maintainer: Alec Roelke <ar4jc@virginia.edu>
src/arch/riscv/registers.hh