summaryrefslogtreecommitdiff
path: root/src/arch/riscv/linux/process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/linux/process.cc')
-rw-r--r--src/arch/riscv/linux/process.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/arch/riscv/linux/process.cc b/src/arch/riscv/linux/process.cc
index e1c9ea2a2..7884b83b2 100644
--- a/src/arch/riscv/linux/process.cc
+++ b/src/arch/riscv/linux/process.cc
@@ -71,13 +71,13 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
std::map<int, SyscallDesc> RiscvLinuxProcess::syscallDescs = {
{17, SyscallDesc("getcwd", getcwdFunc)},
{23, SyscallDesc("dup", dupFunc)},
- {25, SyscallDesc("fcntl", fcntlFunc)},
+ {25, SyscallDesc("fcntl", fcntl64Func)},
{29, SyscallDesc("ioctl", ioctlFunc<RiscvLinux>)},
{34, SyscallDesc("mkdirat", unimplementedFunc)},
{35, SyscallDesc("unlinkat", unlinkatFunc<RiscvLinux>)},
{37, SyscallDesc("linkat", unimplementedFunc)},
{38, SyscallDesc("renameat", renameatFunc<RiscvLinux>)},
- {46, SyscallDesc("ftruncate", ftruncateFunc)},
+ {46, SyscallDesc("ftruncate", ftruncate64Func)},
{48, SyscallDesc("faccessat", faccessatFunc<RiscvLinux>)},
{49, SyscallDesc("chdir", unimplementedFunc)},
{56, SyscallDesc("openat", openatFunc<RiscvLinux>)},
@@ -88,10 +88,10 @@ std::map<int, SyscallDesc> RiscvLinuxProcess::syscallDescs = {
{64, SyscallDesc("write", writeFunc)},
{66, SyscallDesc("writev", writevFunc<RiscvLinux>)},
{67, SyscallDesc("pread", unimplementedFunc)},
- {68, SyscallDesc("pwrite", unimplementedFunc)},
+ {68, SyscallDesc("pwrite", pwrite64Func<RiscvLinux>)},
{78, SyscallDesc("readlinkat", readlinkatFunc<RiscvLinux>)},
- {79, SyscallDesc("fstatat", unimplementedFunc)},
- {80, SyscallDesc("fstat", fstatFunc<RiscvLinux>)},
+ {79, SyscallDesc("fstatat", fstatat64Func<RiscvLinux>)},
+ {80, SyscallDesc("fstat", fstat64Func<RiscvLinux>)},
{93, SyscallDesc("exit", exitFunc)},
{94, SyscallDesc("exit_group", exitGroupFunc)},
{113, SyscallDesc("clock_gettime", clock_gettimeFunc<RiscvLinux>)},
@@ -119,8 +119,8 @@ std::map<int, SyscallDesc> RiscvLinuxProcess::syscallDescs = {
{1026, SyscallDesc("unlink", unlinkFunc)},
{1030, SyscallDesc("mkdir", mkdirFunc)},
{1033, SyscallDesc("access", accessFunc)},
- {1038, SyscallDesc("stat", statFunc<RiscvLinux>)},
- {1039, SyscallDesc("lstat", lstatFunc<RiscvLinux>)},
+ {1038, SyscallDesc("stat", stat64Func<RiscvLinux>)},
+ {1039, SyscallDesc("lstat", lstat64Func<RiscvLinux>)},
{1062, SyscallDesc("time", timeFunc<RiscvLinux>)},
{2011, SyscallDesc("getmainvars", unimplementedFunc)},
};