diff options
author | Javier Setoain <javier.setoain@arm.com> | 2019-01-09 14:24:31 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2019-01-10 17:56:24 +0000 |
commit | f3a438e58d836ec283af6eef8bb34b57958303d6 (patch) | |
tree | 77518cc8c11deeed861448a8785f3f25d0796157 /src/sim/syscall_emul.hh | |
parent | b25900fd3ce31e95187d3a9520939a2faa1bb5c7 (diff) | |
download | gem5-f3a438e58d836ec283af6eef8bb34b57958303d6.tar.xz |
sim-se, arch-arm: Add support for getdents64
Change-Id: Ib27950144d4c9802ffb842db98aec9e433ccbfc5
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Cc: Giacomo Travaglini <giacomo.travaglini@arm.com>
Cc: Javier Setoain <javier.setoain@arm.com>
Cc: Brandon Potter <Brandon.Potter@amd.com>
Reviewed-on: https://gem5-review.googlesource.com/c/15438
Maintainer: Brandon Potter <Brandon.Potter@amd.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/sim/syscall_emul.hh')
-rw-r--r-- | src/sim/syscall_emul.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh index 343fb2731..91e115de0 100644 --- a/src/sim/syscall_emul.hh +++ b/src/sim/syscall_emul.hh @@ -309,6 +309,12 @@ SyscallReturn getdentsFunc(SyscallDesc *desc, int num, Process *p, ThreadContext *tc); #endif +#if defined(SYS_getdents64) +// Target getdents() handler. +SyscallReturn getdents64Func(SyscallDesc *desc, int num, + Process *p, ThreadContext *tc); +#endif + // Target getuid() handler. SyscallReturn getuidFunc(SyscallDesc *desc, int num, Process *p, ThreadContext *tc); |