arch,sim: Use VPtr<> instead of Addr in system call signatures.
authorGabe Black <gabe.black@gmail.com>
Wed, 3 Feb 2021 08:25:48 +0000 (00:25 -0800)
committerGabe Black <gabe.black@gmail.com>
Tue, 9 Feb 2021 00:35:39 +0000 (00:35 +0000)
commit0e0183f1d9158236aea4434ecb3a96d8c946e74d
tree90e6ebae4522bbf3106241badf1d3b3c5b154152
parent1ea62dcf80ca4c8e26ab817dbce0fd28c0bf8f20
arch,sim: Use VPtr<> instead of Addr in system call signatures.

This tells the GuestABI mechanism that these are guest pointers and not
uint64_ts, and that they should be treated as 32 bit or 64 bit values
depending on the size of pointers in the target ABI.

Change-Id: Ia9b5447848c52668a975d8b07b11ad457e756b13
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40498
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
src/arch/arm/freebsd/se_workload.cc
src/arch/mips/linux/se_workload.cc
src/arch/sparc/linux/syscalls.cc
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh