x86: In X86 linux, system calls simply return their result in a register.
authorGabe Black <gabeblack@google.com>
Sat, 7 Dec 2019 01:41:13 +0000 (17:41 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 12 Mar 2020 01:35:34 +0000 (01:35 +0000)
commit8c594cfbdb872342648530e3731b9eee2858565c
treef7869982047f5bdeadf56f34fc4d30e2f340a76b
parentbe0d961bbf8fb722f3f32a2fa484f187e2b04d16
x86: In X86 linux, system calls simply return their result in a register.

We can partially define an x86 linux system call ABI which handles the
return value. Argument gathering would be handled elsewhere.

Change-Id: Id2841dea39aa2ea3fc42e1a0fb70ff4e477b3671
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23442
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