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 - 2008, Intel Corporation\r
+ Copyright (c) 2006 - 2010, Intel Corporation\r
All rights reserved. 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
#include <Library/DebugLib.h>\r
#include <Library/PciLib.h>\r
#include <Library/PeimEntryPoint.h>\r
+#include <Library/PeiServicesLib.h>\r
#include <IndustryStandard/Pci.h>\r
\r
/**\r
{\r
EFI_STATUS Status;\r
\r
- ASSERT ((**PeiServices).Hdr.Revision >= PI_SPECIFICATION_VERSION);\r
-\r
(**(EFI_PEI_SERVICES **)PeiServices).PciCfg = &gPciCfg2Ppi;\r
- Status = (**PeiServices).InstallPpi (PeiServices, &gPciCfg2PpiList);\r
+ Status = PeiServicesInstallPpi (&gPciCfg2PpiList);\r
+ ASSERT_EFI_ERROR (Status);\r
\r
return Status;\r
}\r