From: Peter Maydell Date: Thu, 12 Apr 2012 11:43:41 +0000 (+0100) Subject: bsd-user: fix compile failure X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~4254^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6ef40bf1881ddc82c8d64e72d412090efe1190e;p=sdk%2Femulator%2Fqemu.git bsd-user: fix compile failure bsd-user doesn't actually support reserving a memory area for the guest address space, but we need to at least define the reserved_va global so that cpu-all.h's RESERVED_VA macro will work correctly. This fixes a compilation error introduced in commit 39879bb which added a use of RESERVED_VA to h2g_valid(). Reported-by: Brad Smith Signed-off-by: Peter Maydell Reviewed-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- diff --git a/bsd-user/main.c b/bsd-user/main.c index 48cb715..0689e38 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -41,6 +41,7 @@ int singlestep; unsigned long mmap_min_addr; unsigned long guest_base; int have_guest_base; +unsigned long reserved_va; #endif static const char *interp_prefix = CONFIG_QEMU_INTERP_PREFIX;