riscv: Export the system call ABI for use in gem5 ops.
authorGabe Black <gabe.black@gmail.com>
Mon, 18 Jan 2021 05:05:11 +0000 (21:05 -0800)
committerGabe Black <gabe.black@gmail.com>
Tue, 26 Jan 2021 12:12:23 +0000 (12:12 +0000)
commit642671b29daac5b510d9dba549c197aae80b80d9
treeed896c4b62807550447e00938415fe5e2fcffaf9
parent9e93ce565d6e15e028c397643413892c390ee442
riscv: Export the system call ABI for use in gem5 ops.

This ABI is effectively used by both the gem5 ops and system calls, in
system calls because it only relies on registers, and in gem5 ops by
inheritance.

Even though these ABIs happen to be the same and were initially defined
to be the same, this change creates a root "reg" ABI which will act as a
root for both so that there isn't an implication that changes to one
should be changes to both.

Change-Id: I8726d8628503be2ad7616a71cc48b66f13e7d955
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39318
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Ayaz Akram <yazakram@ucdavis.edu>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/riscv/SConscript
src/arch/riscv/isa/formats/m5ops.isa
src/arch/riscv/isa/includes.isa
src/arch/riscv/reg_abi.cc [new file with mode: 0644]
src/arch/riscv/reg_abi.hh [new file with mode: 0644]
src/arch/riscv/registers.hh
src/arch/riscv/se_workload.cc [deleted file]
src/arch/riscv/se_workload.hh