arch-arm: Add sendto and recvfrom implementations to the Syscall Table

Change-Id: Id3fd65778ad3b5af8ec54381a0b8824115c309f6
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/51487
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Giacomo Travaglini
2021-10-12 18:08:31 +01:00
parent 058e4699d8
commit 2644cc3cac

View File

@@ -413,9 +413,9 @@ class SyscallTable32 : public SyscallDescTable<EmuLinux::SyscallABI32>
{ base + 287, "getpeername" },
{ base + 288, "socketpair" },
{ base + 289, "send" },
{ base + 290, "sendto" },
{ base + 290, "sendto", sendtoFunc },
{ base + 291, "recv" },
{ base + 292, "recvfrom" },
{ base + 292, "recvfrom", recvfromFunc },
{ base + 293, "shutdown" },
{ base + 294, "setsockopt" },
{ base + 295, "getsockopt" },
@@ -708,8 +708,8 @@ class SyscallTable64 : public SyscallDescTable<EmuLinux::SyscallABI64>
{ base + 203, "connect" },
{ base + 204, "getsockname" },
{ base + 205, "getpeername" },
{ base + 206, "sendto" },
{ base + 207, "recvfrom" },
{ base + 206, "sendto", sendtoFunc },
{ base + 207, "recvfrom", recvfromFunc },
{ base + 208, "setsockopt" },
{ base + 209, "getsockopt" },
{ base + 210, "shutdown" },