qemu-e2k/linux-user/arm
Richard Henderson 18e80c55bb linux-user: Tidy and enforce reserved_va initialization
We had a check using TARGET_VIRT_ADDR_SPACE_BITS to make sure
that the allocation coming in from the command-line option was
not too large, but that didn't include target-specific knowledge
about other restrictions on user-space.

Remove several target-specific hacks in linux-user/main.c.

For MIPS and Nios, we can replace them with proper adjustments
to the respective target's TARGET_VIRT_ADDR_SPACE_BITS definition.

For ARM, we had no existing ifdef but I suspect that the current
default value of 0xf7000000 was chosen with this in mind.  Define
a workable value in linux-user/arm/, and also document why the
special case is required.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20170708025030.15845-3-rth@twiddle.net>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2017-10-16 16:00:56 +03:00
..
nwfpe Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
syscall_nr.h Add missing syscall nrs. according to more recent Linux kernels 2016-01-11 11:39:28 +03:00
target_cpu.h linux-user: Tidy and enforce reserved_va initialization 2017-10-16 16:00:56 +03:00
target_signal.h linux-user: Clean up target_signal.h header guards 2016-07-12 16:19:16 +02:00
target_structs.h linux-user: Clean up target_structs.h header guards 2016-07-12 16:19:16 +02:00
target_syscall.h linux-user: fix TARGET_NR_select 2016-09-22 07:24:21 +03:00
termbits.h