]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | The file describes the PPI which notifies other drivers\r | |
3 | of the PEIM being initialized by the PEI Dispatcher.\r | |
4 | \r | |
5 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
6 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
7 | \r | |
8 | @par Revision Reference:\r | |
9 | This PPI is introduced in PI Version 1.0.\r | |
10 | \r | |
11 | **/\r | |
12 | \r | |
13 | #ifndef __LOADED_IMAGE_PPI_H__\r | |
14 | #define __LOADED_IMAGE_PPI_H__\r | |
15 | \r | |
16 | #define EFI_PEI_LOADED_IMAGE_PPI_GUID \\r | |
17 | { 0xc1fcd448, 0x6300, 0x4458, { 0xb8, 0x64, 0x28, 0xdf, 0x1, 0x53, 0x64, 0xbc } }\r | |
18 | \r | |
19 | typedef struct _EFI_PEI_LOADED_IMAGE_PPI EFI_PEI_LOADED_IMAGE_PPI;\r | |
20 | \r | |
21 | ///\r | |
22 | /// This interface is installed by the PEI Dispatcher after the image has been\r | |
23 | /// loaded and after all security checks have been performed,\r | |
24 | /// to notify other PEIMs of the files which are being loaded.\r | |
25 | ///\r | |
26 | struct _EFI_PEI_LOADED_IMAGE_PPI {\r | |
27 | ///\r | |
28 | /// Address of the image at the address where it will be executed.\r | |
29 | ///\r | |
30 | EFI_PHYSICAL_ADDRESS ImageAddress;\r | |
31 | ///\r | |
32 | /// Size of the image as it will be executed.\r | |
33 | ///\r | |
34 | UINT64 ImageSize;\r | |
35 | ///\r | |
36 | /// File handle from which the image was loaded.\r | |
37 | /// Can be NULL, indicating the image was not loaded from a handle.\r | |
38 | ///\r | |
39 | EFI_PEI_FILE_HANDLE FileHandle;\r | |
40 | };\r | |
41 | \r | |
42 | extern EFI_GUID gEfiPeiLoadedImagePpiGuid;\r | |
43 | \r | |
44 | #endif\r |