(UINT64) ((((UINTN) bus) << 24) + (((UINTN) dev) << 16) + (((UINTN) func) << 8) + ((UINTN) reg)) \\r
) & 0x00000000ffffffff\r
\r
-typedef enum {\r
- EfiPeiPciCfgWidthUint8 = 0,\r
- EfiPeiPciCfgWidthUint16 = 1,\r
- EfiPeiPciCfgWidthUint32 = 2,\r
- EfiPeiPciCfgWidthUint64 = 3,\r
- EfiPeiPciCfgWidthMaximum\r
-} EFI_PEI_PCI_CFG_PPI_WIDTH;\r
-\r
-typedef struct {\r
- UINT8 Register;\r
- UINT8 Function;\r
- UINT8 Device;\r
- UINT8 Bus;\r
- UINT8 Reserved[4];\r
-} EFI_PEI_PCI_CFG_PPI_PCI_ADDRESS;\r
-\r
/**\r
PCI read and write operation.\r
\r