3 Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
4 SPDX-License-Identifier: BSD-2-Clause-Patent
14 When the PEI core is done it calls the DXE IPL via PPI
18 #ifndef __NT_PEI_LOAD_FILE_H__
19 #define __NT_PEI_LOAD_FILE_H__
23 #define NT_PEI_LOAD_FILE_GUID \
25 0xfd0c65eb, 0x405, 0x4cd2, {0x8a, 0xee, 0xf4, 0x0, 0xef, 0x13, 0xba, 0xc2 } \
30 (EFIAPI
*NT_PEI_LOAD_FILE
) (
32 EFI_PHYSICAL_ADDRESS
*ImageAddress
,
34 EFI_PHYSICAL_ADDRESS
*EntryPoint
40 Loads and relocates a PE/COFF image into memory.
43 Pe32Data - The base address of the PE/COFF file that is to be loaded and relocated
44 ImageAddress - The base address of the relocated PE/COFF image
45 ImageSize - The size of the relocated PE/COFF image
46 EntryPoint - The entry point of the relocated PE/COFF image
49 EFI_SUCCESS - The file was loaded and relocated
50 EFI_OUT_OF_RESOURCES - There was not enough memory to load and relocate the PE/COFF file
54 NT_PEI_LOAD_FILE PeiLoadFileService
;
55 } NT_PEI_LOAD_FILE_PPI
;
57 extern EFI_GUID gNtPeiLoadFilePpiGuid
;