X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FPcatSingleSegmentPciCfg2Pei%2FPciCfg2.c;h=47450d3a09bd95ed6cacf5c0be42c46c45ae25be;hb=fb0b259e4e440577dcd6ba6722c252d90605b3e9;hp=bf1fb2d88768357f22fd193fa58148d87854589e;hpb=702887db454ab21b8f32c351fccc2a7e2689361f;p=mirror_edk2.git diff --git a/MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PciCfg2.c b/MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PciCfg2.c index bf1fb2d887..47450d3a09 100644 --- a/MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PciCfg2.c +++ b/MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PciCfg2.c @@ -1,4 +1,5 @@ -/** +/** @file + Installs Single Segment Pci Configuration PPI. Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials @@ -27,9 +28,9 @@ @param Address PCI address with EFI_PEI_PCI_CFG_PPI_PCI_ADDRESS format. - + @return The PCI address with PCI_LIB_ADDRESS format. - + **/ STATIC UINTN @@ -69,7 +70,7 @@ PciCfgAddressConvert ( **/ EFI_STATUS -EFIAPI +EFIAPI PciCfg2Read ( IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_PCI_CFG2_PPI *This, @@ -103,7 +104,7 @@ PciCfg2Read ( **/ EFI_STATUS -EFIAPI +EFIAPI PciCfg2Write ( IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_PCI_CFG2_PPI *This, @@ -143,7 +144,7 @@ PciCfg2Write ( **/ EFI_STATUS -EFIAPI +EFIAPI PciCfg2Modify ( IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_PCI_CFG2_PPI *This, @@ -209,7 +210,7 @@ EFI_PEI_PPI_DESCRIPTOR gPciCfg2PpiList = { **/ EFI_STATUS -EFIAPI +EFIAPI PciCfg2Read ( IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_PCI_CFG2_PPI *This, @@ -260,7 +261,7 @@ PciCfg2Read ( **/ EFI_STATUS -EFIAPI +EFIAPI PciCfg2Write ( IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_PCI_CFG2_PPI *This, @@ -317,7 +318,7 @@ PciCfg2Write ( **/ EFI_STATUS -EFIAPI +EFIAPI PciCfg2Modify ( IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_PCI_CFG2_PPI *This, @@ -364,7 +365,7 @@ PeimInitializePciCfg ( ASSERT ((**PeiServices).Hdr.Revision >= PEI_SERVICES_REVISION); (**PeiServices).PciCfg = &gPciCfg2Ppi; - Status = (**PeiServices).InstallPpi (PeiServices, &gPciCfg2PpiList); + Status = (**PeiServices).InstallPpi ((CONST EFI_PEI_SERVICES **)PeiServices, &gPciCfg2PpiList); return Status; }