diff options
author | Cédric Le Goater | 2021-08-09 15:45:28 +0200 |
---|---|---|
committer | David Gibson | 2021-08-27 04:41:13 +0200 |
commit | fb8dc327f4647ca49292b50b75d3304cbcb66723 (patch) | |
tree | 54bca862203e14769c3ae2e13eafe2f6080ef5eb /include | |
parent | ppc/pnv: add a chip topology index for POWER10 (diff) | |
download | qemu-fb8dc327f4647ca49292b50b75d3304cbcb66723.tar.gz qemu-fb8dc327f4647ca49292b50b75d3304cbcb66723.tar.xz qemu-fb8dc327f4647ca49292b50b75d3304cbcb66723.zip |
ppc/xive: Export PQ get/set routines
These will be shared with the XIVE2 router.
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20210809134547.689560-8-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-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 445eccfe6b..7e25c25bfd 100644 --- a/include/hw/ppc/xive.h +++ b/include/hw/ppc/xive.h @@ -261,6 +261,10 @@ static inline hwaddr xive_source_esb_mgmt(XiveSource *xsrc, int srcno) #define XIVE_ESB_QUEUED (XIVE_ESB_VAL_P | XIVE_ESB_VAL_Q) #define XIVE_ESB_OFF XIVE_ESB_VAL_Q +bool xive_esb_trigger(uint8_t *pq); +bool xive_esb_eoi(uint8_t *pq); +uint8_t xive_esb_set(uint8_t *pq, uint8_t value); + /* * "magic" Event State Buffer (ESB) MMIO offsets. * |