mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
ppc/xive: Export xive_tctx_word2() helper
Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20210901094153.227671-8-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
89d2468d96
commit
daf115cf9a
2 changed files with 5 additions and 5 deletions
|
@ -141,11 +141,6 @@ void xive_tctx_ipb_update(XiveTCTX *tctx, uint8_t ring, uint8_t ipb)
|
||||||
xive_tctx_notify(tctx, ring);
|
xive_tctx_notify(tctx, ring);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline uint32_t xive_tctx_word2(uint8_t *ring)
|
|
||||||
{
|
|
||||||
return *((uint32_t *) &ring[TM_WORD2]);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XIVE Thread Interrupt Management Area (TIMA)
|
* XIVE Thread Interrupt Management Area (TIMA)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -335,6 +335,11 @@ struct XiveTCTX {
|
||||||
XivePresenter *xptr;
|
XivePresenter *xptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static inline uint32_t xive_tctx_word2(uint8_t *ring)
|
||||||
|
{
|
||||||
|
return *((uint32_t *) &ring[TM_WORD2]);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XIVE Router
|
* XIVE Router
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue