mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
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:
parent
89344d5ad7
commit
a4f81979e8
6 changed files with 213 additions and 2 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue