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