diff options
author | Brandon Potter <brandon.potter@amd.com> | 2018-04-18 14:55:30 -0400 |
---|---|---|
committer | Anthony Gutierrez <anthony.gutierrez@amd.com> | 2019-01-22 02:01:14 +0000 |
commit | c4e67f68377d9b3e909c76412b6ed2fde6a50e01 (patch) | |
tree | 78499859dc945c9d14c2df80ed56620ffa2e129d /src/arch/x86/linux | |
parent | a2ed7d5575fb7e847314bb87b92c73459149f2d0 (diff) | |
download | gem5-c4e67f68377d9b3e909c76412b6ed2fde6a50e01.tar.xz |
sim-se: add calls for network transmissions
Add recvfrom, sendto, recvmsg, and sendmsg system calls.
Change-Id: I2eb50ea7823c8af57d99b3b8d443d2099418c06c
Reviewed-on: https://gem5-review.googlesource.com/c/12114
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Diffstat (limited to 'src/arch/x86/linux')
-rw-r--r-- | src/arch/x86/linux/process.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86/linux/process.cc b/src/arch/x86/linux/process.cc index 36845971c..65d0238f4 100644 --- a/src/arch/x86/linux/process.cc +++ b/src/arch/x86/linux/process.cc @@ -266,10 +266,10 @@ static SyscallDesc syscallDescs64[] = { /* 41 */ SyscallDesc("socket", socketFunc<X86Linux64>), /* 42 */ SyscallDesc("connect", connectFunc), /* 43 */ SyscallDesc("accept", unimplementedFunc), - /* 44 */ SyscallDesc("sendto", unimplementedFunc), - /* 45 */ SyscallDesc("recvfrom", unimplementedFunc), - /* 46 */ SyscallDesc("sendmsg", unimplementedFunc), - /* 47 */ SyscallDesc("recvmsg", unimplementedFunc), + /* 44 */ SyscallDesc("sendto", sendtoFunc), + /* 45 */ SyscallDesc("recvfrom", recvfromFunc), + /* 46 */ SyscallDesc("sendmsg", sendmsgFunc), + /* 47 */ SyscallDesc("recvmsg", recvmsgFunc), /* 48 */ SyscallDesc("shutdown", shutdownFunc), /* 49 */ SyscallDesc("bind", bindFunc), /* 50 */ SyscallDesc("listen", listenFunc), |