unicorn/qemu/target/sparc
Bharata B Rao e373c001fa
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.

Backports commit 5a790cc4b942e651fec7edc597c19b637fad5a76 from qemu
2018-03-21 07:50:33 -04:00
..
asi.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
cc_helper.c target/sparc/cc_helper: Perform a comparison pass against qemu 2018-03-12 12:36:51 -04:00
cpu-qom.h sparc: convert cpu models to SPARC cpu subclasses 2018-03-07 21:30:22 -05:00
cpu.c cpu: Add Error argument to cpu_exec_init() 2018-03-21 07:50:33 -04:00
cpu.h cpu: get rid of unused cpu_init() defines 2018-03-20 14:21:45 -04:00
fop_helper.c target/sparc/fop_helper: Perform comparison pass against qemu 2018-03-12 12:38:21 -04:00
helper.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
helper.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
int32_helper.c sparc: embed sparc_def_t into CPUSPARCState 2018-03-07 21:35:23 -05:00
int64_helper.c sparc: embed sparc_def_t into CPUSPARCState 2018-03-07 21:35:23 -05:00
ldst_helper.c target/sparc/ldst_helper: Perform comparison pass against qemu 2018-03-12 12:43:14 -04:00
Makefile.objs Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
mmu_helper.c target/sparc/mmu_helper: Perform comparison pass against qemu 2018-03-12 12:45:18 -04:00
TODO Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
translate.c target/sparc/translate: Perform comparison pass againt main qemu repo 2018-03-12 12:34:49 -04:00
unicorn.c Use DEFINE_MACHINE() to register all machines 2018-03-11 15:12:46 -04:00
unicorn.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
unicorn64.c Revert use of DEFINE_MACHINE() for registrations of multiple machines 2018-03-11 15:17:17 -04:00
vis_helper.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
win_helper.c target/sparc/win_helper: Perform comparison pass against qemu 2018-03-12 12:46:59 -04:00