mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
ppc/xive: Introduce a new XiveRouter end_notify() handler
It will help us model the END triggers on the PowerNV machine, which can be rerouted to another interrupt controller. Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
parent
ed409be14c
commit
56e08e77de
2 changed files with 20 additions and 10 deletions
|
@ -401,6 +401,7 @@ struct XiveRouterClass {
|
|||
int (*write_nvt)(XiveRouter *xrtr, uint8_t nvt_blk, uint32_t nvt_idx,
|
||||
XiveNVT *nvt, uint8_t word_number);
|
||||
uint8_t (*get_block_id)(XiveRouter *xrtr);
|
||||
void (*end_notify)(XiveRouter *xrtr, XiveEAS *eas);
|
||||
};
|
||||
|
||||
int xive_router_get_eas(XiveRouter *xrtr, uint8_t eas_blk, uint32_t eas_idx,
|
||||
|
@ -414,6 +415,7 @@ int xive_router_get_nvt(XiveRouter *xrtr, uint8_t nvt_blk, uint32_t nvt_idx,
|
|||
int xive_router_write_nvt(XiveRouter *xrtr, uint8_t nvt_blk, uint32_t nvt_idx,
|
||||
XiveNVT *nvt, uint8_t word_number);
|
||||
void xive_router_notify(XiveNotifier *xn, uint32_t lisn, bool pq_checked);
|
||||
void xive_router_end_notify(XiveRouter *xrtr, XiveEAS *eas);
|
||||
|
||||
/*
|
||||
* XIVE Presenter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue