Check in definition of PCI CFG2 PPI into OldMdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2686 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -32,22 +32,6 @@ typedef struct _EFI_PEI_PCI_CFG_PPI EFI_PEI_PCI_CFG_PPI;
|
||||
(UINT64) ((((UINTN) bus) << 24) + (((UINTN) dev) << 16) + (((UINTN) func) << 8) + ((UINTN) reg)) \
|
||||
) & 0x00000000ffffffff
|
||||
|
||||
typedef enum {
|
||||
EfiPeiPciCfgWidthUint8 = 0,
|
||||
EfiPeiPciCfgWidthUint16 = 1,
|
||||
EfiPeiPciCfgWidthUint32 = 2,
|
||||
EfiPeiPciCfgWidthUint64 = 3,
|
||||
EfiPeiPciCfgWidthMaximum
|
||||
} EFI_PEI_PCI_CFG_PPI_WIDTH;
|
||||
|
||||
typedef struct {
|
||||
UINT8 Register;
|
||||
UINT8 Function;
|
||||
UINT8 Device;
|
||||
UINT8 Bus;
|
||||
UINT8 Reserved[4];
|
||||
} EFI_PEI_PCI_CFG_PPI_PCI_ADDRESS;
|
||||
|
||||
/**
|
||||
PCI read and write operation.
|
||||
|
||||
|
Reference in New Issue
Block a user