summaryrefslogtreecommitdiff
path: root/Include/Protocol/SmmStatusCode.h
blob: c5d3e96ebbf8c0c87df6a7183d022f86e384bb14 (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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
//*************************************************************************
//*************************************************************************
//**                                                                     **
//**        (C)Copyright 1985-2011, American Megatrends, Inc.            **
//**                                                                     **
//**                       All Rights Reserved.                          **
//**                                                                     **
//**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
//**                                                                     **
//**                       Phone: (770)-246-8600                         **
//**                                                                     **
//*************************************************************************
//*************************************************************************

//**********************************************************************
// $Header: /Alaska/SOURCE/Modules/SMM/SmmStatusCode.h 4     4/18/11 5:11p Markw $
//
// $Revision: 4 $
//
// $Date: 4/18/11 5:11p $
//*****************************************************************************
// Revision History
// ----------------
// $Log: /Alaska/SOURCE/Modules/SMM/SmmStatusCode.h $
// 
// 4     4/18/11 5:11p Markw
// Revert back to Rev 1.
// 
// 3     3/04/11 3:36p Markw
// Update headers.
// 
// 2     7/08/09 8:02p Markw
// Update headers.
// 
// 1     3/18/07 1:54p Markw
// 
// 2     3/13/06 1:40a Felixp
// 
// 1     1/28/05 12:44p Felixp
// 
// 3     1/18/05 3:22p Felixp
// PrintDebugMessage renamed to Trace
// 
// 1     12/23/04 9:41a Felixp
// 
// 2     3/30/04 3:16p Markw
// Removed duplicate definition.
// 
// 1     2/17/04 2:09p Markw
// 
//*****************************************************************************
//<AMI_FHDR_START>
//
// Name:	SmmStatusCode_h
//
// Description:	This file is an include file used to define the Protocol for the
//		        Firmware Volume Block Protocol.
//
//<AMI_FHDR_END>
//*****************************************************************************
#ifndef __SMM_STATUS_CODE_PROTOCOL_H__
#define __SMM_STATUS_CODE_PROTOCOL_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <EFI.h>

#define EFI_SMM_STATUS_CODE_PROTOCOL_GUID \
	{0x6afd2b77,0x98c1,0x4acd,0xa6,0xf9,0x8a,0x94,0x39,0xde,0xf,0xb1}

GUID_VARIABLE_DECLARATION(gEfiSmmStatusCodeProtocolGuid,EFI_SMM_STATUS_CODE_PROTOCOL_GUID);

typedef struct _EFI_SMM_STATUS_CODE_PROTOCOL EFI_SMM_STATUS_CODE_PROTOCOL;

typedef EFI_STATUS (EFIAPI *EFI_SMM_REPORT_STATUS_CODE) (
	IN EFI_SMM_STATUS_CODE_PROTOCOL	*This,
	IN EFI_STATUS_CODE_TYPE			CodeType,
	IN EFI_STATUS_CODE_VALUE		Value,
	IN UINT32						Instance,
	IN EFI_GUID						*CallerId,
	IN EFI_STATUS_CODE_DATA			*Data OPTIONAL
);

struct _EFI_SMM_STATUS_CODE_PROTOCOL {
	EFI_SMM_REPORT_STATUS_CODE ReportStatusCode;
};

/****** DO NOT WRITE BELOW THIS LINE *******/
#ifdef __cplusplus
}
#endif
#endif

//*************************************************************************
//*************************************************************************
//**                                                                     **
//**        (C)Copyright 1985-2011, American Megatrends, Inc.            **
//**                                                                     **
//**                       All Rights Reserved.                          **
//**                                                                     **
//**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
//**                                                                     **
//**                       Phone: (770)-246-8600                         **
//**                                                                     **
//*************************************************************************
//*************************************************************************