]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Ppi/LoadImage.h
Update MdePkg/Include/Ppi according to code review comments.
[mirror_edk2.git] / MdePkg / Include / Ppi / LoadImage.h
1 /** @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 - 2008, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 @par Revision Reference:
15 This PPI is defined in PI.
16 Version 1.00.
17
18 **/
19
20 #ifndef __LOADED_IMAGE_PPI_H__
21 #define __LOADED_IMAGE_PPI_H__
22
23 #define EFI_PEI_LOADED_IMAGE_PPI_GUID \
24 { 0xc1fcd448, 0x6300, 0x4458, { 0xb8, 0x64, 0x28, 0xdf, 0x1, 0x53, 0x64, 0xbc } }
25
26
27 typedef struct _EFI_PEI_LOADED_IMAGE_PPI EFI_PEI_LOADED_IMAGE_PPI;
28
29 ///
30 /// This interface is installed by the PEI Dispatcher after the image has been
31 /// loaded and after all security checks have been performed,
32 /// to notify other PEIMs of the files which are being loaded.
33 ///
34 struct _EFI_PEI_LOADED_IMAGE_PPI {
35 ///
36 /// Address of the image at the address where it will be executed.
37 ///
38 EFI_PHYSICAL_ADDRESS ImageAddress;
39 ///
40 /// Size of the image as it will be executed.
41 ///
42 UINT64 ImageSize;
43 ///
44 /// File handle from which the image was loaded.
45 /// Can be NULL, indicating the image was not loaded from a handle.
46 ///
47 EFI_PEI_FILE_HANDLE FileHandle;
48 };
49
50
51 extern EFI_GUID gEfiPeiLoadedImagePpiGuid;
52
53 #endif