diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-08-09 15:45:29 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-08-27 12:41:13 +1000 |
commit | dd4e4d1296a4aeb2fccbc1019027133f1beabf82 (patch) | |
tree | dac6b1dfa7ccb3251a5d1c66d89835f4ff8845b6 /include/hw | |
parent | fb8dc327f4647ca49292b50b75d3304cbcb66723 (diff) |
ppc/xive: Export xive_presenter_notify()
It's generic enough to be used from the XIVE2 router and avoid more
duplication.
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20210809134547.689560-9-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/ppc/xive.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/ppc/xive.h b/include/hw/ppc/xive.h index 7e25c25bfd..db76411654 100644 --- a/include/hw/ppc/xive.h +++ b/include/hw/ppc/xive.h @@ -408,6 +408,10 @@ int xive_presenter_tctx_match(XivePresenter *xptr, XiveTCTX *tctx, uint8_t format, uint8_t nvt_blk, uint32_t nvt_idx, bool cam_ignore, uint32_t logic_serv); +bool xive_presenter_notify(XiveFabric *xfb, uint8_t format, + uint8_t nvt_blk, uint32_t nvt_idx, + bool cam_ignore, uint8_t priority, + uint32_t logic_serv); /* * XIVE Fabric (Interface between Interrupt Controller and Machine) |