]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Core/DxeIplPeim/DxeIpl.h
Update all files in DxeIpl Peim to follow doxygen style header.
[mirror_edk2.git] / MdeModulePkg / Core / DxeIplPeim / DxeIpl.h
1 /** @file
2 Header file for DxeIpl PEIM.
3
4 Copyright (c) 2006 - 2008, 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 __PEI_DXEIPL_H__
16 #define __PEI_DXEIPL_H__
17
18 #include <PiPei.h>
19 #include <Ppi/DxeIpl.h>
20 #include <Protocol/EdkDecompress.h>
21 #include <Ppi/EndOfPeiPhase.h>
22 #include <Protocol/CustomizedDecompress.h>
23 #include <Protocol/Decompress.h>
24 #include <Ppi/MemoryDiscovered.h>
25 #include <Ppi/ReadOnlyVariable2.h>
26 #include <Guid/MemoryTypeInformation.h>
27 #include <Ppi/Decompress.h>
28 #include <Ppi/FirmwareVolumeInfo.h>
29
30 #include <Guid/MemoryAllocationHob.h>
31 #include <Guid/FirmwareFileSystem2.h>
32
33 #include <Library/DebugLib.h>
34 #include <Library/PeimEntryPoint.h>
35 #include <Library/BaseLib.h>
36 #include <Library/HobLib.h>
37 #include <Library/PeiServicesLib.h>
38 #include <Library/ReportStatusCodeLib.h>
39 #include <Library/CacheMaintenanceLib.h>
40 #include <Library/UefiDecompressLib.h>
41 #include <Library/ExtractGuidedSectionLib.h>
42 #include <Library/PeiServicesTablePointerLib.h>
43 #include <Library/BaseMemoryLib.h>
44 #include <Library/MemoryAllocationLib.h>
45 #include <Library/PcdLib.h>
46 #include <Library/PeCoffLib.h>
47 #include <Library/S3Lib.h>
48 #include <Library/RecoveryLib.h>
49
50 #define STACK_SIZE 0x20000
51 #define BSP_STORE_SIZE 0x4000
52
53 #define GET_OCCUPIED_SIZE(ActualSize, Alignment) ((ActualSize + (Alignment - 1)) & ~(Alignment - 1))
54
55 extern BOOLEAN gInMemory;
56
57 EFI_STATUS
58 PeiLoadFile (
59 IN EFI_PEI_FILE_HANDLE FileHandle,
60 OUT EFI_PHYSICAL_ADDRESS *ImageAddress,
61 OUT UINT64 *ImageSize,
62 OUT EFI_PHYSICAL_ADDRESS *EntryPoint
63 )
64 ;
65
66 EFI_STATUS
67 DxeIplFindDxeCore (
68 OUT EFI_PEI_FILE_HANDLE *FileHandle
69 )
70 ;
71
72 EFI_STATUS
73 GetImageReadFunction (
74 IN PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
75 )
76 ;
77
78 EFI_STATUS
79 EFIAPI
80 DxeLoadCore (
81 IN EFI_DXE_IPL_PPI *This,
82 IN EFI_PEI_SERVICES **PeiServices,
83 IN EFI_PEI_HOB_POINTERS HobList
84 );
85
86 VOID
87 HandOffToDxeCore (
88 IN EFI_PHYSICAL_ADDRESS DxeCoreEntryPoint,
89 IN EFI_PEI_HOB_POINTERS HobList,
90 IN EFI_PEI_PPI_DESCRIPTOR *EndOfPeiSignal
91 );
92
93 VOID
94 UpdateStackHob (
95 IN EFI_PHYSICAL_ADDRESS BaseAddress,
96 IN UINT64 Length
97 );
98
99 EFI_STATUS
100 EFIAPI
101 PeimInitializeDxeIpl (
102 IN EFI_PEI_FILE_HANDLE FfsHandle,
103 IN EFI_PEI_SERVICES **PeiServices
104 )
105 ;
106
107
108 #endif