mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
8af7e1fe6f
commit
edfdbf9c6b
3 changed files with 17 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue