From 440c7e85cc28ac7fb092ee84504b4f25af639f47 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 5 Oct 2008 11:05:14 +0000 Subject: [PATCH] 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 | 2 -- 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 -- 2.34.1