]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Ppi/LoadImage.h
MdePkg: 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
2f88bd3a 19typedef struct _EFI_PEI_LOADED_IMAGE_PPI EFI_PEI_LOADED_IMAGE_PPI;\r
5879b875 20\r
dafa11b1 21///\r
22/// This interface is installed by the PEI Dispatcher after the image has been\r
9095d37b 23/// loaded and after all security checks have been performed,\r
dafa11b1 24/// to notify other PEIMs of the files which are being loaded.\r
25///\r
5879b875 26struct _EFI_PEI_LOADED_IMAGE_PPI {\r
dafa11b1 27 ///\r
28 /// Address of the image at the address where it will be executed.\r
29 ///\r
2f88bd3a 30 EFI_PHYSICAL_ADDRESS ImageAddress;\r
dafa11b1 31 ///\r
32 /// Size of the image as it will be executed.\r
33 ///\r
2f88bd3a 34 UINT64 ImageSize;\r
dafa11b1 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
2f88bd3a 39 EFI_PEI_FILE_HANDLE FileHandle;\r
5879b875 40};\r
41\r
2f88bd3a 42extern EFI_GUID gEfiPeiLoadedImagePpiGuid;\r
5879b875 43\r
44#endif\r