+++ /dev/null
-/**@file\r
-\r
-Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
-SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-Module Name:\r
-\r
- NtPeiLoadFile.h\r
-\r
-Abstract:\r
-\r
- WinNt Load File PPI.\r
-\r
- When the PEI core is done it calls the DXE IPL via PPI\r
-\r
-**/\r
-\r
-#ifndef __NT_PEI_LOAD_FILE_H__\r
-#define __NT_PEI_LOAD_FILE_H__\r
-\r
-#include <WinNtDxe.h>\r
-\r
-#define NT_PEI_LOAD_FILE_GUID \\r
- { \\r
- 0xfd0c65eb, 0x405, 0x4cd2, {0x8a, 0xee, 0xf4, 0x0, 0xef, 0x13, 0xba, 0xc2 } \\r
- }\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *NT_PEI_LOAD_FILE) (\r
- VOID *Pe32Data,\r
- EFI_PHYSICAL_ADDRESS *ImageAddress,\r
- UINT64 *ImageSize,\r
- EFI_PHYSICAL_ADDRESS *EntryPoint\r
- );\r
-\r
-/*++\r
-\r
-Routine Description:\r
- Loads and relocates a PE/COFF image into memory.\r
-\r
-Arguments:\r
- Pe32Data - The base address of the PE/COFF file that is to be loaded and relocated\r
- ImageAddress - The base address of the relocated PE/COFF image\r
- ImageSize - The size of the relocated PE/COFF image\r
- EntryPoint - The entry point of the relocated PE/COFF image\r
-\r
-Returns:\r
- EFI_SUCCESS - The file was loaded and relocated\r
- EFI_OUT_OF_RESOURCES - There was not enough memory to load and relocate the PE/COFF file\r
-\r
---*/\r
-typedef struct {\r
- NT_PEI_LOAD_FILE PeiLoadFileService;\r
-} NT_PEI_LOAD_FILE_PPI;\r
-\r
-extern EFI_GUID gNtPeiLoadFilePpiGuid;\r
-\r
-#endif\r