diff options
author | Michael Adler <Michael.Adler@intel.com> | 2014-10-20 16:44:53 -0500 |
---|---|---|
committer | Michael Adler <Michael.Adler@intel.com> | 2014-10-20 16:44:53 -0500 |
commit | a3fe4c06620439aa317f257d3bcdde34508d3d43 (patch) | |
tree | e6bd4f80dddbe7404fcf87f82a2deeb803f93ab2 /src/arch/alpha | |
parent | e72736aaf0508dd545ae9949c31ed91ba41d761b (diff) | |
download | gem5-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/alpha')
-rw-r--r-- | src/arch/alpha/linux/process.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/alpha/linux/process.cc b/src/arch/alpha/linux/process.cc index ebe06510d..fab758f47 100644 --- a/src/arch/alpha/linux/process.cc +++ b/src/arch/alpha/linux/process.cc @@ -431,7 +431,7 @@ SyscallDesc AlphaLinuxProcess::syscallDescs[] = { /* 302 */ SyscallDesc("mount", unimplementedFunc), /* 303 */ SyscallDesc("old_adjtimex", unimplementedFunc), /* 304 */ SyscallDesc("swapoff", unimplementedFunc), - /* 305 */ SyscallDesc("getdents", unimplementedFunc), + /* 305 */ SyscallDesc("getdents", getdentsFunc), /* 306 */ SyscallDesc("create_module", unimplementedFunc), /* 307 */ SyscallDesc("init_module", unimplementedFunc), /* 308 */ SyscallDesc("delete_module", unimplementedFunc), @@ -503,7 +503,7 @@ SyscallDesc AlphaLinuxProcess::syscallDescs[] = { /* 374 */ SyscallDesc("pivot_root", unimplementedFunc), /* 375 */ SyscallDesc("mincore", unimplementedFunc), /* 376 */ SyscallDesc("pciconfig_iobase", unimplementedFunc), - /* 377 */ SyscallDesc("getdents64", unimplementedFunc), + /* 377 */ SyscallDesc("getdents64", getdents64Func), /* 378 */ SyscallDesc("gettid", unimplementedFunc), /* 379 */ SyscallDesc("readahead", unimplementedFunc), /* 380 */ SyscallDesc("security", unimplementedFunc), |