aboutsummaryrefslogtreecommitdiff
path: root/linux-user/qemu.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-04-23 18:25:41 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-04-23 18:25:41 +0000
commita4f81979e8c82ea8fb9f3c96692b9c58c8e88e5a (patch)
treed7a0f82647ef2a6ed3c56e29d71722f5ada72022 /linux-user/qemu.h
parent89344d5ad7751010874300ff2b25953edcd6d3cb (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/qemu.h')
-rw-r--r--linux-user/qemu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 2a815eb81f..f385a1c92b 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -62,6 +62,11 @@ 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
#ifdef TARGET_I386
struct target_vm86plus_struct *target_v86;
@@ -80,6 +85,7 @@ int elf_exec(const char * filename, char ** argv, char ** envp,
struct target_pt_regs * regs, struct image_info *infop);
void target_set_brk(char *new_brk);
+long do_brk(char *new_brk);
void syscall_init(void);
long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
long arg4, long arg5, long arg6);