ARM "Angel" semihosting syscalls (Paul Brook)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1383 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-04-23 18:25:41 +00:00
parent 89344d5ad7
commit a4f81979e8
6 changed files with 213 additions and 2 deletions

View file

@ -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 *);