Print this page
acpica-unix2-20130823
PANKOVs restructure
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/sys/acpi/acinterp.h
+++ new/usr/src/common/acpica/include/acinterp.h
1 1 /******************************************************************************
2 2 *
3 3 * Name: acinterp.h - Interpreter subcomponent prototypes and defines
4 4 *
5 5 *****************************************************************************/
6 6
7 7 /*
8 - * Copyright (C) 2000 - 2011, Intel Corp.
8 + * Copyright (C) 2000 - 2013, Intel Corp.
9 9 * All rights reserved.
10 10 *
11 11 * Redistribution and use in source and binary forms, with or without
12 12 * modification, are permitted provided that the following conditions
13 13 * are met:
14 14 * 1. Redistributions of source code must retain the above copyright
15 15 * notice, this list of conditions, and the following disclaimer,
16 16 * without modification.
17 17 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 18 * substantially similar to the "NO WARRANTY" disclaimer below
19 19 * ("Disclaimer") and any redistribution must be conditioned upon
20 20 * including a substantially similar Disclaimer requirement for further
21 21 * binary redistribution.
22 22 * 3. Neither the names of the above-listed copyright holders nor the names
23 23 * of any contributors may be used to endorse or promote products derived
24 24 * from this software without specific prior written permission.
25 25 *
26 26 * Alternatively, this software may be distributed under the terms of the
27 27 * GNU General Public License ("GPL") version 2 as published by the Free
28 28 * Software Foundation.
29 29 *
30 30 * NO WARRANTY
31 31 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 32 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 33 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34 34 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 35 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 36 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 41 * POSSIBILITY OF SUCH DAMAGES.
42 42 */
43 43
44 44 #ifndef __ACINTERP_H__
45 45 #define __ACINTERP_H__
46 46
47 47
48 48 #define ACPI_WALK_OPERANDS (&(WalkState->Operands [WalkState->NumOperands -1]))
49 49
50 50 /* Macros for tables used for debug output */
51 51
52 52 #define ACPI_EXD_OFFSET(f) (UINT8) ACPI_OFFSET (ACPI_OPERAND_OBJECT,f)
53 53 #define ACPI_EXD_NSOFFSET(f) (UINT8) ACPI_OFFSET (ACPI_NAMESPACE_NODE,f)
54 54 #define ACPI_EXD_TABLE_SIZE(name) (sizeof(name) / sizeof (ACPI_EXDUMP_INFO))
55 55
56 56 /*
57 57 * If possible, pack the following structures to byte alignment, since we
58 58 * don't care about performance for debug output. Two cases where we cannot
59 59 * pack the structures:
60 60 *
61 61 * 1) Hardware does not support misaligned memory transfers
62 62 * 2) Compiler does not support pointers within packed structures
63 63 */
64 64 #if (!defined(ACPI_MISALIGNMENT_NOT_SUPPORTED) && !defined(ACPI_PACKED_POINTERS_NOT_SUPPORTED))
65 65 #pragma pack(1)
66 66 #endif
67 67
68 68 typedef const struct acpi_exdump_info
69 69 {
70 70 UINT8 Opcode;
71 71 UINT8 Offset;
72 72 char *Name;
73 73
74 74 } ACPI_EXDUMP_INFO;
75 75
76 76 /* Values for the Opcode field above */
77 77
78 78 #define ACPI_EXD_INIT 0
79 79 #define ACPI_EXD_TYPE 1
80 80 #define ACPI_EXD_UINT8 2
81 81 #define ACPI_EXD_UINT16 3
82 82 #define ACPI_EXD_UINT32 4
83 83 #define ACPI_EXD_UINT64 5
84 84 #define ACPI_EXD_LITERAL 6
85 85 #define ACPI_EXD_POINTER 7
86 86 #define ACPI_EXD_ADDRESS 8
87 87 #define ACPI_EXD_STRING 9
88 88 #define ACPI_EXD_BUFFER 10
89 89 #define ACPI_EXD_PACKAGE 11
90 90 #define ACPI_EXD_FIELD 12
91 91 #define ACPI_EXD_REFERENCE 13
92 92
93 93 /* restore default alignment */
94 94
95 95 #pragma pack()
96 96
97 97
98 98 /*
99 99 * exconvrt - object conversion
100 100 */
101 101 ACPI_STATUS
102 102 AcpiExConvertToInteger (
103 103 ACPI_OPERAND_OBJECT *ObjDesc,
104 104 ACPI_OPERAND_OBJECT **ResultDesc,
105 105 UINT32 Flags);
106 106
107 107 ACPI_STATUS
108 108 AcpiExConvertToBuffer (
109 109 ACPI_OPERAND_OBJECT *ObjDesc,
110 110 ACPI_OPERAND_OBJECT **ResultDesc);
111 111
112 112 ACPI_STATUS
113 113 AcpiExConvertToString (
114 114 ACPI_OPERAND_OBJECT *ObjDesc,
115 115 ACPI_OPERAND_OBJECT **ResultDesc,
116 116 UINT32 Type);
117 117
118 118 /* Types for ->String conversion */
119 119
120 120 #define ACPI_EXPLICIT_BYTE_COPY 0x00000000
121 121 #define ACPI_EXPLICIT_CONVERT_HEX 0x00000001
122 122 #define ACPI_IMPLICIT_CONVERT_HEX 0x00000002
123 123 #define ACPI_EXPLICIT_CONVERT_DECIMAL 0x00000003
124 124
125 125 ACPI_STATUS
126 126 AcpiExConvertToTargetType (
127 127 ACPI_OBJECT_TYPE DestinationType,
128 128 ACPI_OPERAND_OBJECT *SourceDesc,
129 129 ACPI_OPERAND_OBJECT **ResultDesc,
130 130 ACPI_WALK_STATE *WalkState);
131 131
132 132
133 133 /*
134 134 * exdebug - AML debug object
135 135 */
136 136 void
137 137 AcpiExDoDebugObject (
138 138 ACPI_OPERAND_OBJECT *SourceDesc,
139 139 UINT32 Level,
140 140 UINT32 Index);
141 141
142 142
143 143 /*
144 144 * exfield - ACPI AML (p-code) execution - field manipulation
145 145 */
146 146 ACPI_STATUS
147 147 AcpiExCommonBufferSetup (
148 148 ACPI_OPERAND_OBJECT *ObjDesc,
149 149 UINT32 BufferLength,
150 150 UINT32 *DatumCount);
151 151
152 152 ACPI_STATUS
153 153 AcpiExWriteWithUpdateRule (
154 154 ACPI_OPERAND_OBJECT *ObjDesc,
155 155 UINT64 Mask,
156 156 UINT64 FieldValue,
157 157 UINT32 FieldDatumByteOffset);
158 158
159 159 void
160 160 AcpiExGetBufferDatum(
161 161 UINT64 *Datum,
162 162 void *Buffer,
163 163 UINT32 BufferLength,
164 164 UINT32 ByteGranularity,
165 165 UINT32 BufferOffset);
166 166
167 167 void
168 168 AcpiExSetBufferDatum (
169 169 UINT64 MergedDatum,
170 170 void *Buffer,
171 171 UINT32 BufferLength,
172 172 UINT32 ByteGranularity,
173 173 UINT32 BufferOffset);
174 174
175 175 ACPI_STATUS
176 176 AcpiExReadDataFromField (
177 177 ACPI_WALK_STATE *WalkState,
178 178 ACPI_OPERAND_OBJECT *ObjDesc,
179 179 ACPI_OPERAND_OBJECT **RetBufferDesc);
180 180
181 181 ACPI_STATUS
182 182 AcpiExWriteDataToField (
183 183 ACPI_OPERAND_OBJECT *SourceDesc,
184 184 ACPI_OPERAND_OBJECT *ObjDesc,
185 185 ACPI_OPERAND_OBJECT **ResultDesc);
186 186
187 187
188 188 /*
189 189 * exfldio - low level field I/O
190 190 */
191 191 ACPI_STATUS
192 192 AcpiExExtractFromField (
193 193 ACPI_OPERAND_OBJECT *ObjDesc,
194 194 void *Buffer,
195 195 UINT32 BufferLength);
196 196
197 197 ACPI_STATUS
198 198 AcpiExInsertIntoField (
199 199 ACPI_OPERAND_OBJECT *ObjDesc,
200 200 void *Buffer,
201 201 UINT32 BufferLength);
202 202
203 203 ACPI_STATUS
204 204 AcpiExAccessRegion (
205 205 ACPI_OPERAND_OBJECT *ObjDesc,
206 206 UINT32 FieldDatumByteOffset,
207 207 UINT64 *Value,
208 208 UINT32 ReadWrite);
209 209
210 210
211 211 /*
212 212 * exmisc - misc support routines
213 213 */
214 214 ACPI_STATUS
215 215 AcpiExGetObjectReference (
216 216 ACPI_OPERAND_OBJECT *ObjDesc,
217 217 ACPI_OPERAND_OBJECT **ReturnDesc,
218 218 ACPI_WALK_STATE *WalkState);
219 219
220 220 ACPI_STATUS
221 221 AcpiExConcatTemplate (
222 222 ACPI_OPERAND_OBJECT *ObjDesc,
223 223 ACPI_OPERAND_OBJECT *ObjDesc2,
224 224 ACPI_OPERAND_OBJECT **ActualReturnDesc,
225 225 ACPI_WALK_STATE *WalkState);
226 226
227 227 ACPI_STATUS
228 228 AcpiExDoConcatenate (
229 229 ACPI_OPERAND_OBJECT *ObjDesc,
230 230 ACPI_OPERAND_OBJECT *ObjDesc2,
231 231 ACPI_OPERAND_OBJECT **ActualReturnDesc,
232 232 ACPI_WALK_STATE *WalkState);
233 233
234 234 ACPI_STATUS
235 235 AcpiExDoLogicalNumericOp (
236 236 UINT16 Opcode,
237 237 UINT64 Integer0,
238 238 UINT64 Integer1,
239 239 BOOLEAN *LogicalResult);
240 240
241 241 ACPI_STATUS
242 242 AcpiExDoLogicalOp (
243 243 UINT16 Opcode,
244 244 ACPI_OPERAND_OBJECT *Operand0,
245 245 ACPI_OPERAND_OBJECT *Operand1,
246 246 BOOLEAN *LogicalResult);
247 247
248 248 UINT64
249 249 AcpiExDoMathOp (
250 250 UINT16 Opcode,
251 251 UINT64 Operand0,
252 252 UINT64 Operand1);
253 253
254 254 ACPI_STATUS
255 255 AcpiExCreateMutex (
256 256 ACPI_WALK_STATE *WalkState);
257 257
258 258 ACPI_STATUS
259 259 AcpiExCreateProcessor (
260 260 ACPI_WALK_STATE *WalkState);
261 261
262 262 ACPI_STATUS
263 263 AcpiExCreatePowerResource (
264 264 ACPI_WALK_STATE *WalkState);
265 265
266 266 ACPI_STATUS
267 267 AcpiExCreateRegion (
268 268 UINT8 *AmlStart,
269 269 UINT32 AmlLength,
270 270 UINT8 RegionSpace,
271 271 ACPI_WALK_STATE *WalkState);
272 272
273 273 ACPI_STATUS
274 274 AcpiExCreateEvent (
275 275 ACPI_WALK_STATE *WalkState);
276 276
277 277 ACPI_STATUS
278 278 AcpiExCreateAlias (
279 279 ACPI_WALK_STATE *WalkState);
280 280
281 281 ACPI_STATUS
282 282 AcpiExCreateMethod (
283 283 UINT8 *AmlStart,
284 284 UINT32 AmlLength,
285 285 ACPI_WALK_STATE *WalkState);
286 286
287 287
288 288 /*
289 289 * exconfig - dynamic table load/unload
290 290 */
291 291 ACPI_STATUS
292 292 AcpiExLoadOp (
293 293 ACPI_OPERAND_OBJECT *ObjDesc,
294 294 ACPI_OPERAND_OBJECT *Target,
295 295 ACPI_WALK_STATE *WalkState);
296 296
297 297 ACPI_STATUS
298 298 AcpiExLoadTableOp (
299 299 ACPI_WALK_STATE *WalkState,
300 300 ACPI_OPERAND_OBJECT **ReturnDesc);
301 301
302 302 ACPI_STATUS
303 303 AcpiExUnloadTable (
304 304 ACPI_OPERAND_OBJECT *DdbHandle);
305 305
306 306
307 307 /*
308 308 * exmutex - mutex support
309 309 */
310 310 ACPI_STATUS
311 311 AcpiExAcquireMutex (
312 312 ACPI_OPERAND_OBJECT *TimeDesc,
313 313 ACPI_OPERAND_OBJECT *ObjDesc,
314 314 ACPI_WALK_STATE *WalkState);
315 315
316 316 ACPI_STATUS
317 317 AcpiExAcquireMutexObject (
318 318 UINT16 Timeout,
319 319 ACPI_OPERAND_OBJECT *ObjDesc,
320 320 ACPI_THREAD_ID ThreadId);
321 321
322 322 ACPI_STATUS
323 323 AcpiExReleaseMutex (
324 324 ACPI_OPERAND_OBJECT *ObjDesc,
325 325 ACPI_WALK_STATE *WalkState);
326 326
327 327 ACPI_STATUS
328 328 AcpiExReleaseMutexObject (
329 329 ACPI_OPERAND_OBJECT *ObjDesc);
330 330
331 331 void
332 332 AcpiExReleaseAllMutexes (
333 333 ACPI_THREAD_STATE *Thread);
334 334
335 335 void
336 336 AcpiExUnlinkMutex (
337 337 ACPI_OPERAND_OBJECT *ObjDesc);
338 338
339 339
340 340 /*
341 341 * exprep - ACPI AML execution - prep utilities
342 342 */
343 343 ACPI_STATUS
344 344 AcpiExPrepCommonFieldObject (
345 345 ACPI_OPERAND_OBJECT *ObjDesc,
346 346 UINT8 FieldFlags,
347 347 UINT8 FieldAttribute,
348 348 UINT32 FieldBitPosition,
349 349 UINT32 FieldBitLength);
350 350
351 351 ACPI_STATUS
352 352 AcpiExPrepFieldValue (
353 353 ACPI_CREATE_FIELD_INFO *Info);
354 354
355 355
356 356 /*
357 357 * exsystem - Interface to OS services
358 358 */
359 359 ACPI_STATUS
360 360 AcpiExSystemDoNotifyOp (
361 361 ACPI_OPERAND_OBJECT *Value,
362 362 ACPI_OPERAND_OBJECT *ObjDesc);
363 363
364 364 ACPI_STATUS
365 365 AcpiExSystemDoSleep(
366 366 UINT64 Time);
367 367
368 368 ACPI_STATUS
369 369 AcpiExSystemDoStall (
370 370 UINT32 Time);
371 371
372 372 ACPI_STATUS
373 373 AcpiExSystemSignalEvent(
374 374 ACPI_OPERAND_OBJECT *ObjDesc);
375 375
376 376 ACPI_STATUS
377 377 AcpiExSystemWaitEvent(
378 378 ACPI_OPERAND_OBJECT *Time,
379 379 ACPI_OPERAND_OBJECT *ObjDesc);
380 380
381 381 ACPI_STATUS
382 382 AcpiExSystemResetEvent(
383 383 ACPI_OPERAND_OBJECT *ObjDesc);
384 384
385 385 ACPI_STATUS
386 386 AcpiExSystemWaitSemaphore (
387 387 ACPI_SEMAPHORE Semaphore,
388 388 UINT16 Timeout);
389 389
390 390 ACPI_STATUS
391 391 AcpiExSystemWaitMutex (
392 392 ACPI_MUTEX Mutex,
393 393 UINT16 Timeout);
394 394
395 395 /*
396 396 * exoparg1 - ACPI AML execution, 1 operand
397 397 */
398 398 ACPI_STATUS
399 399 AcpiExOpcode_0A_0T_1R (
400 400 ACPI_WALK_STATE *WalkState);
401 401
402 402 ACPI_STATUS
403 403 AcpiExOpcode_1A_0T_0R (
404 404 ACPI_WALK_STATE *WalkState);
405 405
406 406 ACPI_STATUS
407 407 AcpiExOpcode_1A_0T_1R (
408 408 ACPI_WALK_STATE *WalkState);
409 409
410 410 ACPI_STATUS
411 411 AcpiExOpcode_1A_1T_1R (
412 412 ACPI_WALK_STATE *WalkState);
413 413
414 414 ACPI_STATUS
415 415 AcpiExOpcode_1A_1T_0R (
416 416 ACPI_WALK_STATE *WalkState);
417 417
418 418 /*
419 419 * exoparg2 - ACPI AML execution, 2 operands
420 420 */
421 421 ACPI_STATUS
422 422 AcpiExOpcode_2A_0T_0R (
423 423 ACPI_WALK_STATE *WalkState);
424 424
425 425 ACPI_STATUS
426 426 AcpiExOpcode_2A_0T_1R (
427 427 ACPI_WALK_STATE *WalkState);
428 428
429 429 ACPI_STATUS
430 430 AcpiExOpcode_2A_1T_1R (
431 431 ACPI_WALK_STATE *WalkState);
432 432
433 433 ACPI_STATUS
434 434 AcpiExOpcode_2A_2T_1R (
435 435 ACPI_WALK_STATE *WalkState);
436 436
437 437
438 438 /*
439 439 * exoparg3 - ACPI AML execution, 3 operands
440 440 */
441 441 ACPI_STATUS
442 442 AcpiExOpcode_3A_0T_0R (
443 443 ACPI_WALK_STATE *WalkState);
444 444
445 445 ACPI_STATUS
446 446 AcpiExOpcode_3A_1T_1R (
447 447 ACPI_WALK_STATE *WalkState);
448 448
449 449
450 450 /*
451 451 * exoparg6 - ACPI AML execution, 6 operands
452 452 */
453 453 ACPI_STATUS
454 454 AcpiExOpcode_6A_0T_1R (
455 455 ACPI_WALK_STATE *WalkState);
456 456
457 457
458 458 /*
459 459 * exresolv - Object resolution and get value functions
460 460 */
461 461 ACPI_STATUS
462 462 AcpiExResolveToValue (
463 463 ACPI_OPERAND_OBJECT **StackPtr,
464 464 ACPI_WALK_STATE *WalkState);
465 465
466 466 ACPI_STATUS
467 467 AcpiExResolveMultiple (
468 468 ACPI_WALK_STATE *WalkState,
469 469 ACPI_OPERAND_OBJECT *Operand,
470 470 ACPI_OBJECT_TYPE *ReturnType,
471 471 ACPI_OPERAND_OBJECT **ReturnDesc);
472 472
473 473
474 474 /*
475 475 * exresnte - resolve namespace node
476 476 */
477 477 ACPI_STATUS
478 478 AcpiExResolveNodeToValue (
479 479 ACPI_NAMESPACE_NODE **StackPtr,
480 480 ACPI_WALK_STATE *WalkState);
481 481
482 482
483 483 /*
484 484 * exresop - resolve operand to value
485 485 */
486 486 ACPI_STATUS
487 487 AcpiExResolveOperands (
488 488 UINT16 Opcode,
489 489 ACPI_OPERAND_OBJECT **StackPtr,
490 490 ACPI_WALK_STATE *WalkState);
491 491
492 492
493 493 /*
494 494 * exdump - Interpreter debug output routines
495 495 */
496 496 void
497 497 AcpiExDumpOperand (
498 498 ACPI_OPERAND_OBJECT *ObjDesc,
499 499 UINT32 Depth);
500 500
501 501 void
502 502 AcpiExDumpOperands (
503 503 ACPI_OPERAND_OBJECT **Operands,
504 504 const char *OpcodeName,
505 505 UINT32 NumOpcodes);
506 506
507 507 void
508 508 AcpiExDumpObjectDescriptor (
509 509 ACPI_OPERAND_OBJECT *Object,
510 510 UINT32 Flags);
511 511
512 512 void
513 513 AcpiExDumpNamespaceNode (
514 514 ACPI_NAMESPACE_NODE *Node,
515 515 UINT32 Flags);
516 516
517 517
518 518 /*
519 519 * exnames - AML namestring support
520 520 */
521 521 ACPI_STATUS
522 522 AcpiExGetNameString (
523 523 ACPI_OBJECT_TYPE DataType,
524 524 UINT8 *InAmlAddress,
525 525 char **OutNameString,
526 526 UINT32 *OutNameLength);
527 527
528 528
529 529 /*
530 530 * exstore - Object store support
531 531 */
532 532 ACPI_STATUS
533 533 AcpiExStore (
534 534 ACPI_OPERAND_OBJECT *ValDesc,
535 535 ACPI_OPERAND_OBJECT *DestDesc,
536 536 ACPI_WALK_STATE *WalkState);
537 537
538 538 ACPI_STATUS
539 539 AcpiExStoreObjectToNode (
540 540 ACPI_OPERAND_OBJECT *SourceDesc,
541 541 ACPI_NAMESPACE_NODE *Node,
542 542 ACPI_WALK_STATE *WalkState,
543 543 UINT8 ImplicitConversion);
544 544
545 545 #define ACPI_IMPLICIT_CONVERSION TRUE
546 546 #define ACPI_NO_IMPLICIT_CONVERSION FALSE
547 547
548 548
549 549 /*
550 550 * exstoren - resolve/store object
551 551 */
552 552 ACPI_STATUS
553 553 AcpiExResolveObject (
554 554 ACPI_OPERAND_OBJECT **SourceDescPtr,
555 555 ACPI_OBJECT_TYPE TargetType,
556 556 ACPI_WALK_STATE *WalkState);
557 557
558 558 ACPI_STATUS
559 559 AcpiExStoreObjectToObject (
560 560 ACPI_OPERAND_OBJECT *SourceDesc,
561 561 ACPI_OPERAND_OBJECT *DestDesc,
562 562 ACPI_OPERAND_OBJECT **NewDesc,
563 563 ACPI_WALK_STATE *WalkState);
564 564
565 565
566 566 /*
567 567 * exstorob - store object - buffer/string
568 568 */
569 569 ACPI_STATUS
570 570 AcpiExStoreBufferToBuffer (
571 571 ACPI_OPERAND_OBJECT *SourceDesc,
572 572 ACPI_OPERAND_OBJECT *TargetDesc);
573 573
574 574 ACPI_STATUS
575 575 AcpiExStoreStringToString (
576 576 ACPI_OPERAND_OBJECT *SourceDesc,
577 577 ACPI_OPERAND_OBJECT *TargetDesc);
578 578
579 579
580 580 /*
581 581 * excopy - object copy
582 582 */
583 583 ACPI_STATUS
584 584 AcpiExCopyIntegerToIndexField (
585 585 ACPI_OPERAND_OBJECT *SourceDesc,
586 586 ACPI_OPERAND_OBJECT *TargetDesc);
587 587
588 588 ACPI_STATUS
589 589 AcpiExCopyIntegerToBankField (
590 590 ACPI_OPERAND_OBJECT *SourceDesc,
591 591 ACPI_OPERAND_OBJECT *TargetDesc);
592 592
593 593 ACPI_STATUS
594 594 AcpiExCopyDataToNamedField (
595 595 ACPI_OPERAND_OBJECT *SourceDesc,
596 596 ACPI_NAMESPACE_NODE *Node);
597 597
598 598 ACPI_STATUS
599 599 AcpiExCopyIntegerToBufferField (
600 600 ACPI_OPERAND_OBJECT *SourceDesc,
601 601 ACPI_OPERAND_OBJECT *TargetDesc);
602 602
603 603
604 604 /*
605 605 * exutils - interpreter/scanner utilities
606 606 */
607 607 void
608 608 AcpiExEnterInterpreter (
609 609 void);
610 610
611 611 void
612 612 AcpiExExitInterpreter (
↓ open down ↓ |
594 lines elided |
↑ open up ↑ |
613 613 void);
614 614
615 615 void
616 616 AcpiExReacquireInterpreter (
617 617 void);
618 618
619 619 void
620 620 AcpiExRelinquishInterpreter (
621 621 void);
622 622
623 -void
623 +BOOLEAN
624 624 AcpiExTruncateFor32bitTable (
625 625 ACPI_OPERAND_OBJECT *ObjDesc);
626 626
627 627 void
628 628 AcpiExAcquireGlobalLock (
629 629 UINT32 Rule);
630 630
631 631 void
632 632 AcpiExReleaseGlobalLock (
633 633 UINT32 Rule);
634 634
↓ open down ↓ |
1 lines elided |
↑ open up ↑ |
635 635 void
636 636 AcpiExEisaIdToString (
637 637 char *Dest,
638 638 UINT64 CompressedId);
639 639
640 640 void
641 641 AcpiExIntegerToString (
642 642 char *Dest,
643 643 UINT64 Value);
644 644
645 +BOOLEAN
646 +AcpiIsValidSpaceId (
647 + UINT8 SpaceId);
645 648
649 +
646 650 /*
647 651 * exregion - default OpRegion handlers
648 652 */
649 653 ACPI_STATUS
650 654 AcpiExSystemMemorySpaceHandler (
651 655 UINT32 Function,
652 656 ACPI_PHYSICAL_ADDRESS Address,
653 657 UINT32 BitWidth,
654 658 UINT64 *Value,
655 659 void *HandlerContext,
656 660 void *RegionContext);
657 661
658 662 ACPI_STATUS
659 663 AcpiExSystemIoSpaceHandler (
660 664 UINT32 Function,
661 665 ACPI_PHYSICAL_ADDRESS Address,
662 666 UINT32 BitWidth,
663 667 UINT64 *Value,
664 668 void *HandlerContext,
665 669 void *RegionContext);
666 670
667 671 ACPI_STATUS
668 672 AcpiExPciConfigSpaceHandler (
669 673 UINT32 Function,
670 674 ACPI_PHYSICAL_ADDRESS Address,
671 675 UINT32 BitWidth,
672 676 UINT64 *Value,
673 677 void *HandlerContext,
674 678 void *RegionContext);
675 679
676 680 ACPI_STATUS
677 681 AcpiExCmosSpaceHandler (
678 682 UINT32 Function,
679 683 ACPI_PHYSICAL_ADDRESS Address,
680 684 UINT32 BitWidth,
681 685 UINT64 *Value,
682 686 void *HandlerContext,
683 687 void *RegionContext);
684 688
685 689 ACPI_STATUS
686 690 AcpiExPciBarSpaceHandler (
687 691 UINT32 Function,
688 692 ACPI_PHYSICAL_ADDRESS Address,
689 693 UINT32 BitWidth,
690 694 UINT64 *Value,
691 695 void *HandlerContext,
692 696 void *RegionContext);
693 697
694 698 ACPI_STATUS
695 699 AcpiExEmbeddedControllerSpaceHandler (
696 700 UINT32 Function,
697 701 ACPI_PHYSICAL_ADDRESS Address,
698 702 UINT32 BitWidth,
699 703 UINT64 *Value,
700 704 void *HandlerContext,
701 705 void *RegionContext);
702 706
703 707 ACPI_STATUS
704 708 AcpiExSmBusSpaceHandler (
705 709 UINT32 Function,
706 710 ACPI_PHYSICAL_ADDRESS Address,
707 711 UINT32 BitWidth,
708 712 UINT64 *Value,
709 713 void *HandlerContext,
710 714 void *RegionContext);
711 715
712 716
713 717 ACPI_STATUS
714 718 AcpiExDataTableSpaceHandler (
715 719 UINT32 Function,
716 720 ACPI_PHYSICAL_ADDRESS Address,
717 721 UINT32 BitWidth,
718 722 UINT64 *Value,
719 723 void *HandlerContext,
720 724 void *RegionContext);
721 725
722 726 #endif /* __INTERP_H__ */
↓ open down ↓ |
67 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX