diff options
author | Nicholas Piggin | 2020-03-16 15:26:11 +0100 |
---|---|---|
committer | David Gibson | 2020-03-17 07:00:22 +0100 |
commit | 9aa25280708a066e4920e8348091318f542fd19d (patch) | |
tree | a42a6f238513ead427f39d202ae7f23be3f11583 /target/ppc/cpu.h | |
parent | ppc/spapr: Allow FWNMI on TCG (diff) | |
download | qemu-9aa25280708a066e4920e8348091318f542fd19d.tar.gz qemu-9aa25280708a066e4920e8348091318f542fd19d.tar.xz qemu-9aa25280708a066e4920e8348091318f542fd19d.zip |
target/ppc: allow ppc_cpu_do_system_reset to take an alternate vector
Provide for an alternate delivery location, -1 defaults to the
architected address.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20200316142613.121089-7-npiggin@gmail.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/cpu.h')
-rw-r--r-- | target/ppc/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h index 3953680534..f8c7d6f19c 100644 --- a/target/ppc/cpu.h +++ b/target/ppc/cpu.h @@ -1220,7 +1220,7 @@ int ppc64_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, int ppc32_cpu_write_elf32_note(WriteCoreDumpFunction f, CPUState *cs, int cpuid, void *opaque); #ifndef CONFIG_USER_ONLY -void ppc_cpu_do_system_reset(CPUState *cs); +void ppc_cpu_do_system_reset(CPUState *cs, target_ulong vector); void ppc_cpu_do_fwnmi_machine_check(CPUState *cs, target_ulong vector); extern const VMStateDescription vmstate_ppc_cpu; #endif |