return PeiServices;\r
}\r
\r
-/**\r
- The constructor function caches the pointer to PEI services.\r
-\r
- The constructor function caches the pointer to PEI services.\r
- It will always return EFI_SUCCESS.\r
-\r
- @param FfsHeader Pointer to FFS header the loaded driver.\r
- @param PeiServices Pointer to the PEI services.\r
-\r
- @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-PeiServicesTablePointerLibConstructor (\r
- IN EFI_PEI_FILE_HANDLE *FfsHeader,\r
- IN EFI_PEI_SERVICES **PeiServices\r
- )\r
-{\r
- AsmWriteKr7 ((UINT64)(UINTN)PeiServices);\r
- return EFI_SUCCESS;\r
-}\r
-\r
/**\r
The function set the pointer of PEI services in KR7 register \r
according to PI specification.\r
#/** @file\r
#\r
# PEI Services Table Library implementation that retrieves a pointer to the PEI\r
-# Copyright (c) 2006 - 2007, Intel Corporation.\r
+# Copyright (c) 2006 - 2008, 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
EDK_RELEASE_VERSION = 0x00020000\r
EFI_SPECIFICATION_VERSION = 0x00020000\r
\r
- CONSTRUCTOR = PeiServicesTablePointerLibConstructor\r
\r
#\r
# VALID_ARCHITECTURES = IPF\r