2 Macro and type definitions for QEMU's Red Hat vendor-specific PCI
3 capabilities that provide various hints about PCI Bridges.
5 Refer to "docs/pcie_pci_bridge.txt" in the QEMU source directory.
7 Copyright (C) 2017, Red Hat, Inc.
9 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #ifndef __QEMU_PCI_BRIDGE_CAPABILITIES_H__
13 #define __QEMU_PCI_BRIDGE_CAPABILITIES_H__
15 #include <IndustryStandard/Pci23.h>
18 // The hints apply to PCI Bridges whose PCI_DEVICE_INDEPENDENT_REGION.VendorId
19 // equals the following value.
21 #define QEMU_PCI_BRIDGE_VENDOR_ID_REDHAT 0x1B36
24 // Common capability header for all hints.
28 EFI_PCI_CAPABILITY_VENDOR_HDR VendorHdr
;
30 } QEMU_PCI_BRIDGE_CAPABILITY_HDR
;
34 // Values defined for QEMU_PCI_BRIDGE_CAPABILITY_HDR.Type.
36 #define QEMU_PCI_BRIDGE_CAPABILITY_TYPE_RESOURCE_RESERVATION 0x01
39 // PCI Resource Reservation structure for when
40 // QEMU_PCI_BRIDGE_CAPABILITY_HDR.Type equals
41 // QEMU_PCI_BRIDGE_CAPABILITY_TYPE_RESOURCE_RESERVATION.
45 QEMU_PCI_BRIDGE_CAPABILITY_HDR BridgeHdr
;
48 UINT32 NonPrefetchable32BitMmio
;
49 UINT32 Prefetchable32BitMmio
;
50 UINT64 Prefetchable64BitMmio
;
51 } QEMU_PCI_BRIDGE_CAPABILITY_RESOURCE_RESERVATION
;