]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Ppi/LoadImage.h
Code Scrub for Protocol and Ppi Definition
[mirror_edk2.git] / MdePkg / Include / Ppi / LoadImage.h
1 /** @file
2 The file descript 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 @par Ppi Description:
31 This interface is installed by the PEI Dispatcher after the image has been
32 loaded and after all security checks have been performed,
33 to notify other PEIMs of the files which are being loaded.
34
35 @param ImageAddress Address of the image at the address where it will be executed.
36
37 @param ImageSize Size of the image as it will be executed.
38
39 @param FileHandle File handle from which the image was loaded. Can be NULL,
40 indicating the image was not loaded from a handle.
41
42 **/
43 struct _EFI_PEI_LOADED_IMAGE_PPI {
44 EFI_PHYSICAL_ADDRESS ImageAddress;
45 UINT64 ImageSize;
46 EFI_PEI_FILE_HANDLE FileHandle;
47 };
48
49
50 extern EFI_GUID gEfiPeiLoadedImagePpiGuid;
51
52 #endif