1 /*++ 2 3 Copyright (c) 2007, Intel Corporation. All rights reserved.<BR> 4 This program and the accompanying materials 5 are licensed and made available under the terms and conditions of the BSD License 6 which accompanies this distribution. The full text of the license may be found at 7 http://opensource.org/licenses/bsd-license.php 8 9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 11 12 Module Name: 13 14 LoadFile2.h 15 16 Abstract: 17 18 PI 1.0 spec definition. 19 20 --*/ 21 22 #ifndef __LOAD_FILE_PPI_H__ 23 #define __LOAD_FILE_PPI_H__ 24 25 EFI_FORWARD_DECLARATION (EFI_PEI_LOAD_FILE_PPI); 26 27 #define EFI_PEI_LOAD_FILE_GUID \ 28 { 0xb9e0abfe, 0x5979, 0x4914, {0x97, 0x7f, 0x6d, 0xee, 0x78, 0xc2, 0x78, 0xa6}} 29 30 31 typedef 32 EFI_STATUS 33 (EFIAPI *EFI_PEI_LOAD_FILE) ( 34 IN CONST EFI_PEI_LOAD_FILE_PPI *This, 35 IN EFI_PEI_FILE_HANDLE FileHandle, 36 OUT EFI_PHYSICAL_ADDRESS *ImageAddress, 37 OUT UINT64 *ImageSize, 38 OUT EFI_PHYSICAL_ADDRESS *EntryPoint, 39 OUT UINT32 *AuthenticationState 40 ); 41 42 43 struct _EFI_PEI_LOAD_FILE_PPI { 44 EFI_PEI_LOAD_FILE LoadFile; 45 }; 46 47 48 extern EFI_GUID gEfiLoadFile2PpiGuid; 49 #endif 50