29 |
|
|
30 |
#define ARM_NR_cacheflush (ARM_SYSCALL_BASE + 0xf0000 + 2) |
#define ARM_NR_cacheflush (ARM_SYSCALL_BASE + 0xf0000 + 2) |
31 |
|
|
32 |
|
#define ARM_NR_semihosting 0x123456 |
33 |
|
#define ARM_NR_thumb_semihosting 0xAB |
34 |
|
|
35 |
#if defined(TARGET_WORDS_BIGENDIAN) |
#if defined(TARGET_WORDS_BIGENDIAN) |
36 |
#define UNAME_MACHINE "armv5teb" |
#define UNAME_MACHINE "armv5teb" |
37 |
#else |
#else |
38 |
#define UNAME_MACHINE "armv5tel" |
#define UNAME_MACHINE "armv5tel" |
39 |
#endif |
#endif |
40 |
|
|
41 |
|
uint32_t do_arm_semihosting(CPUState *); |