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
iwmmxt_helper.c target-arm: Don't overuse CPUState 2012-03-14 22:20:24 +01:00
machine.c
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