summaryrefslogtreecommitdiff
path: root/Core/EM/ACPI/AMLUPD.asl
blob: 112797cbaee62123b27ad8308f78caa3b341199f (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
157
158
159
160
161
162
163
// OEM ASL file. Defines ASL Name fields to be linked to AML Exchange bufer location
//**********************************************************************
//**********************************************************************
//**                                                                  **
//**        (C)Copyright 1985-2009, American Megatrends, Inc.         **
//**                                                                  **
//**                       All Rights Reserved.                       **
//**                                                                  **
//**             5555 Oakbrook Pkwy, Norcross, GA 30093               **
//**                                                                  **
//**                       Phone: (770)-246-8600                      **
//**                                                                  **
//**********************************************************************
//**********************************************************************
// $Header: /Alaska/BIN/Modules/ACPI/Template/Core/AMLUPD.asl 10    10/14/10 4:59p Oleksiyy $
//
// $Revision: 10 $
//
// $Date: 10/14/10 4:59p $
//
//****************************************************************************
// Revision History
// ----------------
// $Log: /Alaska/BIN/Modules/ACPI/Template/Core/AMLUPD.asl $
// 
// 10    10/14/10 4:59p Oleksiyy
// [TAG]  		EIP46166 
// [Category]  	Improvement
// [Description]  	Fix to made Primary VGA selection on different Root
// Bridges backward compatible with Core 4.6.4.0.
// [Files]  		AMLUPD.asl, RbRes.asl
// 
// 9     9/28/09 6:35p Yakovlevs
// Changes to support Multy Root resource reporting features.
// All PCI ROOT resource reporting features moved to RbRes.asl
// 
// 8     3/26/09 4:53p Oleksiyy
// New ACPI Core implementation - improves logic, execution time and
// memory usage of ACPI module.
// 
// 7     6/28/05 5:22p Yakovlevs
// 
// 6     6/03/05 2:42p Yakovlevs
// 
// 5     5/31/05 12:09p Yakovlevs
// 
// 4     5/27/05 5:57p Yakovlevs
// 
// 3     5/18/05 11:49a Yakovlevs
// 
// 2     5/05/05 7:11p Yakovlevs
// 
// 3     5/05/05 5:39p Yakovlevs
// 
// 2     4/28/05 2:51p Yakovlevs
// 
// 1     4/25/05 10:56a Markw
// 
// 1     3/24/05 5:01p Sivagarn
// 
// 1     2/03/05 6:42p Sivagarn
// 0ABHI001 Check in
// 
// 1     7/27/04 2:48p Yakovlevs
// 
// 8     7/17/02 12:13p Alexp
// Add example of code to report memory above 4GB. Code is commented out.
// 
// 7     6/10/02 11:53a Alexp
// Delete IO APIC related ranges from AMLdata buffer. Use ACPI SDL
// parameters to provide same ranges.
// 
// 6     5/17/02 11:01a Alexp
// Removed several names (SPIO, PMBS,..) as they were defined as static
// equates and can be passed to ASL from SDL outut directly, not using
// Aml_exchange buffer
// 
// 5     3/20/02 11:54a Alexp
// 
// 4     2/26/02 12:16p Alexp
// Update headers to generate proper .chm help
// 
// 3     11/05/01 1:23p Alexp
// Remove Thermal variables from Template AML_Exchange buffer
// 
// 2     11/01/01 9:50a Alexp
// 
//----------------------------------------------------------------------


//;<AMI_THDR_START>
//;------------------------------------------------------------------------/
//;
//; Name:	BIOS
//;
//; Type: OperationRegion
//;
//; Description:	Set of name objects used as an exchange buffer for BIOS to 
//;					pass the System information to AML code
//; 				List of mandatory Name Objects to be defined:
//;					SS1 - SS4 - BIOS setup enabled sleep states.
//; 				MG1B, MG1L - Non-shadowed memory range below 1Mb. Available for PCI0 bus.
//; 				MG2B, MG2L - Memory range above available System memory. Available for PCI0 bus.
//;
//; Notes: Memory location and all Name values are updated in BIOS POST
//; Referrals: AMLDATA
//;-------------------------------------------------------------------------
//;<AMI_THDR_END>

///////////////////////////////////////////////////////////////////////////////////
//Values are set like this to have ASL compiler reserve enough space for objects 
///////////////////////////////////////////////////////////////////////////////////
// Available Sleep states
Name(SS1,1)		// is S1 enabled in setup?
Name(SS2,0)
Name(SS3,1)
Name(SS4,1)
///////////////////////////////////////////////////////////////////////////////////
// Bit mask of statuses of IO peripheral devices, enabled in Setup
//      0x0 - Serial A (Modem)
//        1 - Serial B (IR)
//        2 - LPT
//        3 - FDD
//----------------------------
//        4 - SB16 Audio
//        5 - Midi
//        6 - Mss Audio
//        7 - Adlib sound (FM synth)
//----------------------------
//        8 - Game 1 port
//        9 - Game 2 port
//        a - KBC 60 & 64
//        b - EC 62 & 66
//----------------------------
//		  c - reserved
//		  d	- reserved
//        e - PS2Mouse
//        f - reserved
///////////////////////////////////////////////////////////////////////////////////
Name(IOST,0xFFFF)		// Bit mask of statuses of IO peripheral devices, 
						// enabled in Setup
///////////////////////////////////////////////////////////////////////////////////
Name(TOPM,0xFFFFF)   	// System memory top address below 4GB, bytes

///////////////////////////////////////////////////////////////////////////////////
Name(ROMS,0xffe00000)	// Boot strap BIOS image address at top 4Gbyte

///////////////////////////////////////////////////////////////////////////////////
Name(VGAF, 0x1)         //Flag to indicate Legacy VGA Resources were clamed already

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