+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
-\r
-Module Name:\r
-\r
- UnixPeiLoadFile.h\r
-\r
-Abstract:\r
-\r
- Unix Load File PPI.\r
-\r
- When the PEI core is done it calls the DXE IPL via PPI\r
-\r
---*/\r
-\r
-#ifndef __UNIX_PEI_LOAD_FILE_H__\r
-#define __UNIX_PEI_LOAD_FILE_H__\r
-\r
-#include <UnixDxe.h>\r
-\r
-#define UNIX_PEI_LOAD_FILE_GUID \\r
- { \\r
- 0xf2f48768, 0x8985, 0x11db, {0xb8, 0xda, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } \
- }\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *UNIX_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
- UNIX_PEI_LOAD_FILE PeiLoadFileService;\r
-} UNIX_PEI_LOAD_FILE_PPI;\r
-\r
-extern EFI_GUID gUnixPeiLoadFilePpiGuid;\r
-\r
-#endif\r