aboutsummaryrefslogtreecommitdiffstats
path: root/linux-user/qemu.h
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-07 16:06:13 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-07 16:06:13 +0000
commit3d177870554de21dad2479da786f4f6d7e26d529 (patch)
tree8904dd61fc95d1b68f3aa92bf9c50bde363b75d2 /linux-user/qemu.h
parent863cf0b72cee98e42aa03403c38d5cac7fa535ca (diff)
Fix host and target longs confusions (continued).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3345 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/qemu.h')
-rw-r--r--linux-user/qemu.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index defa6b71e..2c48e9231 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -17,18 +17,18 @@
* task_struct fields in the kernel
*/
struct image_info {
- target_ulong load_addr;
- unsigned long start_code;
- unsigned long end_code;
- unsigned long start_data;
- unsigned long end_data;
- unsigned long start_brk;
- unsigned long brk;
- unsigned long start_mmap;
- unsigned long mmap;
- unsigned long rss;
- unsigned long start_stack;
- unsigned long entry;
+ target_ulong load_addr;
+ target_ulong start_code;
+ target_ulong end_code;
+ target_ulong start_data;
+ target_ulong end_data;
+ target_ulong start_brk;
+ target_ulong brk;
+ target_ulong start_mmap;
+ target_ulong mmap;
+ target_ulong rss;
+ target_ulong start_stack;
+ target_ulong entry;
target_ulong code_offset;
target_ulong data_offset;
char **host_argv;
@@ -105,7 +105,7 @@ extern const char *qemu_uname_release;
struct linux_binprm {
char buf[128];
void *page[MAX_ARG_PAGES];
- unsigned long p;
+ target_ulong p;
int fd;
int e_uid, e_gid;
int argc, envc;