summaryrefslogtreecommitdiff
path: root/Core/EM/Slp10/Slp10.h
blob: 8a6ed2b8764c1e1570b13edbf5ccdc69b2ca3026 (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
//*************************************************************************
//*************************************************************************
//**                                                                     **
//**        (C)Copyright 1985-2009, American Megatrends, Inc.            **
//**                                                                     **
//**                       All Rights Reserved.                          **
//**                                                                     **
//**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
//**                                                                     **
//**                       Phone: (770)-246-8600                         **
//**                                                                     **
//*************************************************************************
//*************************************************************************

//*****************************************************************************
// $Header: /Alaska/SOURCE/Modules/Slp10/Slp10.h 1     6/18/09 5:31p Vyacheslava $
//
// $Revision: 1 $
//
// $Date: 6/18/09 5:31p $
//*****************************************************************************
// Revision History
// ----------------
// $Log: /Alaska/SOURCE/Modules/Slp10/Slp10.h $
// 
// 1     6/18/09 5:31p Vyacheslava
// Initial Creation
// 
//
//*****************************************************************************
//<AMI_FHDR_START>
//
// Name: Slp10.h
//
// Description: Internal header file of the Slp10 eModule.
//
//<AMI_FHDR_END>
//*****************************************************************************

#ifndef _AMI_SLP10_MODULE_H
#define _AMI_SLP10_MODULE_H

#include <EFI.h>
#include <Token.h>

#ifdef __cplusplus
extern "C" {
#endif

// {2EBE0275-6458-4af9-91ED-D3F4EDB100AA}
#define BIOS_FEATURES_SECTION_GUID \
    {0x2ebe0275, 0x6458, 0x4af9, 0x91, 0xed, 0xd3, 0xf4, 0xed, 0xb1, 0x0, 0xaa}

#define OEM_DATA_LOCATION_BIT   0x80

#pragma pack(1)

//<AMI_SHDR_START>
//----------------------------------------------------------------------------
// Name: BIOS_OEM_DATA
//
// Description:	This structure comes out of the AMI Utility Specification.
//
// Fields:   
//  Name        Type        Description
// ---------------------------------------------------------------------------
//  Guid        EFI_GUID    Firmware Section GUID 
//	Identifier  CHAR8       Identifier String "$ODB$"
//  Flag        UINT16      Data Flag
//  Size        UINT16      Data Size
//  Data        UINT8       Data Buffer (SLP String)
//
//----------------------------------------------------------------------------
//<AMI_SHDR_END>

typedef struct _BIOS_OEM_DATA {
    EFI_GUID Guid;
    CHAR8    Identifier[6];
    UINT16   Flag;
    UINT16   Size;
    UINT8    Data[OEM_DATA_SPACE_SIZE];
} BIOS_OEM_DATA;

#pragma pack()

#ifdef __cplusplus
}
#endif

#endif

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