diff options
Diffstat (limited to 'linux-user/qemu.h')
-rw-r--r-- | linux-user/qemu.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 31e29da7dc..076145e1af 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -62,10 +62,6 @@ typedef struct TaskState { #ifdef TARGET_ARM /* FPA state */ FPA11 fpa; - /* Extra fields for semihosted binaries. */ - uint32_t stack_base; - uint32_t heap_base; - uint32_t heap_limit; int swi_errno; #endif #if defined(TARGET_I386) && !defined(TARGET_X86_64) @@ -78,6 +74,12 @@ typedef struct TaskState { #ifdef TARGET_M68K int sim_syscalls; #endif +#if defined(TARGET_ARM) || defined(TARGET_M68K) + /* Extra fields for semihosted binaries. */ + uint32_t stack_base; + uint32_t heap_base; + uint32_t heap_limit; +#endif int used; /* non zero if used */ struct image_info *info; uint8_t stack[0]; |