]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Library/PeiCoreEntryPoint.h
These updates are for IPF low level assembly library checking in.
[mirror_edk2.git] / MdePkg / Include / Library / PeiCoreEntryPoint.h
1 /** @file
2 Entry point to 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 #ifndef __MODULE_ENTRY_POINT_H__
16 #define __MODULE_ENTRY_POINT_H__
17
18 /**
19 Enrty point to PEI core.
20
21 @param PeiStartupDescriptor Pointer of start up information.
22
23 @return Status returned by entry points of core and drivers.
24
25 **/
26 EFI_STATUS
27 EFIAPI
28 _ModuleEntryPoint (
29 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor
30 );
31
32 /**
33 Wrapper of enrty point to PEI core.
34
35 @param PeiStartupDescriptor Pointer of start up information.
36
37 @return Status returned by entry points of core and drivers.
38
39 **/
40 EFI_STATUS
41 EFIAPI
42 EfiMain (
43 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor
44 );
45
46 /**
47 Call constructs for all libraries. Automatics Generated by tool.
48
49 @param FfsHeader Pointer to header of FFS.
50 @param PeiServices Pointer to the PEI Services Table.
51
52 **/
53 VOID
54 EFIAPI
55 ProcessLibraryConstructorList (
56 IN EFI_FFS_FILE_HEADER *FfsHeader,
57 IN EFI_PEI_SERVICES **PeiServices
58 );
59
60
61 /**
62 Call the list of driver entry points. Automatics Generated by tool.
63
64 @param PeiStartupDescriptor Pointer to startup information .
65 @param OldCoreData Pointer to Original startup information.
66
67 @return Status returned by entry points of drivers.
68
69 **/
70 EFI_STATUS
71 EFIAPI
72 ProcessModuleEntryPointList (
73 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor,
74 IN VOID *OldCoreData
75 );
76
77 #endif