diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-05 11:05:14 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-05 11:05:14 +0000 |
commit | 440c7e85cc28ac7fb092ee84504b4f25af639f47 (patch) | |
tree | 0e29bb9d27d3212674ce629ad7934094f0bc27ff /linux-user | |
parent | 9f106a75dec42e9e619635a729d4a3c5d8c73e11 (diff) |
Export x86_stack_size in qemu.h
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5427 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/elfload.c | 2 | ||||
-rw-r--r-- | linux-user/qemu.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 1fdd184f78..becf51593e 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -545,8 +545,6 @@ static inline void memcpy_fromfs(void * to, const void * from, unsigned long n) memcpy(to, from, n); } -extern unsigned long x86_stack_size; - static int load_aout_interp(void * exptr, int interp_fd); #ifdef BSWAP_NEEDED diff --git a/linux-user/qemu.h b/linux-user/qemu.h index a12cc9b693..a2abe51781 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -247,6 +247,9 @@ void mmap_fork_start(void); void mmap_fork_end(int child); #endif +/* main.c */ +extern unsigned long x86_stack_size; + /* user access */ #define VERIFY_READ 0 |