diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2020-03-17 00:26:08 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2020-03-17 17:00:22 +1100 |
commit | edfdbf9c6baf6f8dc17842bd300cd2dd78d5f0d4 (patch) | |
tree | c5a318e2c79846af0fddc4e271dc51dcbb605ba7 /include | |
parent | 8af7e1fe6fa4bdd3c4561c13a4bd4ee525e6f02f (diff) | |
download | qemu-edfdbf9c6baf6f8dc17842bd300cd2dd78d5f0d4.zip qemu-edfdbf9c6baf6f8dc17842bd300cd2dd78d5f0d4.tar.gz qemu-edfdbf9c6baf6f8dc17842bd300cd2dd78d5f0d4.tar.bz2 |
ppc/spapr: Add FWNMI System Reset state
The FWNMI option must deliver system reset interrupts to their
registered address, and there are a few constraints on the handler
addresses specified in PAPR. Add the system reset address state and
checks.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20200316142613.121089-4-npiggin@gmail.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviwed-by: Mahesh Salgaonkar <mahesh@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/ppc/spapr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index 64b8340..42d64a0 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -194,9 +194,10 @@ struct SpaprMachineState { /* State related to FWNMI option */ - /* Machine Check Notification Routine address + /* System Reset and Machine Check Notification Routine addresses * registered by "ibm,nmi-register" RTAS call. */ + target_ulong fwnmi_system_reset_addr; target_ulong fwnmi_machine_check_addr; /* Machine Check FWNMI synchronization, fwnmi_machine_check_interlock is |