From dd4e4d1296a4aeb2fccbc1019027133f1beabf82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Mon, 9 Aug 2021 15:45:29 +0200 Subject: ppc/xive: Export xive_presenter_notify() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's generic enough to be used from the XIVE2 router and avoid more duplication. Reviewed-by: Greg Kurz Signed-off-by: Cédric Le Goater Message-Id: <20210809134547.689560-9-clg@kaod.org> Signed-off-by: David Gibson --- include/hw/ppc/xive.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/hw') 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) -- cgit v1.2.3