From 4a752b1655c531a2fd7d98dbe24239fed5261291 Mon Sep 17 00:00:00 2001 From: Mitch Hayenga Date: Tue, 8 Jan 2013 08:54:07 -0500 Subject: arm: add access syscall for ARM SE mode This patch adds the "access" syscall for ARM SE as required by some spec2006 benchmarks. --- src/sim/syscall_emul.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sim/syscall_emul.hh') diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh index e98e771d5..364b66c0a 100644 --- a/src/sim/syscall_emul.hh +++ b/src/sim/syscall_emul.hh @@ -335,6 +335,10 @@ SyscallReturn getegidFunc(SyscallDesc *desc, int num, SyscallReturn cloneFunc(SyscallDesc *desc, int num, LiveProcess *p, ThreadContext *tc); +/// Target access() handler +SyscallReturn accessFunc(SyscallDesc *desc, int num, + LiveProcess *p, ThreadContext *tc); + /// Futex system call /// Implemented by Daniel Sanchez /// Used by printf's in multi-threaded apps -- cgit v1.2.3