TianoCore EDK2 master
Loading...
Searching...
No Matches
QemuPciBridgeCapabilities.h
Go to the documentation of this file.
1
12#ifndef __QEMU_PCI_BRIDGE_CAPABILITIES_H__
13#define __QEMU_PCI_BRIDGE_CAPABILITIES_H__
14
16
17//
18// The hints apply to PCI Bridges whose PCI_DEVICE_INDEPENDENT_REGION.VendorId
19// equals the following value.
20//
21#define QEMU_PCI_BRIDGE_VENDOR_ID_REDHAT 0x1B36
22
23//
24// Common capability header for all hints.
25//
26#pragma pack (1)
27typedef struct {
29 UINT8 Type;
31#pragma pack ()
32
33//
34// Values defined for QEMU_PCI_BRIDGE_CAPABILITY_HDR.Type.
35//
36#define QEMU_PCI_BRIDGE_CAPABILITY_TYPE_RESOURCE_RESERVATION 0x01
37
38//
39// PCI Resource Reservation structure for when
40// QEMU_PCI_BRIDGE_CAPABILITY_HDR.Type equals
41// QEMU_PCI_BRIDGE_CAPABILITY_TYPE_RESOURCE_RESERVATION.
42//
43#pragma pack (1)
44typedef struct {
46 UINT32 BusNumbers;
47 UINT64 Io;
48 UINT32 NonPrefetchable32BitMmio;
49 UINT32 Prefetchable32BitMmio;
50 UINT64 Prefetchable64BitMmio;
52#pragma pack ()
53
54#endif