arch-x86: Hook up system calls for 64 bit processes.

These system calls already exist, they just weren't hooked up yet.

Change-Id: I5c2c66d34d0286aafe686e6511948ed4a6719672
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/53203
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
This commit is contained in:
Gabe Black
2021-11-23 23:59:18 -08:00
parent 8ea2101b0e
commit a8e9258f99

View File

@@ -60,7 +60,7 @@ SyscallDescTable<EmuLinux::SyscallABI64> EmuLinux::syscallDescs64 = {
{ 18, "pwrite64", pwrite64Func<X86Linux64> },
{ 19, "readv", readvFunc<X86Linux64> },
{ 20, "writev", writevFunc<X86Linux64> },
{ 21, "access", ignoreFunc },
{ 21, "access", accessFunc },
{ 22, "pipe", pipeFunc },
{ 23, "select", selectFunc<X86Linux64> },
{ 24, "sched_yield", ignoreWarnOnceFunc },
@@ -133,10 +133,10 @@ SyscallDescTable<EmuLinux::SyscallABI64> EmuLinux::syscallDescs64 = {
{ 87, "unlink", unlinkFunc },
{ 88, "symlink", symlinkFunc },
{ 89, "readlink", readlinkFunc<X86Linux64> },
{ 90, "chmod", ignoreFunc },
{ 91, "fchmod" },
{ 92, "chown" },
{ 93, "fchown" },
{ 90, "chmod", chmodFunc<X86Linux64> },
{ 91, "fchmod", fchmodFunc<X86Linux64> },
{ 92, "chown", chownFunc },
{ 93, "fchown", fchownFunc },
{ 94, "lchown" },
{ 95, "umask", umaskFunc },
{ 96, "gettimeofday", gettimeofdayFunc<X86Linux64> },
@@ -282,7 +282,7 @@ SyscallDescTable<EmuLinux::SyscallABI64> EmuLinux::syscallDescs64 = {
{ 232, "epoll_wait" },
{ 233, "epoll_ctl" },
{ 234, "tgkill", tgkillFunc<X86Linux64> },
{ 235, "utimes" },
{ 235, "utimes", utimesFunc<X86Linux64> },
{ 236, "vserver" },
{ 237, "mbind", ignoreFunc },
{ 238, "set_mempolicy" },
@@ -305,18 +305,18 @@ SyscallDescTable<EmuLinux::SyscallABI64> EmuLinux::syscallDescs64 = {
{ 255, "inotify_rm_watch" },
{ 256, "migrate_pages" },
{ 257, "openat", openatFunc<X86Linux64> },
{ 258, "mkdirat" },
{ 259, "mknodat" },
{ 260, "fchownat" },
{ 261, "futimesat" },
{ 258, "mkdirat", mkdiratFunc<X86Linux64> },
{ 259, "mknodat", mknodatFunc<X86Linux64> },
{ 260, "fchownat", fchownatFunc<X86Linux64> },
{ 261, "futimesat", futimesatFunc<X86Linux64> },
{ 262, "newfstatat" },
{ 263, "unlinkat" },
{ 264, "renameat" },
{ 263, "unlinkat", unlinkatFunc<X86Linux64> },
{ 264, "renameat", renameatFunc<X86Linux64> },
{ 265, "linkat" },
{ 266, "symlinkat" },
{ 267, "readlinkat", readlinkFunc<X86Linux64> },
{ 268, "fchmodat" },
{ 269, "faccessat" },
{ 268, "fchmodat", fchmodatFunc<X86Linux64> },
{ 269, "faccessat", faccessatFunc<X86Linux64> },
{ 270, "pselect6" },
{ 271, "ppoll" },
{ 272, "unshare" },