summaryrefslogtreecommitdiff
path: root/Include/PPI/LoadedImagePpi.h
blob: 4d149595bbe69bb993871a88afaf797fccdacdec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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                      **
//**                                                                  **
//**********************************************************************
//**********************************************************************