qemu-e2k/target-arm
Peter Maydell ad37ad5b25 target-arm/cpu.h: Make cpu_init("nonexistent cpu") return NULL
The macro definition of cpu_init meant that if cpu_arm_init()
returned NULL this wouldn't result in cpu_init() itself returning
NULL. This had the effect that "-cpu foo" for some unknown CPU
name 'foo' would cause ARM targets to segfault rather than
generating a useful error message. Fix this by making cpu_init
a simple inline function.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Andreas Färber <afaerber@suse.de>
2012-05-10 12:56:09 +00:00
..
cpu-qom.h target-arm: Move A9 config_base_address reset value to ARMCPU 2012-04-27 11:06:18 +00:00
cpu.c target-arm: Move A9 config_base_address reset value to ARMCPU 2012-04-27 11:06:18 +00:00
cpu.h target-arm/cpu.h: Make cpu_init("nonexistent cpu") return NULL 2012-05-10 12:56:09 +00:00
helper.c target-arm: Change cpu_arm_init() return type to ARMCPU 2012-04-27 11:04:44 +00:00
helper.h target-arm: Implement VFPv4 fused multiply-accumulate insns 2011-10-19 16:14:07 +00:00
iwmmxt_helper.c target-arm: Don't overuse CPUState 2012-03-14 22:20:24 +01:00
machine.c arm: Add dummy support for co-processor 15's secure config register 2012-01-13 17:25:08 +00:00
neon_helper.c target-arm: When setting FPSCR.QC, don't clear other FPSCR bits 2012-05-10 12:56:08 +00:00
op_addsub.h
op_helper.c Use uintptr_t for various op related functions 2012-04-14 14:23:37 +00:00
translate.c target-arm: Make SETEND respect bswap_code (BE8) setting 2012-04-27 11:07:52 +00:00