/** @file\r
- This driver installs Single Segment Pci Configuration 2 PPI \r
- to provide read, write and modify access to Pci configuration space in PEI phase. \r
+ This driver installs Single Segment Pci Configuration 2 PPI\r
+ to provide read, write and modify access to Pci configuration space in PEI phase.\r
To follow PI specification, these services also support access to the unaligned Pci address.\r
\r
- Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
\r
@retval EFI_SUCCESS The function completed successfully.\r
@retval EFI_INVALID_PARAMETER The invalid access width.\r
- \r
+\r
**/\r
EFI_STATUS\r
EFIAPI\r
// Unaligned Pci address access, break up the request into byte by byte.\r
//\r
PciWrite8 (PciLibAddress, *((UINT8 *) Buffer));\r
- PciWrite8 (PciLibAddress + 1, *((UINT8 *) Buffer + 1)); \r
+ PciWrite8 (PciLibAddress + 1, *((UINT8 *) Buffer + 1));\r
}\r
} else if (Width == EfiPeiPciCfgWidthUint32) {\r
if ((PciLibAddress & 0x03) == 0) {\r
// Unaligned Pci address access, break up the request into byte by byte.\r
//\r
PciWrite8 (PciLibAddress, *((UINT8 *) Buffer));\r
- PciWrite8 (PciLibAddress + 1, *((UINT8 *) Buffer + 1)); \r
- PciWrite8 (PciLibAddress + 2, *((UINT8 *) Buffer + 2)); \r
- PciWrite8 (PciLibAddress + 3, *((UINT8 *) Buffer + 3)); \r
+ PciWrite8 (PciLibAddress + 1, *((UINT8 *) Buffer + 1));\r
+ PciWrite8 (PciLibAddress + 2, *((UINT8 *) Buffer + 2));\r
+ PciWrite8 (PciLibAddress + 3, *((UINT8 *) Buffer + 3));\r
}\r
} else {\r
return EFI_INVALID_PARAMETER;\r
};\r
\r
/**\r
- Module's entry function. \r
+ Module's entry function.\r
This routine will install EFI_PEI_PCI_CFG2_PPI.\r
- \r
+\r
@param FileHandle Handle of the file being invoked.\r
@param PeiServices Describes the list of possible PEI Services.\r
\r