aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acpredef.h
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2009-07-26 23:31:10 -0400
committerLen Brown <len.brown@intel.com>2009-08-28 19:40:39 -0400
commitd9adc2e031bd22d5d9607a53a8d3b30e0b675f39 (patch)
tree874c4e27197942277a861989af9be86a3d79ceee /drivers/acpi/acpica/acpredef.h
parent6e2d5ebd0d36199920676fdceaff4f4bfe66297b (diff)
ACPICA: reformat predefined method table, no functional change
Reformatted the methods that return package objects. Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acpredef.h')
-rw-r--r--drivers/acpi/acpica/acpredef.h503
1 files changed, 293 insertions, 210 deletions
diff --git a/drivers/acpi/acpica/acpredef.h b/drivers/acpi/acpica/acpredef.h
index 144b1f41663f..c81f14b69270 100644
--- a/drivers/acpi/acpica/acpredef.h
+++ b/drivers/acpi/acpica/acpredef.h
@@ -139,123 +139,180 @@ enum acpi_return_package_types {
139 * is saved here (rather than in a separate table) in order to minimize the 139 * is saved here (rather than in a separate table) in order to minimize the
140 * overall size of the stored data. 140 * overall size of the stored data.
141 */ 141 */
142static const union acpi_predefined_info predefined_names[] = { 142static const union acpi_predefined_info predefined_names[] =
143 {.info = {"_AC0", 0, ACPI_RTYPE_INTEGER}}, 143{
144 {.info = {"_AC1", 0, ACPI_RTYPE_INTEGER}}, 144 {{"_AC0", 0, ACPI_RTYPE_INTEGER}},
145 {.info = {"_AC2", 0, ACPI_RTYPE_INTEGER}}, 145 {{"_AC1", 0, ACPI_RTYPE_INTEGER}},
146 {.info = {"_AC3", 0, ACPI_RTYPE_INTEGER}}, 146 {{"_AC2", 0, ACPI_RTYPE_INTEGER}},
147 {.info = {"_AC4", 0, ACPI_RTYPE_INTEGER}}, 147 {{"_AC3", 0, ACPI_RTYPE_INTEGER}},
148 {.info = {"_AC5", 0, ACPI_RTYPE_INTEGER}}, 148 {{"_AC4", 0, ACPI_RTYPE_INTEGER}},
149 {.info = {"_AC6", 0, ACPI_RTYPE_INTEGER}}, 149 {{"_AC5", 0, ACPI_RTYPE_INTEGER}},
150 {.info = {"_AC7", 0, ACPI_RTYPE_INTEGER}}, 150 {{"_AC6", 0, ACPI_RTYPE_INTEGER}},
151 {.info = {"_AC8", 0, ACPI_RTYPE_INTEGER}}, 151 {{"_AC7", 0, ACPI_RTYPE_INTEGER}},
152 {.info = {"_AC9", 0, ACPI_RTYPE_INTEGER}}, 152 {{"_AC8", 0, ACPI_RTYPE_INTEGER}},
153 {.info = {"_ADR", 0, ACPI_RTYPE_INTEGER}}, 153 {{"_AC9", 0, ACPI_RTYPE_INTEGER}},
154 {.info = {"_AL0", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 154 {{"_ADR", 0, ACPI_RTYPE_INTEGER}},
155 {.info = {"_AL1", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 155 {{"_AL0", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
156 {.info = {"_AL2", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 156 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
157 {.info = {"_AL3", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 157
158 {.info = {"_AL4", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 158 {{"_AL1", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
159 {.info = {"_AL5", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 159 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
160 {.info = {"_AL6", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 160
161 {.info = {"_AL7", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 161 {{"_AL2", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
162 {.info = {"_AL8", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 162 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
163 {.info = {"_AL9", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 163
164 {.info = {"_ALC", 0, ACPI_RTYPE_INTEGER}}, 164 {{"_AL3", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
165 {.info = {"_ALI", 0, ACPI_RTYPE_INTEGER}}, 165 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
166 {.info = {"_ALP", 0, ACPI_RTYPE_INTEGER}}, 166
167 {.info = {"_ALR", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE2, ACPI_RTYPE_INTEGER, 2, 0, 0, 0}}, /* variable (Pkgs) each 2 (Ints) */ 167 {{"_AL4", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
168 {.info = {"_ALT", 0, ACPI_RTYPE_INTEGER}}, 168 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
169 {.info = {"_BBN", 0, ACPI_RTYPE_INTEGER}}, 169
170 {.info = {"_BCL", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 0, 0, 0, 0}}, /* variable (Ints) */ 170 {{"_AL5", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
171 {.info = {"_BCM", 1, 0}}, 171 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
172 {.info = {"_BDN", 0, ACPI_RTYPE_INTEGER}}, 172
173 {.info = {"_BFS", 1, 0}}, 173 {{"_AL6", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
174 {.info = {"_BIF", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 174 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
175 9, 175
176 ACPI_RTYPE_STRING | ACPI_RTYPE_BUFFER, 4, 0}}, /* fixed (9 Int),(4 Str) */ 176 {{"_AL7", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
177 {.info = {"_BLT", 3, 0}}, 177 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
178 {.info = {"_BMC", 1, 0}}, 178
179 {.info = {"_BMD", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 5, 0, 0, 0}}, /* fixed (5 Int) */ 179 {{"_AL8", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
180 {.info = {"_BQC", 0, ACPI_RTYPE_INTEGER}}, 180 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
181 {.info = {"_BST", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 4, 0, 0, 0}}, /* fixed (4 Int) */ 181
182 {.info = {"_BTM", 1, ACPI_RTYPE_INTEGER}}, 182 {{"_AL9", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
183 {.info = {"_BTP", 1, 0}}, 183 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
184 {.info = {"_CBA", 0, ACPI_RTYPE_INTEGER}}, /* see PCI firmware spec 3.0 */ 184
185 {.info = {"_CID", 0, 185 {{"_ALC", 0, ACPI_RTYPE_INTEGER}},
186 ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING | ACPI_RTYPE_PACKAGE}}, 186 {{"_ALI", 0, ACPI_RTYPE_INTEGER}},
187 {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING, 0, 0, 0, 0}}, /* variable (Ints/Strs) */ 187 {{"_ALP", 0, ACPI_RTYPE_INTEGER}},
188 {.info = {"_CRS", 0, ACPI_RTYPE_BUFFER}}, 188 {{"_ALR", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Pkgs) each 2 (Ints) */
189 {.info = {"_CRT", 0, ACPI_RTYPE_INTEGER}}, 189 {{{ACPI_PTYPE2, ACPI_RTYPE_INTEGER, 2,0}, 0,0}},
190 {.info = {"_CSD", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE2_COUNT, ACPI_RTYPE_INTEGER, 0, 0, 0, 0}}, /* variable (1 Int(n), n-1 Int) */ 190
191 {.info = {"_CST", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE2_PKG_COUNT, 191 {{"_ALT", 0, ACPI_RTYPE_INTEGER}},
192 ACPI_RTYPE_BUFFER, 1, 192 {{"_BBN", 0, ACPI_RTYPE_INTEGER}},
193 ACPI_RTYPE_INTEGER, 3, 0}}, /* variable (1 Int(n), n Pkg (1 Buf/3 Int) */ 193 {{"_BCL", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Ints) */
194 {.info = {"_DCK", 1, ACPI_RTYPE_INTEGER}}, 194 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 0,0}, 0,0}},
195 {.info = {"_DCS", 0, ACPI_RTYPE_INTEGER}}, 195
196 {.info = {"_DDC", 1, ACPI_RTYPE_INTEGER | ACPI_RTYPE_BUFFER}}, 196 {{"_BCM", 1, 0}},
197 {.info = {"_DDN", 0, ACPI_RTYPE_STRING}}, 197 {{"_BDN", 0, ACPI_RTYPE_INTEGER}},
198 {.info = {"_DGS", 0, ACPI_RTYPE_INTEGER}}, 198 {{"_BFS", 1, 0}},
199 {.info = {"_DIS", 0, 0}}, 199 {{"_BIF", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (9 Int),(4 Str) */
200 {.info = {"_DMA", 0, ACPI_RTYPE_BUFFER}}, 200 {{{ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 9, ACPI_RTYPE_STRING}, 4,0}},
201 {.info = {"_DOD", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 0, 0, 0, 0}}, /* variable (Ints) */ 201
202 {.info = {"_DOS", 1, 0}}, 202 {{"_BLT", 3, 0}},
203 {.info = {"_DSM", 4, ACPI_RTYPE_ALL}}, /* Must return a type, but it can be of any type */ 203 {{"_BMC", 1, 0}},
204 {.info = {"_DSS", 1, 0}}, 204 {{"_BMD", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (5 Int) */
205 {.info = {"_DSW", 3, 0}}, 205 {{{ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 5,0}, 0,0}},
206 {.info = {"_EC_", 0, ACPI_RTYPE_INTEGER}}, 206
207 {.info = {"_EDL", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 207 {{"_BQC", 0, ACPI_RTYPE_INTEGER}},
208 {.info = {"_EJ0", 1, 0}}, 208 {{"_BST", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (4 Int) */
209 {.info = {"_EJ1", 1, 0}}, 209 {{{ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 4,0}, 0,0}},
210 {.info = {"_EJ2", 1, 0}}, 210
211 {.info = {"_EJ3", 1, 0}}, 211 {{"_BTM", 1, ACPI_RTYPE_INTEGER}},
212 {.info = {"_EJ4", 1, 0}}, 212 {{"_BTP", 1, 0}},
213 {.info = {"_EJD", 0, ACPI_RTYPE_STRING}}, 213 {{"_CBA", 0, ACPI_RTYPE_INTEGER}}, /* See PCI firmware spec 3.0 */
214 {.info = {"_FDE", 0, ACPI_RTYPE_BUFFER}}, 214 {{"_CID", 0, ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING | ACPI_RTYPE_PACKAGE}}, /* Variable-length (Ints/Strs) */
215 {.info = {"_FDI", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 16, 0, 0, 0}}, /* fixed (16 Int) */ 215 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING, 0,0}, 0,0}},
216 {.info = {"_FDM", 1, 0}}, 216
217 {.info = {"_FIX", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 0, 0, 0, 0}}, /* variable (Ints) */ 217 {{"_CRS", 0, ACPI_RTYPE_BUFFER}},
218 {.info = {"_GLK", 0, ACPI_RTYPE_INTEGER}}, 218 {{"_CRT", 0, ACPI_RTYPE_INTEGER}},
219 {.info = {"_GPD", 0, ACPI_RTYPE_INTEGER}}, 219 {{"_CSD", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (1 Int(n), n-1 Int) */
220 {.info = {"_GPE", 0, ACPI_RTYPE_INTEGER}}, /* _GPE method, not _GPE scope */ 220 {{{ACPI_PTYPE2_COUNT, ACPI_RTYPE_INTEGER, 0,0}, 0,0}},
221 {.info = {"_GSB", 0, ACPI_RTYPE_INTEGER}}, 221
222 {.info = {"_GTF", 0, ACPI_RTYPE_BUFFER}}, 222 {{"_CST", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (1 Int(n), n Pkg (1 Buf/3 Int) */
223 {.info = {"_GTM", 0, ACPI_RTYPE_BUFFER}}, 223 {{{ACPI_PTYPE2_PKG_COUNT,ACPI_RTYPE_BUFFER, 1, ACPI_RTYPE_INTEGER}, 3,0}},
224 {.info = {"_GTS", 1, 0}}, 224
225 {.info = {"_HID", 0, ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING}}, 225 {{"_DCK", 1, ACPI_RTYPE_INTEGER}},
226 {.info = {"_HOT", 0, ACPI_RTYPE_INTEGER}}, 226 {{"_DCS", 0, ACPI_RTYPE_INTEGER}},
227 {.info = {"_HPP", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 4, 0, 0, 0}}, /* fixed (4 Int) */ 227 {{"_DDC", 1, ACPI_RTYPE_INTEGER | ACPI_RTYPE_BUFFER}},
228 {{"_DDN", 0, ACPI_RTYPE_STRING}},
229 {{"_DGS", 0, ACPI_RTYPE_INTEGER}},
230 {{"_DIS", 0, 0}},
231 {{"_DMA", 0, ACPI_RTYPE_BUFFER}},
232 {{"_DOD", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Ints) */
233 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 0,0}, 0,0}},
234
235 {{"_DOS", 1, 0}},
236 {{"_DSM", 4, ACPI_RTYPE_ALL}}, /* Must return a type, but it can be of any type */
237 {{"_DSS", 1, 0}},
238 {{"_DSW", 3, 0}},
239 {{"_EC_", 0, ACPI_RTYPE_INTEGER}},
240 {{"_EDL", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs)*/
241 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
242
243 {{"_EJ0", 1, 0}},
244 {{"_EJ1", 1, 0}},
245 {{"_EJ2", 1, 0}},
246 {{"_EJ3", 1, 0}},
247 {{"_EJ4", 1, 0}},
248 {{"_EJD", 0, ACPI_RTYPE_STRING}},
249 {{"_FDE", 0, ACPI_RTYPE_BUFFER}},
250 {{"_FDI", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (16 Int) */
251 {{{ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 16,0}, 0,0}},
252
253 {{"_FDM", 1, 0}},
254 {{"_FIX", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Ints) */
255 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 0,0}, 0,0}},
256
257 {{"_GLK", 0, ACPI_RTYPE_INTEGER}},
258 {{"_GPD", 0, ACPI_RTYPE_INTEGER}},
259 {{"_GPE", 0, ACPI_RTYPE_INTEGER}}, /* _GPE method, not _GPE scope */
260 {{"_GSB", 0, ACPI_RTYPE_INTEGER}},
261 {{"_GTF", 0, ACPI_RTYPE_BUFFER}},
262 {{"_GTM", 0, ACPI_RTYPE_BUFFER}},
263 {{"_GTS", 1, 0}},
264 {{"_HID", 0, ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING}},
265 {{"_HOT", 0, ACPI_RTYPE_INTEGER}},
266 {{"_HPP", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (4 Int) */
267 {{{ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 4,0}, 0,0}},
228 268
229 /* 269 /*
230 * For _HPX, a single package is returned, containing a variable number of sub-packages. 270 * For _HPX, a single package is returned, containing a Variable-length number
231 * Each sub-package contains a PCI record setting. There are several different type of 271 * of sub-packages. Each sub-package contains a PCI record setting.
232 * record settings, of different lengths, but all elements of all settings are Integers. 272 * There are several different type of record settings, of different
273 * lengths, but all elements of all settings are Integers.
233 */ 274 */
234 {.info = {"_HPX", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE2_MIN, ACPI_RTYPE_INTEGER, 5, 0, 0, 0}}, /* variable (Pkgs) each (var Ints) */ 275 {{"_HPX", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Pkgs) each (var Ints) */
235 {.info = {"_IFT", 0, ACPI_RTYPE_INTEGER}}, /* see IPMI spec */ 276 {{{ACPI_PTYPE2_MIN, ACPI_RTYPE_INTEGER, 5,0}, 0,0}},
236 {.info = {"_INI", 0, 0}}, 277
237 {.info = {"_IRC", 0, 0}}, 278 {{"_IFT", 0, ACPI_RTYPE_INTEGER}}, /* See IPMI spec */
238 {.info = {"_LCK", 1, 0}}, 279 {{"_INI", 0, 0}},
239 {.info = {"_LID", 0, ACPI_RTYPE_INTEGER}}, 280 {{"_IRC", 0, 0}},
240 {.info = {"_MAT", 0, ACPI_RTYPE_BUFFER}}, 281 {{"_LCK", 1, 0}},
241 {.info = {"_MLS", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE2, ACPI_RTYPE_STRING, 2, 0, 0, 0}}, /* variable (Pkgs) each (2 Str) */ 282 {{"_LID", 0, ACPI_RTYPE_INTEGER}},
242 {.info = {"_MSG", 1, 0}}, 283 {{"_MAT", 0, ACPI_RTYPE_BUFFER}},
243 {.info = {"_OFF", 0, 0}}, 284 {{"_MLS", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Pkgs) each (2 Str) */
244 {.info = {"_ON_", 0, 0}}, 285 {{{ACPI_PTYPE2, ACPI_RTYPE_STRING, 2,0}, 0,0}},
245 {.info = {"_OS_", 0, ACPI_RTYPE_STRING}}, 286
246 {.info = {"_OSC", 4, ACPI_RTYPE_BUFFER}}, 287 {{"_MSG", 1, 0}},
247 {.info = {"_OST", 3, 0}}, 288 {{"_OFF", 0, 0}},
248 {.info = {"_PCL", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 289 {{"_ON_", 0, 0}},
249 {.info = {"_PCT", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_FIXED, ACPI_RTYPE_BUFFER, 2, 0, 0, 0}}, /* fixed (2 Buf) */ 290 {{"_OS_", 0, ACPI_RTYPE_STRING}},
250 {.info = {"_PDC", 1, 0}}, 291 {{"_OSC", 4, ACPI_RTYPE_BUFFER}},
251 {.info = {"_PIC", 1, 0}}, 292 {{"_OST", 3, 0}},
252 {.info = {"_PLD", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_BUFFER, 0, 0, 0, 0}}, /* variable (Bufs) */ 293 {{"_PCL", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
253 {.info = {"_PPC", 0, ACPI_RTYPE_INTEGER}}, 294 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
254 {.info = {"_PPE", 0, ACPI_RTYPE_INTEGER}}, /* see dig64 spec */ 295
255 {.info = {"_PR0", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 296 {{"_PCT", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (2 Buf) */
256 {.info = {"_PR1", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 297 {{{ACPI_PTYPE1_FIXED, ACPI_RTYPE_BUFFER, 2,0}, 0,0}},
257 {.info = {"_PR2", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 298
258 {.info = {"_PRS", 0, ACPI_RTYPE_BUFFER}}, 299 {{"_PDC", 1, 0}},
300 {{"_PIC", 1, 0}},
301 {{"_PLD", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Bufs) */
302 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_BUFFER, 0,0}, 0,0}},
303
304 {{"_PPC", 0, ACPI_RTYPE_INTEGER}},
305 {{"_PPE", 0, ACPI_RTYPE_INTEGER}}, /* See dig64 spec */
306 {{"_PR0", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
307 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
308
309 {{"_PR1", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
310 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
311
312 {{"_PR2", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
313 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
314
315 {{"_PRS", 0, ACPI_RTYPE_BUFFER}},
259 316
260 /* 317 /*
261 * For _PRT, many BIOSs reverse the 2nd and 3rd Package elements. This bug is so prevalent that there 318 * For _PRT, many BIOSs reverse the 2nd and 3rd Package elements. This bug is so prevalent that there
@@ -263,115 +320,141 @@ static const union acpi_predefined_info predefined_names[] = {
263 * and issue a warning. To allow this and eliminate the warning, add the ACPI_RTYPE_REFERENCE 320 * and issue a warning. To allow this and eliminate the warning, add the ACPI_RTYPE_REFERENCE
264 * type to the 2nd element (index 1) in the statement below. 321 * type to the 2nd element (index 1) in the statement below.
265 */ 322 */
266 {.info = {"_PRT", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE2_FIXED, 4, 323 {{"_PRT", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Pkgs) each (4): Int,Int,Int/Ref,Int */
267 ACPI_RTYPE_INTEGER, 324 {{{ACPI_PTYPE2_FIXED, 4, ACPI_RTYPE_INTEGER,ACPI_RTYPE_INTEGER},
268 ACPI_RTYPE_INTEGER, 325 ACPI_RTYPE_INTEGER | ACPI_RTYPE_REFERENCE,ACPI_RTYPE_INTEGER}},
269 ACPI_RTYPE_INTEGER | ACPI_RTYPE_REFERENCE, ACPI_RTYPE_INTEGER}}, /* variable (Pkgs) each (4): Int,Int,Int/Ref,Int */ 326
270 327 {{"_PRW", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Pkgs) each: Pkg/Int,Int,[Variable-length Refs] (Pkg is Ref/Int) */
271 {.info = {"_PRW", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_OPTION, 2, 328 {{{ACPI_PTYPE1_OPTION, 2, ACPI_RTYPE_INTEGER | ACPI_RTYPE_PACKAGE,
272 ACPI_RTYPE_INTEGER | 329 ACPI_RTYPE_INTEGER}, ACPI_RTYPE_REFERENCE,0}},
273 ACPI_RTYPE_PACKAGE, 330
274 ACPI_RTYPE_INTEGER, ACPI_RTYPE_REFERENCE, 0}}, /* variable (Pkgs) each: Pkg/Int,Int,[variable Refs] (Pkg is Ref/Int) */ 331 {{"_PS0", 0, 0}},
275 332 {{"_PS1", 0, 0}},
276 {.info = {"_PS0", 0, 0}}, 333 {{"_PS2", 0, 0}},
277 {.info = {"_PS1", 0, 0}}, 334 {{"_PS3", 0, 0}},
278 {.info = {"_PS2", 0, 0}}, 335 {{"_PSC", 0, ACPI_RTYPE_INTEGER}},
279 {.info = {"_PS3", 0, 0}}, 336 {{"_PSD", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Pkgs) each (5 Int) with count */
280 {.info = {"_PSC", 0, ACPI_RTYPE_INTEGER}}, 337 {{{ACPI_PTYPE2_COUNT, ACPI_RTYPE_INTEGER,0,0}, 0,0}},
281 {.info = {"_PSD", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE2_COUNT, ACPI_RTYPE_INTEGER, 0, 0, 0, 0}}, /* variable (Pkgs) each (5 Int) with count */ 338
282 {.info = {"_PSL", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 339 {{"_PSL", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
283 {.info = {"_PSR", 0, ACPI_RTYPE_INTEGER}}, 340 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
284 {.info = {"_PSS", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE2, ACPI_RTYPE_INTEGER, 6, 0, 0, 0}}, /* variable (Pkgs) each (6 Int) */ 341
285 {.info = {"_PSV", 0, ACPI_RTYPE_INTEGER}}, 342 {{"_PSR", 0, ACPI_RTYPE_INTEGER}},
286 {.info = {"_PSW", 1, 0}}, 343 {{"_PSS", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Pkgs) each (6 Int) */
287 {.info = {"_PTC", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_FIXED, ACPI_RTYPE_BUFFER, 2, 0, 0, 0}}, /* fixed (2 Buf) */ 344 {{{ACPI_PTYPE2, ACPI_RTYPE_INTEGER, 6,0}, 0,0}},
288 {.info = {"_PTS", 1, 0}}, 345
289 {.info = {"_PXM", 0, ACPI_RTYPE_INTEGER}}, 346 {{"_PSV", 0, ACPI_RTYPE_INTEGER}},
290 {.info = {"_REG", 2, 0}}, 347 {{"_PSW", 1, 0}},
291 {.info = {"_REV", 0, ACPI_RTYPE_INTEGER}}, 348 {{"_PTC", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (2 Buf) */
292 {.info = {"_RMV", 0, ACPI_RTYPE_INTEGER}}, 349 {{{ACPI_PTYPE1_FIXED, ACPI_RTYPE_BUFFER, 2,0}, 0,0}},
293 {.info = {"_ROM", 2, ACPI_RTYPE_BUFFER}}, 350
294 {.info = {"_RTV", 0, ACPI_RTYPE_INTEGER}}, 351 {{"_PTS", 1, 0}},
352 {{"_PXM", 0, ACPI_RTYPE_INTEGER}},
353 {{"_REG", 2, 0}},
354 {{"_REV", 0, ACPI_RTYPE_INTEGER}},
355 {{"_RMV", 0, ACPI_RTYPE_INTEGER}},
356 {{"_ROM", 2, ACPI_RTYPE_BUFFER}},
357 {{"_RTV", 0, ACPI_RTYPE_INTEGER}},
295 358
296 /* 359 /*
297 * For _S0_ through _S5_, the ACPI spec defines a return Package containing 1 Integer, 360 * For _S0_ through _S5_, the ACPI spec defines a return Package
298 * but most DSDTs have it wrong - 2,3, or 4 integers. Allow this by making the objects "variable length", 361 * containing 1 Integer, but most DSDTs have it wrong - 2,3, or 4 integers.
299 * but all elements must be Integers. 362 * Allow this by making the objects "Variable-length length", but all elements
363 * must be Integers.
300 */ 364 */
301 {.info = {"_S0_", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1, 0, 0, 0}}, /* fixed (1 Int) */ 365 {{"_S0_", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (1 Int) */
302 {.info = {"_S1_", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1, 0, 0, 0}}, /* fixed (1 Int) */ 366 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1,0}, 0,0}},
303 {.info = {"_S2_", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1, 0, 0, 0}}, /* fixed (1 Int) */ 367
304 {.info = {"_S3_", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1, 0, 0, 0}}, /* fixed (1 Int) */ 368 {{"_S1_", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (1 Int) */
305 {.info = {"_S4_", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1, 0, 0, 0}}, /* fixed (1 Int) */ 369 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1,0}, 0,0}},
306 {.info = {"_S5_", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1, 0, 0, 0}}, /* fixed (1 Int) */ 370
307 371 {{"_S2_", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (1 Int) */
308 {.info = {"_S1D", 0, ACPI_RTYPE_INTEGER}}, 372 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1,0}, 0,0}},
309 {.info = {"_S2D", 0, ACPI_RTYPE_INTEGER}}, 373
310 {.info = {"_S3D", 0, ACPI_RTYPE_INTEGER}}, 374 {{"_S3_", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (1 Int) */
311 {.info = {"_S4D", 0, ACPI_RTYPE_INTEGER}}, 375 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1,0}, 0,0}},
312 {.info = {"_S0W", 0, ACPI_RTYPE_INTEGER}}, 376
313 {.info = {"_S1W", 0, ACPI_RTYPE_INTEGER}}, 377 {{"_S4_", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (1 Int) */
314 {.info = {"_S2W", 0, ACPI_RTYPE_INTEGER}}, 378 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1,0}, 0,0}},
315 {.info = {"_S3W", 0, ACPI_RTYPE_INTEGER}}, 379
316 {.info = {"_S4W", 0, ACPI_RTYPE_INTEGER}}, 380 {{"_S5_", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (1 Int) */
317 {.info = {"_SBS", 0, ACPI_RTYPE_INTEGER}}, 381 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_INTEGER, 1,0}, 0,0}},
318 {.info = {"_SCP", 0x13, 0}}, /* Acpi 1.0 allowed 1 arg. Acpi 3.0 expanded to 3 args. Allow both. */ 382
319 /* Note: the 3-arg definition may be removed for ACPI 4.0 */ 383 {{"_S1D", 0, ACPI_RTYPE_INTEGER}},
320 {.info = {"_SDD", 1, 0}}, 384 {{"_S2D", 0, ACPI_RTYPE_INTEGER}},
321 {.info = {"_SEG", 0, ACPI_RTYPE_INTEGER}}, 385 {{"_S3D", 0, ACPI_RTYPE_INTEGER}},
322 {.info = {"_SLI", 0, ACPI_RTYPE_BUFFER}}, 386 {{"_S4D", 0, ACPI_RTYPE_INTEGER}},
323 {.info = {"_SPD", 1, ACPI_RTYPE_INTEGER}}, 387 {{"_S0W", 0, ACPI_RTYPE_INTEGER}},
324 {.info = {"_SRS", 1, 0}}, 388 {{"_S1W", 0, ACPI_RTYPE_INTEGER}},
325 {.info = {"_SRV", 0, ACPI_RTYPE_INTEGER}}, /* see IPMI spec */ 389 {{"_S2W", 0, ACPI_RTYPE_INTEGER}},
326 {.info = {"_SST", 1, 0}}, 390 {{"_S3W", 0, ACPI_RTYPE_INTEGER}},
327 {.info = {"_STA", 0, ACPI_RTYPE_INTEGER}}, 391 {{"_S4W", 0, ACPI_RTYPE_INTEGER}},
328 {.info = {"_STM", 3, 0}}, 392 {{"_SBS", 0, ACPI_RTYPE_INTEGER}},
329 {.info = {"_STR", 0, ACPI_RTYPE_BUFFER}}, 393 {{"_SCP", 0x13, 0}}, /* Acpi 1.0 allowed 1 arg. Acpi 3.0 expanded to 3 args. Allow both. */
330 {.info = {"_SUN", 0, ACPI_RTYPE_INTEGER}}, 394 /* Note: the 3-arg definition may be removed for ACPI 4.0 */
331 {.info = {"_SWS", 0, ACPI_RTYPE_INTEGER}}, 395 {{"_SDD", 1, 0}},
332 {.info = {"_TC1", 0, ACPI_RTYPE_INTEGER}}, 396 {{"_SEG", 0, ACPI_RTYPE_INTEGER}},
333 {.info = {"_TC2", 0, ACPI_RTYPE_INTEGER}}, 397 {{"_SLI", 0, ACPI_RTYPE_BUFFER}},
334 {.info = {"_TMP", 0, ACPI_RTYPE_INTEGER}}, 398 {{"_SPD", 1, ACPI_RTYPE_INTEGER}},
335 {.info = {"_TPC", 0, ACPI_RTYPE_INTEGER}}, 399 {{"_SRS", 1, 0}},
336 {.info = {"_TPT", 1, 0}}, 400 {{"_SRV", 0, ACPI_RTYPE_INTEGER}}, /* See IPMI spec */
337 {.info = {"_TRT", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE2, ACPI_RTYPE_REFERENCE, 2, 401 {{"_SST", 1, 0}},
338 ACPI_RTYPE_INTEGER, 6, 0}}, /* variable (Pkgs) each 2_ref/6_int */ 402 {{"_STA", 0, ACPI_RTYPE_INTEGER}},
339 {.info = {"_TSD", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE2_COUNT, ACPI_RTYPE_INTEGER, 5, 0, 0, 0}}, /* variable (Pkgs) each 5_int with count */ 403 {{"_STM", 3, 0}},
340 {.info = {"_TSP", 0, ACPI_RTYPE_INTEGER}}, 404 {{"_STR", 0, ACPI_RTYPE_BUFFER}},
341 {.info = {"_TSS", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE2, ACPI_RTYPE_INTEGER, 5, 0, 0, 0}}, /* variable (Pkgs) each 5_int */ 405 {{"_SUN", 0, ACPI_RTYPE_INTEGER}},
342 {.info = {"_TST", 0, ACPI_RTYPE_INTEGER}}, 406 {{"_SWS", 0, ACPI_RTYPE_INTEGER}},
343 {.info = {"_TTS", 1, 0}}, 407 {{"_TC1", 0, ACPI_RTYPE_INTEGER}},
344 {.info = {"_TZD", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0, 0, 0, 0}}, /* variable (Refs) */ 408 {{"_TC2", 0, ACPI_RTYPE_INTEGER}},
345 {.info = {"_TZM", 0, ACPI_RTYPE_REFERENCE}}, 409 {{"_TMP", 0, ACPI_RTYPE_INTEGER}},
346 {.info = {"_TZP", 0, ACPI_RTYPE_INTEGER}}, 410 {{"_TPC", 0, ACPI_RTYPE_INTEGER}},
347 {.info = {"_UID", 0, ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING}}, 411 {{"_TPT", 1, 0}},
348 {.info = {"_UPC", 0, ACPI_RTYPE_PACKAGE}}, {.ret_info = {ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 4, 0, 0, 0}}, /* fixed (4 Int) */ 412 {{"_TRT", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Pkgs) each 2_ref/6_int */
349 {.info = {"_UPD", 0, ACPI_RTYPE_INTEGER}}, 413 {{{ACPI_PTYPE2, ACPI_RTYPE_REFERENCE, 2, ACPI_RTYPE_INTEGER}, 6, 0}},
350 {.info = {"_UPP", 0, ACPI_RTYPE_INTEGER}}, 414
351 {.info = {"_VPO", 0, ACPI_RTYPE_INTEGER}}, 415 {{"_TSD", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Pkgs) each 5_int with count */
416 {{{ACPI_PTYPE2_COUNT,ACPI_RTYPE_INTEGER, 5,0}, 0,0}},
417
418 {{"_TSP", 0, ACPI_RTYPE_INTEGER}},
419 {{"_TSS", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Pkgs) each 5_int */
420 {{{ACPI_PTYPE2, ACPI_RTYPE_INTEGER, 5,0}, 0,0}},
421
422 {{"_TST", 0, ACPI_RTYPE_INTEGER}},
423 {{"_TTS", 1, 0}},
424 {{"_TZD", 0, ACPI_RTYPE_PACKAGE}}, /* Variable-length (Refs) */
425 {{{ACPI_PTYPE1_VAR, ACPI_RTYPE_REFERENCE, 0,0}, 0,0}},
426
427 {{"_TZM", 0, ACPI_RTYPE_REFERENCE}},
428 {{"_TZP", 0, ACPI_RTYPE_INTEGER}},
429 {{"_UID", 0, ACPI_RTYPE_INTEGER | ACPI_RTYPE_STRING}},
430 {{"_UPC", 0, ACPI_RTYPE_PACKAGE}}, /* Fixed-length (4 Int) */
431 {{{ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 4,0}, 0,0}},
432
433 {{"_UPD", 0, ACPI_RTYPE_INTEGER}},
434 {{"_UPP", 0, ACPI_RTYPE_INTEGER}},
435 {{"_VPO", 0, ACPI_RTYPE_INTEGER}},
352 436
353 /* Acpi 1.0 defined _WAK with no return value. Later, it was changed to return a package */ 437 /* Acpi 1.0 defined _WAK with no return value. Later, it was changed to return a package */
354 438
355 {.info = {"_WAK", 1, ACPI_RTYPE_NONE | ACPI_RTYPE_INTEGER | ACPI_RTYPE_PACKAGE}}, 439 {{"_WAK", 1, ACPI_RTYPE_NONE | ACPI_RTYPE_INTEGER | ACPI_RTYPE_PACKAGE}},
356 {.ret_info = {ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 2, 0, 0, 0}}, /* fixed (2 Int), but is optional */ 440 {{{ACPI_PTYPE1_FIXED, ACPI_RTYPE_INTEGER, 2,0}, 0,0}}, /* Fixed-length (2 Int), but is optional */
357 {.ret_info = {0, 0, 0, 0, 0, 0}} /* Table terminator */ 441
442 {{{0,0,0,0}, 0,0}} /* Table terminator */
358}; 443};
359 444
360#if 0 445#if 0
361 /* Not implemented */ 446 /* Not implemented */
362 447
363{ 448 {{"_WDG", 0, ACPI_RTYPE_BUFFER}}, /* MS Extension */
364"_WDG", 0, ACPI_RTYPE_BUFFER}, /* MS Extension */ 449 {{"_WED", 1, ACPI_RTYPE_PACKAGE}}, /* MS Extension */
365 450
366{ 451 /* This is an internally implemented control method, no need to check */
367"_WED", 1, ACPI_RTYPE_PACKAGE}, /* MS Extension */ 452 {{"_OSI", 1, ACPI_RTYPE_INTEGER}},
368 453
369 /* This is an internally implemented control method, no need to check */ 454 /* TBD: */
370{
371"_OSI", 1, ACPI_RTYPE_INTEGER},
372 455
373 /* TBD: */ 456 _PRT - currently ignore reversed entries. attempt to fix here?
374 _PRT - currently ignore reversed entries.attempt to fix here ? 457 think about possibly fixing package elements like _BIF, etc.
375 think about code that attempts to fix package elements like _BIF, etc.
376#endif 458#endif
459
377#endif 460#endif