mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
de6e89b81f
commit
62aaa51464
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue