+++ /dev/null
-/** @file\r
- Entry point to the PEI Core\r
-\r
-Copyright (c) 2006, Intel Corporation<BR>\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
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-#ifndef __MODULE_ENTRY_POINT_H__\r
-#define __MODULE_ENTRY_POINT_H__\r
-\r
-/**\r
-\r
- Enrty point to PEI core.\r
-\r
- @param SecCoreData Points to a data structure containing\r
- information about the PEI core's\r
- operating environment, such as the size\r
- and location of temporary RAM, the stack\r
- location and the BFV location. The type\r
- EFI_SEC_PEI_HAND_OFF is\r
-\r
- @param PpiList Points to a list of one or more PPI\r
- descriptors to be installed initially by\r
- the PEI core. An empty PPI list consists\r
- of a single descriptor with the end-tag\r
- EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST.\r
- As part of its initialization phase, the\r
- PEI Foundation will add these SEC-hosted\r
- PPIs to its PPI database such that both\r
- the PEI Foundation and any modules can\r
- leverage the associated service calls\r
- and/or code in these early PPIs.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-_ModuleEntryPoint (\r
- IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor\r
- );\r
-\r
-/**\r
- Wrapper of enrty point to PEI core.\r
-\r
- @param PeiStartupDescriptor Pointer of start up information.\r
- \r
- @return Status returned by entry points of core and drivers. \r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-EfiMain (\r
- IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor\r
- );\r
-\r
-/**\r
- Call constructs for all libraries. Automatics Generated by tool.\r
-\r
- @param FfsHeader Pointer to header of FFS.\r
- @param PeiServices Pointer to the PEI Services Table.\r
-\r
-**/\r
-VOID\r
-EFIAPI\r
-ProcessLibraryConstructorList (\r
- IN EFI_FFS_FILE_HEADER *FfsHeader,\r
- IN EFI_PEI_SERVICES **PeiServices\r
- );\r
-\r
-\r
-/**\r
- Call the list of driver entry points. Automatics Generated by tool.\r
-\r
- @param PeiStartupDescriptor Pointer to startup information .\r
- @param OldCoreData Pointer to Original startup information.\r
-\r
- @return Status returned by entry points of drivers. \r
- \r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-ProcessModuleEntryPointList (\r
- IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor,\r
- IN VOID *OldCoreData\r
- );\r
-\r
-#endif\r
+++ /dev/null
-#/** @file\r
-# Entry point to a the PEI Core\r
-#\r
-# The library contains the entry point to a PEI core Module Type.\r
-# Copyright (c) 2007, 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
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-#\r
-#**/\r
-\r
-[Defines]\r
- INF_VERSION = 0x00010005\r
- BASE_NAME = PeiCoreEntryPoint\r
- FILE_GUID = 7AA626A3-238A-4c4c-9313-E9F937A744F0\r
- MODULE_TYPE = PEI_CORE\r
- VERSION_STRING = 1.0\r
- LIBRARY_CLASS = OldPeiCoreEntryPoint|PEI_CORE \r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
-\r
-\r
-#\r
-# The following information is for reference only and not required by the build tools.\r
-#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
-#\r
-\r
-[Sources.common]\r
- PeiCoreEntryPoint.c\r
-\r
-\r
-\r
-[Packages]\r
- MdePkg/MdePkg.dec\r
-\r
+++ /dev/null
-/** @file\r
- Entry point to a the PEI Core.\r
-\r
-Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-\r
-#include <PiPei.h>\r
-\r
-//\r
-// The Library classes this module produced\r
-//\r
-#include <Library/OldPeiCoreEntryPoint.h>\r
-\r
-/**\r
-\r
- Enrty point to PEI core.\r
-\r
- @param SecCoreData Points to a data structure containing\r
- information about the PEI core's\r
- operating environment, such as the size\r
- and location of temporary RAM, the stack\r
- location and the BFV location. The type\r
- EFI_SEC_PEI_HAND_OFF is\r
-\r
- @param PpiList Points to a list of one or more PPI\r
- descriptors to be installed initially by\r
- the PEI core. An empty PPI list consists\r
- of a single descriptor with the end-tag\r
- EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST.\r
- As part of its initialization phase, the\r
- PEI Foundation will add these SEC-hosted\r
- PPIs to its PPI database such that both\r
- the PEI Foundation and any modules can\r
- leverage the associated service calls\r
- and/or code in these early PPIs.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI \r
-_ModuleEntryPoint(\r
- IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor\r
-)\r
-{\r
- return ProcessModuleEntryPointList (PeiStartupDescriptor, NULL);\r
-}\r
-\r
-\r
-/**\r
- \r
- Wrapper of enrty point to PEI core.\r
- \r
- @param SecCoreData Points to a data structure containing\r
- information about the PEI core's\r
- operating environment, such as the size\r
- and location of temporary RAM, the stack\r
- location and the BFV location. The type\r
- EFI_SEC_PEI_HAND_OFF is\r
-\r
- @param PpiList Points to a list of one or more PPI\r
- descriptors to be installed initially by\r
- the PEI core. An empty PPI list consists\r
- of a single descriptor with the end-tag\r
- EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST.\r
- As part of its initialization phase, the\r
- PEI Foundation will add these SEC-hosted\r
- PPIs to its PPI database such that both\r
- the PEI Foundation and any modules can\r
- leverage the associated service calls\r
- and/or code in these early PPIs.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-EfiMain (\r
- IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor\r
- )\r
-{\r
- return _ModuleEntryPoint (PeiStartupDescriptor);\r
-}\r
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
- <MsaHeader>\r
- <ModuleName>PeiCoreEntryPoint</ModuleName>\r
- <ModuleType>PEI_CORE</ModuleType>\r
- <GuidValue>7AA626A3-238A-4c4c-9313-E9F937A744F0</GuidValue>\r
- <Version>1.0</Version>\r
- <Abstract>Entry point to a the PEI Core</Abstract>\r
- <Description>The library contains the entry point to a PEI core Module Type.</Description>\r
- <Copyright>Copyright (c) 2006 - 2007, Intel Corporation.</Copyright>\r
- <License>All rights reserved. This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>\r
- <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>\r
- </MsaHeader>\r
- <ModuleDefinitions>\r
- <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>\r
- <BinaryModule>false</BinaryModule>\r
- <OutputFileBasename>PeiCoreEntryPoint</OutputFileBasename>\r
- </ModuleDefinitions>\r
- <LibraryClassDefinitions>\r
- <LibraryClass Usage="ALWAYS_PRODUCED" SupModuleList="PEI_CORE">\r
- <Keyword>PeiCoreEntryPoint</Keyword>\r
- </LibraryClass>\r
- </LibraryClassDefinitions>\r
- <SourceFiles>\r
- <Filename>PeiCoreEntryPoint.c</Filename>\r
- </SourceFiles>\r
- <PackageDependencies>\r
- <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
- </PackageDependencies>\r
- <Externs>\r
- <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
- <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
- </Externs>\r
-</ModuleSurfaceArea>
\ No newline at end of file
PeiServicesLib|Include/Library/PeiServicesLib.h\r
PeimEntryPoint|Include/Library/PeimEntryPoint.h\r
PeiCoreEntryPoint|Include/Library/PeiCoreEntryPoint.h\r
- OldPeiCoreEntryPoint|Include/Library/OldPeiCoreEntryPoint.h\r
PeCoffLib|Include/Library/PeCoffLib.h\r
PeCoffGetEntryPointLib|Include/Library/PeCoffGetEntryPointLib.h\r
PciSegmentLib|Include/Library/PciSegmentLib.h\r