diff options
author | Haibo Xu <haibo.xu@arm.com> | 2020-02-28 09:14:57 +0000 |
---|---|---|
committer | Haibo Xu <haibo.xu@arm.com> | 2020-04-01 09:50:49 +0800 |
commit | c71e97784cfc57a0664a07cb798aca3d39d6bb11 (patch) | |
tree | 479aaec0091c603acc0aed6e8859217b60371381 /test/syscalls/linux/rseq/syscalls.h | |
parent | 57e67e32b59a30365a79f6dceb3e0cb772407029 (diff) |
Enable rseq syscall test on arm64.
Signed-off-by: Haibo Xu <haibo.xu@arm.com>
Change-Id: If30154a2d73e98f211cfe589853b232019b9e130
Diffstat (limited to 'test/syscalls/linux/rseq/syscalls.h')
-rw-r--r-- | test/syscalls/linux/rseq/syscalls.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/syscalls/linux/rseq/syscalls.h b/test/syscalls/linux/rseq/syscalls.h index e5299c188..c4118e6c5 100644 --- a/test/syscalls/linux/rseq/syscalls.h +++ b/test/syscalls/linux/rseq/syscalls.h @@ -17,10 +17,13 @@ #include "test/syscalls/linux/rseq/types.h" -#ifdef __x86_64__ // Syscall numbers. +#if defined(__x86_64__) constexpr int kGetpid = 39; constexpr int kExitGroup = 231; +#elif defined(__aarch64__) +constexpr int kGetpid = 172; +constexpr int kExitGroup = 94; #else #error "Unknown architecture" #endif |