2008-04-03 06:56:34 +02:00
|
|
|
/** @file
|
2018-06-27 15:11:33 +02:00
|
|
|
The file describes the PPI which notifies other drivers
|
2007-06-18 22:28:02 +02:00
|
|
|
of the PEIM being initialized by the PEI Dispatcher.
|
2007-06-13 13:11:23 +02:00
|
|
|
|
2018-06-27 15:11:33 +02:00
|
|
|
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:06:00 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2007-06-13 13:11:23 +02:00
|
|
|
|
|
|
|
@par Revision Reference:
|
2008-10-28 14:04:40 +01:00
|
|
|
This PPI is introduced in PI Version 1.0.
|
2007-06-13 13:11:23 +02:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef __LOADED_IMAGE_PPI_H__
|
|
|
|
#define __LOADED_IMAGE_PPI_H__
|
|
|
|
|
|
|
|
#define EFI_PEI_LOADED_IMAGE_PPI_GUID \
|
2007-06-18 22:28:02 +02:00
|
|
|
{ 0xc1fcd448, 0x6300, 0x4458, { 0xb8, 0x64, 0x28, 0xdf, 0x1, 0x53, 0x64, 0xbc } }
|
2007-06-13 13:11:23 +02:00
|
|
|
|
|
|
|
|
2007-06-18 22:28:02 +02:00
|
|
|
typedef struct _EFI_PEI_LOADED_IMAGE_PPI EFI_PEI_LOADED_IMAGE_PPI;
|
2007-06-13 13:11:23 +02:00
|
|
|
|
2008-09-04 11:15:21 +02:00
|
|
|
///
|
|
|
|
/// This interface is installed by the PEI Dispatcher after the image has been
|
2018-06-27 15:11:33 +02:00
|
|
|
/// loaded and after all security checks have been performed,
|
2008-09-04 11:15:21 +02:00
|
|
|
/// to notify other PEIMs of the files which are being loaded.
|
|
|
|
///
|
2007-06-13 13:11:23 +02:00
|
|
|
struct _EFI_PEI_LOADED_IMAGE_PPI {
|
2008-09-04 11:15:21 +02:00
|
|
|
///
|
|
|
|
/// Address of the image at the address where it will be executed.
|
|
|
|
///
|
2007-06-18 22:28:02 +02:00
|
|
|
EFI_PHYSICAL_ADDRESS ImageAddress;
|
2008-09-04 11:15:21 +02:00
|
|
|
///
|
|
|
|
/// Size of the image as it will be executed.
|
|
|
|
///
|
2007-06-18 22:28:02 +02:00
|
|
|
UINT64 ImageSize;
|
2008-09-04 11:15:21 +02:00
|
|
|
///
|
|
|
|
/// File handle from which the image was loaded.
|
|
|
|
/// Can be NULL, indicating the image was not loaded from a handle.
|
|
|
|
///
|
2007-06-18 22:28:02 +02:00
|
|
|
EFI_PEI_FILE_HANDLE FileHandle;
|
2007-06-13 13:11:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
extern EFI_GUID gEfiPeiLoadedImagePpiGuid;
|
|
|
|
|
|
|
|
#endif
|