summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-11 09:30:13 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-11 09:30:13 +0000
commitcebc8d486e39ffbbf37f67914db0a49455181e0f (patch)
tree2de34649e6ed690d939491037483a86364c2852b /MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei
parentc84507ab5229c462806187b090ba6249540c9070 (diff)
downloadedk2-cebc8d486e39ffbbf37f67914db0a49455181e0f.tar.gz
edk2-cebc8d486e39ffbbf37f67914db0a49455181e0f.tar.bz2
edk2-cebc8d486e39ffbbf37f67914db0a49455181e0f.zip
Code Scrub for Pcd, PlatformDriOverride and PlatOverMngr driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6998 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei')
-rw-r--r--MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PciCfg2.c20
1 files changed, 14 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PciCfg2.c b/MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PciCfg2.c
index 0d899c9260..6ea2cfb8e8 100644
--- a/MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PciCfg2.c
+++ b/MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PciCfg2.c
@@ -55,7 +55,7 @@ PciCfg2Read (
IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,
IN UINT64 Address,
IN OUT VOID *Buffer
-);
+ );
/**
Write to a given location in the PCI configuration space.
@@ -89,7 +89,7 @@ PciCfg2Write (
IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,
IN UINT64 Address,
IN OUT VOID *Buffer
-);
+ );
/**
@@ -130,7 +130,7 @@ PciCfg2Modify (
IN UINT64 Address,
IN VOID *SetBits,
IN VOID *ClearBits
-);
+ );
@@ -218,7 +218,7 @@ PciCfg2Read (
IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,
IN UINT64 Address,
IN OUT VOID *Buffer
-)
+ )
{
UINTN PciLibAddress;
@@ -269,7 +269,7 @@ PciCfg2Write (
IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,
IN UINT64 Address,
IN OUT VOID *Buffer
-)
+ )
{
UINTN PciLibAddress;
@@ -327,7 +327,7 @@ PciCfg2Modify (
IN UINT64 Address,
IN VOID *SetBits,
IN VOID *ClearBits
-)
+ )
{
UINTN PciLibAddress;
UINT16 ClearValue16;
@@ -353,7 +353,15 @@ PciCfg2Modify (
return EFI_SUCCESS;
}
+/**
+ Module's entry function.
+ This routine will install EFI_PEI_PCI_CFG2_PPI.
+
+ @param FileHandle Handle of the file being invoked.
+ @param PeiServices Describes the list of possible PEI Services.
+ @return Whether success to install service.
+**/
EFI_STATUS
EFIAPI
PeimInitializePciCfg (