Gabe Black has submitted this change. (
https://gem5-review.googlesource.com/c/public/gem5/+/53203 )
Change subject: arch-x86: Hook up system calls for 64 bit processes.
......................................................................
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+kok...@google.com>
Reviewed-by: Bobby Bruce <bbr...@ucdavis.edu>
Maintainer: Bobby Bruce <bbr...@ucdavis.edu>
---
M src/arch/x86/linux/syscall_tbl64.cc
1 file changed, 29 insertions(+), 14 deletions(-)
Approvals:
Bobby Bruce: Looks good to me, approved; Looks good to me, approved
kokoro: Regressions pass
diff --git a/src/arch/x86/linux/syscall_tbl64.cc
b/src/arch/x86/linux/syscall_tbl64.cc
index f22ff20..aef7c2f 100644
--- a/src/arch/x86/linux/syscall_tbl64.cc
+++ b/src/arch/x86/linux/syscall_tbl64.cc
@@ -60,7 +60,7 @@
{ 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 @@
{ 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 @@
{ 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 @@
{ 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" },
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/53203
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I5c2c66d34d0286aafe686e6511948ed4a6719672
Gerrit-Change-Number: 53203
Gerrit-PatchSet: 3
Gerrit-Owner: Gabe Black <gabe.bl...@gmail.com>
Gerrit-Reviewer: Bobby Bruce <bbr...@ucdavis.edu>
Gerrit-Reviewer: Gabe Black <gabe.bl...@gmail.com>
Gerrit-Reviewer: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-Reviewer: Matt Sinclair <mattdsincl...@gmail.com>
Gerrit-Reviewer: kokoro <noreply+kok...@google.com>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s