qemu-e2k/linux-user/arm
Richard Henderson 8f67b9c694 linux-user: Pass CPUState to MAX_RESERVED_VA
Turn the scalar macro into a functional macro.  Move the creation
of the cpu up a bit within main() so that we can pass it to the
invocation of MAX_RESERVED_VA.  Delay the validation of the -R
parameter until MAX_RESERVED_VA is computed.

So far no changes to any of the MAX_RESERVED_VA macros to actually
use the cpu in any way, but ARM will need it.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20190822185929.16891-2-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2019-09-11 08:46:34 +02:00
..
nwfpe linux-user/arm/nwfpe: Check coprocessor number for FPA emulation 2018-01-11 13:25:39 +00:00
cpu_loop.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
semihost.c semihosting: split console_out into string and char versions 2019-06-12 17:53:22 +01:00
signal.c linux-user: move get_sp_from_cpustate() to target_cpu.h 2018-06-04 01:30:44 +02:00
sockbits.h linux-user: move socket.h generic definitions to generic/sockbits.h 2018-05-25 10:10:55 +02:00
syscall_nr.h Supply missing header guards 2019-06-12 13:20:21 +02:00
target_cpu.h linux-user: Pass CPUState to MAX_RESERVED_VA 2019-09-11 08:46:34 +02:00
target_elf.h linux-user: Move CPU type name selection to a function 2018-02-25 17:27:41 +01:00
target_fcntl.h linux-user: move arm/aarch64/m68k fcntl definitions to [arm|aarch64|m68k]/target_fcntl.h 2018-06-04 01:30:44 +02:00
target_signal.h linux-user: move generic signal definitions to generic/signal.h 2018-06-04 01:30:44 +02:00
target_structs.h linux-user: remove useless padding in flock64 structure 2018-05-03 18:40:19 +02:00
target_syscall.h linux-user: Add ARM get_tls syscall support 2018-04-30 09:51:31 +02:00
termbits.h Supply missing header guards 2019-06-12 13:20:21 +02:00