x86: Define a local ABI for system calls.
authorGabe Black <gabeblack@google.com>
Sat, 7 Dec 2019 01:46:38 +0000 (17:46 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 12 Mar 2020 01:35:34 +0000 (01:35 +0000)
commit112e1cdfca116a56e852515e7da374ddb5d53c8b
tree60206f847ad505fb703e3bf27ff416559c09b01e
parent8c594cfbdb872342648530e3731b9eee2858565c
x86: Define a local ABI for system calls.

These ABIs (one 32 bit and one 64 bit) take advantage of the
GenericSyscallABI and X86Linux::SyscallABI partial ABIs set up earlier.

This removes x86's dependence on the getSyscallArg and setSyscallReturn
Process methods.

Change-Id: Ia07834cea1afa827d77e590af5397e2a1e0e2099
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23443
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/x86/linux/linux.hh
src/arch/x86/linux/process.cc
src/arch/x86/linux/process.hh