]> git.proxmox.com Git - mirror_edk2.git/blob - OldMdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.c
1. Sync the latest network stack. Add NetLibCreateIPv4DPathNode () in netlib library.
[mirror_edk2.git] / OldMdePkg / Library / PeiCoreEntryPoint / PeiCoreEntryPoint.c
1 /** @file
2 Entry point to a the PEI Core.
3
4 Copyright (c) 2006, Intel Corporation<BR>
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 /**
16 Enrty point to PEI core.
17
18 @param PeiStartupDescriptor Pointer of start up information.
19
20 @return Status returned by entry points of core and drivers.
21
22 **/
23 EFI_STATUS
24 EFIAPI
25 _ModuleEntryPoint (
26 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor
27 )
28 {
29 //
30 // Call the PEI Core entry point
31 //
32 return ProcessModuleEntryPointList (PeiStartupDescriptor, NULL);
33 }
34
35
36 /**
37 Wrapper of enrty point to PEI core.
38
39 @param PeiStartupDescriptor Pointer of start up information.
40
41 @return Status returned by entry points of core and drivers.
42
43 **/
44 EFI_STATUS
45 EFIAPI
46 EfiMain (
47 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor
48 )
49 {
50 return _ModuleEntryPoint (PeiStartupDescriptor);
51 }