]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Ppi/LoadImage.h
MdeModulePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Ppi / LoadImage.h
CommitLineData
c311f86b 1/** @file\r
9095d37b 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
9095d37b 5 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
9344f092 6 SPDX-License-Identifier: BSD-2-Clause-Patent\r
5879b875 7\r
5879b875 8 @par Revision Reference:\r
0047820e 9 This PPI is introduced in PI Version 1.0.\r
5879b875 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
00edb218 17 { 0xc1fcd448, 0x6300, 0x4458, { 0xb8, 0x64, 0x28, 0xdf, 0x1, 0x53, 0x64, 0xbc } }\r
5879b875 18\r
19\r
00edb218 20typedef struct _EFI_PEI_LOADED_IMAGE_PPI EFI_PEI_LOADED_IMAGE_PPI;\r
5879b875 21\r
dafa11b1 22///\r
23/// This interface is installed by the PEI Dispatcher after the image has been\r
9095d37b 24/// loaded and after all security checks have been performed,\r
dafa11b1 25/// to notify other PEIMs of the files which are being loaded.\r
26///\r
5879b875 27struct _EFI_PEI_LOADED_IMAGE_PPI {\r
dafa11b1 28 ///\r
29 /// Address of the image at the address where it will be executed.\r
30 ///\r
00edb218 31 EFI_PHYSICAL_ADDRESS ImageAddress;\r
dafa11b1 32 ///\r
33 /// Size of the image as it will be executed.\r
34 ///\r
00edb218 35 UINT64 ImageSize;\r
dafa11b1 36 ///\r
37 /// File handle from which the image was loaded.\r
38 /// Can be NULL, indicating the image was not loaded from a handle.\r
39 ///\r
00edb218 40 EFI_PEI_FILE_HANDLE FileHandle;\r
5879b875 41};\r
42\r
43\r
44extern EFI_GUID gEfiPeiLoadedImagePpiGuid;\r
45\r
46#endif\r