diff options
author | pbrook | 2008-05-29 02:20:44 +0200 |
---|---|---|
committer | pbrook | 2008-05-29 02:20:44 +0200 |
commit | fbb4a2e371f2fa7d3bbe479795d8c79a795f7cd3 (patch) | |
tree | 7ac6203fe8fd1adb8b844da4073ae7919bfe83a2 /linux-user/arm | |
parent | moved halted field to CPU_COMMON (diff) | |
download | qemu-fbb4a2e371f2fa7d3bbe479795d8c79a795f7cd3.tar.gz qemu-fbb4a2e371f2fa7d3bbe479795d8c79a795f7cd3.tar.xz qemu-fbb4a2e371f2fa7d3bbe479795d8c79a795f7cd3.zip |
Implement ARM magic kernel page and TLS register.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4610 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/arm')
-rw-r--r-- | linux-user/arm/syscall.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-user/arm/syscall.h b/linux-user/arm/syscall.h index e7f2e8deb4..f06da76dde 100644 --- a/linux-user/arm/syscall.h +++ b/linux-user/arm/syscall.h @@ -28,7 +28,9 @@ struct target_pt_regs { #define ARM_SYSCALL_BASE 0x900000 #define ARM_THUMB_SYSCALL 0 -#define ARM_NR_cacheflush (ARM_SYSCALL_BASE + 0xf0000 + 2) +#define ARM_NR_BASE 0xf0000 +#define ARM_NR_cacheflush (ARM_NR_BASE + 2) +#define ARM_NR_set_tls (ARM_NR_BASE + 5) #define ARM_NR_semihosting 0x123456 #define ARM_NR_thumb_semihosting 0xAB |