diff options
author | Tony Gutierrez <anthony.gutierrez@amd.com> | 2016-08-04 12:32:21 -0400 |
---|---|---|
committer | Tony Gutierrez <anthony.gutierrez@amd.com> | 2016-08-04 12:32:21 -0400 |
commit | 0b68475b102a9ecc769d1a3493a34055e08c2e7e (patch) | |
tree | 57f62500e90ec13cb02ae741e008742d97f2bdde /src/arch/x86/linux | |
parent | 8eb9cf8e944dac240c135cd2baff261e90c0c2b9 (diff) | |
download | gem5-0b68475b102a9ecc769d1a3493a34055e08c2e7e.tar.xz |
x86, sim: add some syscalls to X86
this patch adds an implementation for the pwrite64 syscall and
enables it for x86_64, and enables fstatfs for x86_64.
Diffstat (limited to 'src/arch/x86/linux')
-rw-r--r-- | src/arch/x86/linux/process.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/linux/process.cc b/src/arch/x86/linux/process.cc index 665815c30..08137b943 100644 --- a/src/arch/x86/linux/process.cc +++ b/src/arch/x86/linux/process.cc @@ -236,7 +236,7 @@ static SyscallDesc syscallDescs64[] = { /* 15 */ SyscallDesc("rt_sigreturn", unimplementedFunc), /* 16 */ SyscallDesc("ioctl", ioctlFunc<X86Linux64>), /* 17 */ SyscallDesc("pread64", unimplementedFunc), - /* 18 */ SyscallDesc("pwrite64", unimplementedFunc), + /* 18 */ SyscallDesc("pwrite64", pwrite64Func<X86Linux64>), /* 19 */ SyscallDesc("readv", unimplementedFunc), /* 20 */ SyscallDesc("writev", writevFunc<X86Linux64>), /* 21 */ SyscallDesc("access", ignoreFunc), @@ -356,7 +356,7 @@ static SyscallDesc syscallDescs64[] = { /* 135 */ SyscallDesc("personality", unimplementedFunc), /* 136 */ SyscallDesc("ustat", unimplementedFunc), /* 137 */ SyscallDesc("statfs", unimplementedFunc), - /* 138 */ SyscallDesc("fstatfs", unimplementedFunc), + /* 138 */ SyscallDesc("fstatfs", fstatfsFunc<X86Linux64>), /* 139 */ SyscallDesc("sysfs", unimplementedFunc), /* 140 */ SyscallDesc("getpriority", unimplementedFunc), /* 141 */ SyscallDesc("setpriority", unimplementedFunc), |