qemu-e2k/target/mips
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
..
Makefile.objs mips: move hw/mips/cputimer.c to target/mips/ 2017-09-21 13:24:34 +01:00
TODO Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cp0_timer.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
cpu-qom.h mips: MIPSCPU model subclasses 2017-09-21 13:25:30 +01:00
cpu.c qom/cpu: move cpu_model null check to cpu_class_by_name() 2017-10-09 23:21:52 -03:00
cpu.h mips: replace cpu_mips_init() with cpu_generic_init() 2017-09-21 13:25:37 +01:00
dsp_helper.c mips: Improve macro parenthesization 2017-09-21 13:25:41 +01:00
gdbstub.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
helper.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
helper.h target/mips: Add segmentation control registers 2017-07-20 22:42:26 +01:00
internal.h mips: MIPSCPU model subclasses 2017-09-21 13:25:30 +01:00
kvm.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
kvm_mips.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
lmi_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
machine.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
mips-defs.h linux-user: Tidy and enforce reserved_va initialization 2017-10-16 16:00:56 +03:00
mips-semi.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
msa_helper.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
op_helper.c mips: introduce internal.h and cleanup cpu.h 2017-09-21 13:24:34 +01:00
trace-events docs: fix broken paths to docs/devel/tracing.txt 2017-07-31 13:12:53 +03:00
translate.c tcg: remove addr argument from lookup_tb_ptr 2017-10-10 07:37:10 -07:00
translate_init.c mips: MIPSCPU model subclasses 2017-09-21 13:25:30 +01:00