]>
Commit | Line | Data |
---|---|---|
c311f86b | 1 | /** @file\r |
dafa11b1 | 2 | The file describes the PPI which notifies other drivers \r |
00edb218 | 3 | of the PEIM being initialized by the PEI Dispatcher.\r |
5879b875 | 4 | \r |
9df063a0 HT |
5 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r |
6 | This program and the accompanying materials \r | |
5879b875 | 7 | are licensed and made available under the terms and conditions of the BSD License \r |
8 | which accompanies this distribution. The full text of the license may be found at \r | |
9 | http://opensource.org/licenses/bsd-license.php \r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
13 | \r | |
5879b875 | 14 | @par Revision Reference:\r |
0047820e | 15 | This PPI is introduced in PI Version 1.0.\r |
5879b875 | 16 | \r |
17 | **/\r | |
18 | \r | |
19 | #ifndef __LOADED_IMAGE_PPI_H__\r | |
20 | #define __LOADED_IMAGE_PPI_H__\r | |
21 | \r | |
22 | #define EFI_PEI_LOADED_IMAGE_PPI_GUID \\r | |
00edb218 | 23 | { 0xc1fcd448, 0x6300, 0x4458, { 0xb8, 0x64, 0x28, 0xdf, 0x1, 0x53, 0x64, 0xbc } }\r |
5879b875 | 24 | \r |
25 | \r | |
00edb218 | 26 | typedef struct _EFI_PEI_LOADED_IMAGE_PPI EFI_PEI_LOADED_IMAGE_PPI;\r |
5879b875 | 27 | \r |
dafa11b1 | 28 | ///\r |
29 | /// This interface is installed by the PEI Dispatcher after the image has been\r | |
30 | /// loaded and after all security checks have been performed, \r | |
31 | /// to notify other PEIMs of the files which are being loaded.\r | |
32 | ///\r | |
5879b875 | 33 | struct _EFI_PEI_LOADED_IMAGE_PPI {\r |
dafa11b1 | 34 | ///\r |
35 | /// Address of the image at the address where it will be executed.\r | |
36 | ///\r | |
00edb218 | 37 | EFI_PHYSICAL_ADDRESS ImageAddress;\r |
dafa11b1 | 38 | ///\r |
39 | /// Size of the image as it will be executed.\r | |
40 | ///\r | |
00edb218 | 41 | UINT64 ImageSize;\r |
dafa11b1 | 42 | ///\r |
43 | /// File handle from which the image was loaded.\r | |
44 | /// Can be NULL, indicating the image was not loaded from a handle.\r | |
45 | ///\r | |
00edb218 | 46 | EFI_PEI_FILE_HANDLE FileHandle;\r |
5879b875 | 47 | };\r |
48 | \r | |
49 | \r | |
50 | extern EFI_GUID gEfiPeiLoadedImagePpiGuid;\r | |
51 | \r | |
52 | #endif\r |