summaryrefslogtreecommitdiff
path: root/src/arch/power/linux
diff options
context:
space:
mode:
authorMichael Adler <Michael.Adler@intel.com>2014-10-20 16:44:53 -0500
committerMichael Adler <Michael.Adler@intel.com>2014-10-20 16:44:53 -0500
commita3fe4c06620439aa317f257d3bcdde34508d3d43 (patch)
treee6bd4f80dddbe7404fcf87f82a2deeb803f93ab2 /src/arch/power/linux
parente72736aaf0508dd545ae9949c31ed91ba41d761b (diff)
downloadgem5-a3fe4c06620439aa317f257d3bcdde34508d3d43.tar.xz
sim: implement getdents/getdents64 in user mode
Has been tested only for alpha. Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/arch/power/linux')
-rw-r--r--src/arch/power/linux/process.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/power/linux/process.cc b/src/arch/power/linux/process.cc
index b00e02a87..eef334d01 100644
--- a/src/arch/power/linux/process.cc
+++ b/src/arch/power/linux/process.cc
@@ -205,7 +205,7 @@ SyscallDesc PowerLinuxProcess::syscallDescs[] = {
/* 138 */ SyscallDesc("setfsuid", unimplementedFunc),
/* 139 */ SyscallDesc("setfsgid", unimplementedFunc),
/* 140 */ SyscallDesc("llseek", _llseekFunc),
- /* 141 */ SyscallDesc("getdents", unimplementedFunc),
+ /* 141 */ SyscallDesc("getdents", getdentsFunc),
/* 142 */ SyscallDesc("newselect", unimplementedFunc),
/* 143 */ SyscallDesc("flock", unimplementedFunc),
/* 144 */ SyscallDesc("msync", unimplementedFunc),
@@ -281,7 +281,7 @@ SyscallDesc PowerLinuxProcess::syscallDescs[] = {
/* 214 */ SyscallDesc("setgid", unimplementedFunc),
/* 215 */ SyscallDesc("setfsuid", unimplementedFunc),
/* 216 */ SyscallDesc("setfsgid", unimplementedFunc),
- /* 217 */ SyscallDesc("getdents64", unimplementedFunc),
+ /* 217 */ SyscallDesc("getdents64", getdents64Func),
/* 218 */ SyscallDesc("pivot_root", unimplementedFunc),
/* 219 */ SyscallDesc("mincore", unimplementedFunc),
/* 220 */ SyscallDesc("madvise", unimplementedFunc),