qemu-e2k/target-xtensa
Bharata B Rao 5a790cc4b9 cpu: Add Error argument to cpu_exec_init()
Add an Error argument to cpu_exec_init() to let users collect the
error. This is in preparation to change the CPU enumeration logic
in cpu_exec_init(). With the new enumeration logic, cpu_exec_init()
can fail if cpu_index values corresponding to max_cpus have already
been handed out.

Since all current callers of cpu_exec_init() are from instance_init,
use error_abort Error argument to abort in case of an error.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2015-07-09 15:20:40 +02:00
..
core-dc232b
core-dc233c
core-fsf
core-dc232b.c target-xtensa: fix gdb register map construction 2015-07-06 13:25:12 +03:00
core-dc233c.c target-xtensa: fix gdb register map construction 2015-07-06 13:25:12 +03:00
core-fsf.c target-xtensa: fix gdb register map construction 2015-07-06 13:25:12 +03:00
cpu-qom.h target-xtensa: implement do_unassigned_access callback 2015-03-07 15:27:54 +03:00
cpu.c cpu: Add Error argument to cpu_exec_init() 2015-07-09 15:20:40 +02:00
cpu.h target-xtensa: fix gdb register map construction 2015-07-06 13:25:12 +03:00
gdbstub.c target-xtensa: add 64-bit floating point registers 2015-07-06 13:25:11 +03:00
helper.c target-xtensa: fix gdb register map construction 2015-07-06 13:25:12 +03:00
helper.h target-xtensa: record available window in TB flags 2014-12-17 05:49:32 +03:00
import_core.sh target-xtensa: fix gdb register map construction 2015-07-06 13:25:12 +03:00
Makefile.objs cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
op_helper.c target-xtensa: implement do_unassigned_access callback 2015-03-07 15:27:54 +03:00
overlay_tool.h target-xtensa: fix gdb register map construction 2015-07-06 13:25:12 +03:00
translate.c target-xtensa: add 64-bit floating point registers 2015-07-06 13:25:11 +03:00
xtensa-semi.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00