]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Framework/Ppi/LoadedImage/LoadedImage.h
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Ppi / LoadedImage / LoadedImage.h
1 /*++
2
3 Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 LoadedImage.h
15
16 Abstract:
17
18 The file describes the PPI which notifies other drivers
19 of the PEIM being initialized by the PEI Dispatcher.
20
21 --*/
22
23 #ifndef __LOADED_IMAGE_PPI_H__
24 #define __LOADED_IMAGE_PPI_H__
25
26 #include "Tiano.h"
27
28 #define EFI_PEI_LOADED_IMAGE_PPI_GUID \
29 { 0xc1fcd448, 0x6300, 0x4458, {0xb8, 0x64, 0x28, 0xdf, 0x01, 0x53, 0x64, 0xbc} }
30
31 typedef struct _EFI_PEI_LOADED_IMAGE_PPI EFI_PEI_LOADED_IMAGE_PPI;
32
33 ///
34 /// This interface is installed by the PEI Dispatcher after the image has been
35 /// loaded and after all security checks have been performed,
36 /// to notify other PEIMs of the files which are being loaded.
37 ///
38 struct _EFI_PEI_LOADED_IMAGE_PPI {
39 ///
40 /// Address of the image at the address where it will be executed.
41 ///
42 EFI_PHYSICAL_ADDRESS ImageAddress;
43 ///
44 /// Size of the image as it will be executed.
45 ///
46 UINT64 ImageSize;
47 ///
48 /// File handle from which the image was loaded.
49 /// Can be NULL, indicating the image was not loaded from a handle.
50 ///
51 EFI_PEI_FILE_HANDLE FileHandle;
52 };
53
54 extern EFI_GUID gEfiPeiLoadedImagePpiGuid;
55
56 #endif