summaryrefslogtreecommitdiff
path: root/Include/PPI/LoadedImagePpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/PPI/LoadedImagePpi.h')
-rw-r--r--Include/PPI/LoadedImagePpi.h83
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 **
+//** **
+//**********************************************************************
+//**********************************************************************