diff options
author | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
---|---|---|
committer | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
commit | b7c51c9cf4864df6aabb99a1ae843becd577237c (patch) | |
tree | eebe9b0d0ca03062955223097e57da84dd618b9a /Include/PPI/LoadedImagePpi.h | |
download | zprj-b7c51c9cf4864df6aabb99a1ae843becd577237c.tar.xz |
Diffstat (limited to 'Include/PPI/LoadedImagePpi.h')
-rw-r--r-- | Include/PPI/LoadedImagePpi.h | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/Include/PPI/LoadedImagePpi.h b/Include/PPI/LoadedImagePpi.h new file mode 100644 index 0000000..4d14959 --- /dev/null +++ b/Include/PPI/LoadedImagePpi.h @@ -0,0 +1,83 @@ +//********************************************************************** +//********************************************************************** +//** ** +//** (C)Copyright 1985-2006, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 6145-F Northbelt Pkwy, Norcross, GA 30071 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//********************************************************************** +//********************************************************************** + +//********************************************************************** +// $Header: /Alaska/BIN/Core/Include/PPI/LoadedImagePpi.h 4 2/05/11 2:12p Artems $ +// +// $Revision: 4 $ +// +// $Date: 2/05/11 2:12p $ +//********************************************************************** +// Revision History +// ---------------- +// $Log: /Alaska/BIN/Core/Include/PPI/LoadedImagePpi.h $ +// +// 4 2/05/11 2:12p Artems +// Removed EFI_PEI_FILE_HANDLE definition +// +// 3 3/12/07 9:49a Felixp +// +// 2 3/12/07 9:48a Felixp +// FileHandle type changed +// +// 1 2/19/07 11:19a Pats +// Add definition for Loaded Image PPI, required for AMI debugger support. +// +//********************************************************************** +//<AMI_FHDR_START> +// +// Name: LoadedImagePpi.h +// +// Description: EFI_PEI_LOADED_IMAGE_PPI PPI definition +// +//<AMI_FHDR_END> +//********************************************************************** +#ifndef __LoadedImagePpi__H__ +#define __LoadedImagePpi__H__ +#ifdef __cplusplus +extern "C" { +#endif + +#include <PEI.h> +#include <FFS.h> + +// {A62A3FFF-97F0-4332-8CFD-1E343D3631F2} +#define EFI_PEI_LOADED_IMAGE_PPI_GUID \ +{ 0xa62a3fff, 0x97f0, 0x4332, 0x8c, 0xfd, 0x1e, 0x34, 0x3d, 0x36, 0x31, 0xf2 } + +GUID_VARIABLE_DECLARATION(gEfiPeiLoadedImagePpiGuid, EFI_PEI_LOADED_IMAGE_PPI_GUID); + +typedef struct _EFI_PEI_LOADED_IMAGE_PPI { + EFI_PHYSICAL_ADDRESS ImageAddress; + UINT64 ImageSize; + EFI_PEI_FILE_HANDLE FileHandle; +} EFI_PEI_LOADED_IMAGE_PPI; + +/****** DO NOT WRITE BELOW THIS LINE *******/ +#ifdef __cplusplus +} +#endif +#endif +//********************************************************************** +//** ** +//** (C)Copyright 1985-2006, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 6145-F Northbelt Pkwy, Norcross, GA 30071 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//********************************************************************** +//********************************************************************** |