mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
ppc/xive: Introduce a XiveFabric interface
The XiveFabric QOM interface acts as the PowerBUS interface between the interrupt controller and the system and should be implemented by the QEMU machine. On HW, the XIVE sub-engine is responsible for the communication with the other chip is the Common Queue (CQ) bridge unit. This interface offers a 'match_nvt' handler to perform the CAM line matching when looking for a XIVE Presenter with a dispatched NVT. Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20191125065820.927-9-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
119eaa9d11
commit
d3eb47a2a1
2 changed files with 32 additions and 0 deletions
|
@ -1893,8 +1893,18 @@ static const TypeInfo xive_presenter_info = {
|
|||
.class_size = sizeof(XivePresenterClass),
|
||||
};
|
||||
|
||||
/*
|
||||
* XIVE Fabric
|
||||
*/
|
||||
static const TypeInfo xive_fabric_info = {
|
||||
.name = TYPE_XIVE_FABRIC,
|
||||
.parent = TYPE_INTERFACE,
|
||||
.class_size = sizeof(XiveFabricClass),
|
||||
};
|
||||
|
||||
static void xive_register_types(void)
|
||||
{
|
||||
type_register_static(&xive_fabric_info);
|
||||
type_register_static(&xive_source_info);
|
||||
type_register_static(&xive_notifier_info);
|
||||
type_register_static(&xive_presenter_info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue