diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-04-23 18:25:41 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-04-23 18:25:41 +0000 |
commit | a4f81979e8c82ea8fb9f3c96692b9c58c8e88e5a (patch) | |
tree | d7a0f82647ef2a6ed3c56e29d71722f5ada72022 /linux-user/arm | |
parent | 89344d5ad7751010874300ff2b25953edcd6d3cb (diff) |
ARM "Angel" semihosting syscalls (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1383 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/arm')
-rw-r--r-- | linux-user/arm/syscall.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/arm/syscall.h b/linux-user/arm/syscall.h index f74d765289..daf4b34af8 100644 --- a/linux-user/arm/syscall.h +++ b/linux-user/arm/syscall.h @@ -29,8 +29,13 @@ struct target_pt_regs { #define ARM_NR_cacheflush (ARM_SYSCALL_BASE + 0xf0000 + 2) +#define ARM_NR_semihosting 0x123456 +#define ARM_NR_thumb_semihosting 0xAB + #if defined(TARGET_WORDS_BIGENDIAN) #define UNAME_MACHINE "armv5teb" #else #define UNAME_MACHINE "armv5tel" #endif + +uint32_t do_arm_semihosting(CPUState *); |