aboutsummaryrefslogtreecommitdiff
path: root/linux-user/arm/target_syscall.h
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@st.com>2018-04-16 11:18:25 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-04-30 09:51:31 +0200
commit62aaa5146476911aea1fbe6fbf919d06bba8ab5d (patch)
treec37442b99e1d6a6070675c62e0154f12506f8eb1 /linux-user/arm/target_syscall.h
parentde6e89b81fb41870d977656c2a23226c06b68655 (diff)
linux-user: Add ARM get_tls syscall support
Co-Authored-By: Mickaël Guêné <mickael.guene@st.com> Signed-off-by: Christophe Lyon <christophe.lyon@st.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20180416091845.7315-1-christophe.lyon@st.com> [lv: moved the change to linux-user/arm/cpu_loop.c] Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/arm/target_syscall.h')
-rw-r--r--linux-user/arm/target_syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/arm/target_syscall.h b/linux-user/arm/target_syscall.h
index 94e2a42cb2..afc0772e19 100644
--- a/linux-user/arm/target_syscall.h
+++ b/linux-user/arm/target_syscall.h
@@ -16,6 +16,7 @@ struct target_pt_regs {
#define ARM_NR_breakpoint (ARM_NR_BASE + 1)
#define ARM_NR_cacheflush (ARM_NR_BASE + 2)
#define ARM_NR_set_tls (ARM_NR_BASE + 5)
+#define ARM_NR_get_tls (ARM_NR_BASE + 6)
#define ARM_NR_semihosting 0x123456
#define ARM_NR_thumb_semihosting 0xAB