Commit 440c7e85cc28ac7fb092ee84504b4f25af639f47

Authored by blueswir1
1 parent 9f106a75

Export x86_stack_size in qemu.h

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5427 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user/elfload.c
... ... @@ -545,8 +545,6 @@ static inline void memcpy_fromfs(void * to, const void * from, unsigned long n)
545 545 memcpy(to, from, n);
546 546 }
547 547  
548   -extern unsigned long x86_stack_size;
549   -
550 548 static int load_aout_interp(void * exptr, int interp_fd);
551 549  
552 550 #ifdef BSWAP_NEEDED
... ...
linux-user/qemu.h
... ... @@ -247,6 +247,9 @@ void mmap_fork_start(void);
247 247 void mmap_fork_end(int child);
248 248 #endif
249 249  
  250 +/* main.c */
  251 +extern unsigned long x86_stack_size;
  252 +
250 253 /* user access */
251 254  
252 255 #define VERIFY_READ 0
... ...