qemu-e2k/linux-user
Meador Inge 806d102141 linux-user: Use init_guest_space when -R and -B are specified
Roll the code used to initialize the guest memory space when -R
or -B is used into 'init_guest_space' and then call 'init_guest_space'
from the driver.  This way the reserved guest memory space can
be probed for.  Calling 'mmap' just once as is currently done is not
guaranteed to succeed since the host address space validation might fail.

Signed-off-by: Meador Inge <meadori@codesourcery.com>
[PMM: Fixed minor whitespace errors.]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2012-08-14 20:26:55 +01:00
..
alpha alpha-linux-user: Properly handle the non-rt sigprocmask syscall. 2012-08-04 09:37:49 -07:00
arm build: move *-user/ objects to nested Makefile.objs 2012-06-07 07:17:33 +02:00
cris
i386
m68k linux-user: Don't overuse CPUState 2012-03-14 22:20:24 +01:00
microblaze
mips
mips64 linux-user: Define TARGET_QEMU_ESIGRETURN for mips64 2012-02-02 17:51:21 +02:00
mipsn32 linux-user: Define TARGET_QEMU_ESIGRETURN for mipsn32 2012-02-02 17:51:20 +02:00
openrisc target-or32: Add linux syscall, signal and termbits 2012-07-27 21:13:05 +00:00
ppc
s390x
sh4
sparc sparc-linux-user: Add some missing syscall numbers 2011-10-27 14:43:10 +03:00
sparc64
unicore32
x86_64 Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
cpu-uname.c target-arm: Remove ARM_CPUID_* macros 2012-06-20 12:13:28 +00:00
cpu-uname.h
elfload.c linux-user: Use init_guest_space when -R and -B are specified 2012-08-14 20:26:55 +01:00
errno_defs.h
flat.h
flatload.c flatload: fix bss clearing 2012-08-14 20:26:55 +01:00
ioctls.h linux-user: Fix SNDCTL_DSP_MAP{IN, OUT}BUF ioctl definitions 2012-08-13 12:45:46 +01:00
linux_loop.h
linuxload.c linux-user/elfload.c: Don't memset(NULL..) if malloc() failed 2011-11-11 12:49:53 -06:00
m68k-sim.c
main.c linux-user: Use init_guest_space when -R and -B are specified 2012-08-14 20:26:55 +01:00
Makefile.objs build: move *-user/ objects to nested Makefile.objs 2012-06-07 07:17:33 +02:00
mmap.c linux-user: Allocate the right amount of space for non-fixed file maps 2012-08-04 09:37:49 -07:00
qemu-types.h linux-user: fix abi_(u)long, target_ulong mismatch 2011-10-27 14:42:16 +03:00
qemu.h linux-user: Use init_guest_space when -R and -B are specified 2012-08-14 20:26:55 +01:00
signal.c sparc: fix expression with uninitialized initial value 2012-08-09 18:34:57 +00:00
socket.h
strace.c linux-user: Handle O_SYNC, O_NOATIME, O_CLOEXEC, O_PATH 2012-08-04 09:37:49 -07:00
strace.list linux-user: Translate pipe2 flags; add to strace 2012-08-04 09:37:49 -07:00
syscall_defs.h linux-user: Fix SNDCTL_DSP_MAP{IN, OUT}BUF ioctl definitions 2012-08-13 12:45:46 +01:00
syscall_types.h linux-user: Fix SNDCTL_DSP_MAP{IN, OUT}BUF ioctl definitions 2012-08-13 12:45:46 +01:00
syscall.c linux-user: make host_to_target_cmsg support SO_TIMESTAMP cmsg_type 2012-08-14 20:26:55 +01:00
target_flat.h
uaccess.c
vm86.c linux-user: fix abi_(u)long, target_ulong mismatch 2011-10-27 14:42:16 +03:00