# 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
#\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
MODULE_TYPE = PEIM\r
VERSION_STRING = 1.0\r
ENTRY_POINT = PeimInitializePciCfg\r
- PI_SPECIFICATION_VERSION = 0x00010000\r
\r
#\r
# The following information is for reference only and not required by the build tools.\r
PciLib\r
BaseLib\r
DebugLib\r
-\r
+ PeiServicesLib\r
\r
[Ppis]\r
gEfiPciCfg2PpiGuid ## PRODUCED\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 - 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
//\r
#define EXPRESSION_STACK_SIZE_INCREMENT 0x100\r
\r
+#define EFI_SPECIFICATION_MAJOR_VERSION 0x2\r
+#define EFI_SPECIFICATION_MINOR_VERSION 0x1\r
+#define EFI_SPECIFICATION_ERRATA_VERSION 0x0\r
+#define EFI_IFR_SPECIFICATION_VERSION (UINT16)((EFI_SPECIFICATION_MAJOR_VERSION << 8) | (EFI_SPECIFICATION_MINOR_VERSION << 4) | EFI_SPECIFICATION_ERRATA_VERSION)\r
\r
-#define EFI_SPECIFICATION_ERRATA_VERSION 0\r
-\r
-#define EFI_IFR_SPECIFICATION_VERSION \\r
- ((((EFI_SPECIFICATION_VERSION) >> 8) & 0xff00) | \\r
- (((EFI_SPECIFICATION_VERSION) & 0xf) << 4) | \\r
- ((EFI_SPECIFICATION_ERRATA_VERSION) & 0xf))\r
\r
#define SETUP_DRIVER_SIGNATURE SIGNATURE_32 ('F', 'B', 'D', 'V')\r
typedef struct {\r
#/** @file\r
# The DXE driver produces FORM BROWSER protocols defined in UEFI HII 2.1 specificatin.\r
#\r
-# Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.\r
+# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.\r
#\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
FILE_GUID = EBf342FE-B1D3-4EF8-957C-8048606FF671\r
MODULE_TYPE = DXE_DRIVER\r
VERSION_STRING = 1.0\r
- EFI_SPECIFICATION_VERSION = 0x0002000A\r
ENTRY_POINT = InitializeSetup\r
\r
#\r