summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-bsd-user-qemu.h
blob: 6ea43c7ca49ba49dc3ef412f18a408a9d179c6f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- a/bsd-user/qemu.h
+++ b/bsd-user/qemu.h
@@ -50,6 +50,10 @@ struct image_info {
     abi_ulong entry;
     abi_ulong code_offset;
     abi_ulong data_offset;
+#if 1
+    abi_ulong arg_start;
+    abi_ulong arg_end;
+#endif
     int       personality;
 };
 
@@ -72,6 +76,17 @@ struct emulated_sigtable {
 typedef struct TaskState {
     struct TaskState *next;
     int used; /* non zero if used */
+#if 1
+#ifdef TARGET_ARM
+    int swi_errno;
+#endif
+#if defined(TARGET_ARM) || defined(TARGET_M68K) || defined(TARGET_UNICORE32)
+    /* Extra fields for semihosted binaries.  */
+    uint32_t heap_base;
+    uint32_t heap_limit;
+#endif
+    uint32_t stack_base;
+#endif
     struct image_info *info;
 
     struct emulated_sigtable sigtab[TARGET_NSIG];