blob: a957515d21abb0b383d05494bd43623359120de3 (
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
|
//*************************************************************************
//*************************************************************************
//** **
//** (C)Copyright 1985-2008, American Megatrends, Inc. **
//** **
//** All Rights Reserved. **
//** **
//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
//** **
//** Phone: (770)-246-8600 **
//** **
//*************************************************************************
//*************************************************************************
//**********************************************************************
// $Header: /Alaska/BIN/Chipset/Template/CSPLibrary/FwVersion.h 11 2/22/11 4:41p Artems $
//
// $Revision: 11 $
//
// $Date: 2/22/11 4:41p $
//*****************************************************************************
// Revision History
// ----------------
// $Log: /Alaska/BIN/Chipset/Template/CSPLibrary/FwVersion.h $
//
// 11 2/22/11 4:41p Artems
// EIP 51548 - Added AMI copyright headers, replaced TABs with spaces
//
// 10 12/17/10 4:41p Artems
// Added OEM activation key support
//
// 9 5/21/10 4:29p Artems
// Changed to version 3 as per Utility specification
//
// 8 4/05/10 6:15p Artems
// Added Core 4.6.3 backward compatibility fix
//
// 7 12/03/09 12:07p Robert
// updated table header information
//
// 6 12/02/09 4:55p Robert
// Added changes for support for Revision 2 of the Firmware Version
// Structure
//
// 5 6/12/09 1:40p Robert
// added source safe headers
//
//
//*****************************************************************************
//<AMI_FHDR_START>
//----------------------------------------------------------------------------
//
// Name: FwVersion.h
//
// Description:
// This file the FW_VERSION data structure which is used by AMI utilities to
// provide information about the BIOS
//
//----------------------------------------------------------------------------
//<AMI_FHDR_END>
#ifndef __FW_VERSION_H__
#define __FW_VERSION_H__
#ifdef __cplusplus
extern "C" {
#endif
#define FID_SIGNATURE 0x24464944 //'$FID' signature of the FW VERSION STRUCTURE
#pragma pack (1)
//<AMI_GHDR_START>
//------------------------------------------------------------------
//
// Name: FW_VERSION
//
// Fields: Type ParameterName Description
//------------------------------------------------------------------
// CHAR8 "FirmwareID[4]" - Signature '$FID'
// UINT8 StructVersion - Version of the FW_VERSION Structure
// UINT16 Size - Size of this structure
// CHAR8 "BiosTag[9]" - BIOS Tag
// EFI_GUID FirmwareGuid - Firmware GUID
// CHAR8 "CoreMajorVersion[3]" - Aptio Core Major Version
// CHAR8 "CoreMinorVersion[3]" - Aptio Core Minor Version
// CHAR8 "ProjectMajorVersion[3]" - Project Major Version
// CHAR8 "ProjectMinorVersion[3]" - Project Minor Version
// UINT16 Year - Build Year
// UINT8 Month - Build Month
// UINT8 Day - Build Day
// UINT8 Hour - Build Hour
// UINT8 Minute - Build Minute
// UINT8 Second - Build Second
// UINT32 OemActivationKeyLength - Length of the OEM Activation key
// UINT8 OemActivationKey[49] - OEM Activation key
//
// Description:
// This data structure contains the information used by AMI utilities
// to provide information about the current BIOS
//
//
// Notes:
// Data structure changed for version 2 of the Firmware Version Structure
// Version 1 is no longer supported
//
//------------------------------------------------------------------
//<AMI_GHDR_END>
typedef struct{
CHAR8 FirmwareID[4]; //Signature '$FID'
UINT8 StructVersion; //Version of the FW_VERSION Struct
UINT16 Size; //Size of this structure
CHAR8 BiosTag[9]; //BIOS Tag
EFI_GUID FirmwareGuid; //Firmware GUID
CHAR8 CoreMajorVersion[3];
CHAR8 CoreMinorVersion[3];
CHAR8 ProjectMajorVersion[3];
CHAR8 ProjectMinorVersion[3];
UINT16 Year;
UINT8 Month;
UINT8 Day;
UINT8 Hour;
UINT8 Minute;
UINT8 Second;
UINT16 SignOnStringId;
UINT8 OemId[6];
UINT8 OemTableId[8];
UINT32 OemActivationKeyLength;
UINT8 OemActivationKey[49];
}FW_VERSION;
#pragma pack ()
/****** DO NOT WRITE BELOW THIS LINE *******/
#ifdef __cplusplus
}
#endif
#endif
//*************************************************************************
//*************************************************************************
//** **
//** (C)Copyright 1985-2008, American Megatrends, Inc. **
//** **
//** All Rights Reserved. **
//** **
//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
//** **
//** Phone: (770)-246-8600 **
//** **
//*************************************************************************
//*************************************************************************
|