1 /****************************************************************************** 2 * 3 * Name: acpixf.h - External interfaces to the ACPI subsystem 4 * 5 *****************************************************************************/ 6 7 /* 8 * Copyright (C) 2000 - 2016, Intel Corp. 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 1. Redistributions of source code must retain the above copyright 15 * notice, this list of conditions, and the following disclaimer, 16 * without modification. 17 * 2. Redistributions in binary form must reproduce at minimum a disclaimer 18 * substantially similar to the "NO WARRANTY" disclaimer below 19 * ("Disclaimer") and any redistribution must be conditioned upon 20 * including a substantially similar Disclaimer requirement for further 21 * binary redistribution. 22 * 3. Neither the names of the above-listed copyright holders nor the names 23 * of any contributors may be used to endorse or promote products derived 24 * from this software without specific prior written permission. 25 * 26 * Alternatively, this software may be distributed under the terms of the 27 * GNU General Public License ("GPL") version 2 as published by the Free 28 * Software Foundation. 29 * 30 * NO WARRANTY 31 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 32 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 33 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR 34 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 35 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 36 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 41 * POSSIBILITY OF SUCH DAMAGES. 42 */ 43 44 #ifndef __ACXFACE_H__ 45 #define __ACXFACE_H__ 46 47 /* Current ACPICA subsystem version in YYYYMMDD format */ 48 49 #define ACPI_CA_VERSION 0x20161222 50 51 #include <contrib/dev/acpica/include/acconfig.h> 52 #include <contrib/dev/acpica/include/actypes.h> 53 #include <contrib/dev/acpica/include/actbl.h> 54 #include <contrib/dev/acpica/include/acbuffer.h> 55 56 57 /***************************************************************************** 58 * 59 * Macros used for ACPICA globals and configuration 60 * 61 ****************************************************************************/ 62 63 /* 64 * Ensure that global variables are defined and initialized only once. 65 * 66 * The use of these macros allows for a single list of globals (here) 67 * in order to simplify maintenance of the code. 68 */ 69 #ifdef DEFINE_ACPI_GLOBALS 70 #define ACPI_GLOBAL(type,name) \ 71 extern type name; \ 72 type name 73 74 #define ACPI_INIT_GLOBAL(type,name,value) \ 75 type name=value 76 77 #else 78 #ifndef ACPI_GLOBAL 79 #define ACPI_GLOBAL(type,name) \ 80 extern type name 81 #endif 82 83 #ifndef ACPI_INIT_GLOBAL 84 #define ACPI_INIT_GLOBAL(type,name,value) \ 85 extern type name 86 #endif 87 #endif 88 89 /* 90 * These macros configure the various ACPICA interfaces. They are 91 * useful for generating stub inline functions for features that are 92 * configured out of the current kernel or ACPICA application. 93 */ 94 #ifndef ACPI_EXTERNAL_RETURN_STATUS 95 #define ACPI_EXTERNAL_RETURN_STATUS(Prototype) \ 96 Prototype; 97 #endif 98 99 #ifndef ACPI_EXTERNAL_RETURN_OK 100 #define ACPI_EXTERNAL_RETURN_OK(Prototype) \ 101 Prototype; 102 #endif 103 104 #ifndef ACPI_EXTERNAL_RETURN_VOID 105 #define ACPI_EXTERNAL_RETURN_VOID(Prototype) \ 106 Prototype; 107 #endif 108 109 #ifndef ACPI_EXTERNAL_RETURN_UINT32 110 #define ACPI_EXTERNAL_RETURN_UINT32(Prototype) \ 111 Prototype; 112 #endif 113 114 #ifndef ACPI_EXTERNAL_RETURN_PTR 115 #define ACPI_EXTERNAL_RETURN_PTR(Prototype) \ 116 Prototype; 117 #endif 118 119 120 /***************************************************************************** 121 * 122 * Public globals and runtime configuration options 123 * 124 ****************************************************************************/ 125 126 /* 127 * Enable "slack mode" of the AML interpreter? Default is FALSE, and the 128 * interpreter strictly follows the ACPI specification. Setting to TRUE 129 * allows the interpreter to ignore certain errors and/or bad AML constructs. 130 * 131 * Currently, these features are enabled by this flag: 132 * 133 * 1) Allow "implicit return" of last value in a control method 134 * 2) Allow access beyond the end of an operation region 135 * 3) Allow access to uninitialized locals/args (auto-init to integer 0) 136 * 4) Allow ANY object type to be a source operand for the Store() operator 137 * 5) Allow unresolved references (invalid target name) in package objects 138 * 6) Enable warning messages for behavior that is not ACPI spec compliant 139 */ 140 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_EnableInterpreterSlack, FALSE); 141 142 /* 143 * Automatically serialize all methods that create named objects? Default 144 * is TRUE, meaning that all NonSerialized methods are scanned once at 145 * table load time to determine those that create named objects. Methods 146 * that create named objects are marked Serialized in order to prevent 147 * possible run-time problems if they are entered by more than one thread. 148 */ 149 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_AutoSerializeMethods, TRUE); 150 151 /* 152 * Create the predefined _OSI method in the namespace? Default is TRUE 153 * because ACPICA is fully compatible with other ACPI implementations. 154 * Changing this will revert ACPICA (and machine ASL) to pre-OSI behavior. 155 */ 156 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_CreateOsiMethod, TRUE); 157 158 /* 159 * Optionally use default values for the ACPI register widths. Set this to 160 * TRUE to use the defaults, if an FADT contains incorrect widths/lengths. 161 */ 162 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_UseDefaultRegisterWidths, TRUE); 163 164 /* 165 * Whether or not to verify the table checksum before installation. Set 166 * this to TRUE to verify the table checksum before install it to the table 167 * manager. Note that enabling this option causes errors to happen in some 168 * OSPMs during early initialization stages. Default behavior is to do such 169 * verification. 170 */ 171 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_VerifyTableChecksum, TRUE); 172 173 /* 174 * Optionally enable output from the AML Debug Object. 175 */ 176 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_EnableAmlDebugObject, FALSE); 177 178 /* 179 * Optionally copy the entire DSDT to local memory (instead of simply 180 * mapping it.) There are some BIOSs that corrupt or replace the original 181 * DSDT, creating the need for this option. Default is FALSE, do not copy 182 * the DSDT. 183 */ 184 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_CopyDsdtLocally, FALSE); 185 186 /* 187 * Optionally ignore an XSDT if present and use the RSDT instead. 188 * Although the ACPI specification requires that an XSDT be used instead 189 * of the RSDT, the XSDT has been found to be corrupt or ill-formed on 190 * some machines. Default behavior is to use the XSDT if present. 191 */ 192 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_DoNotUseXsdt, FALSE); 193 194 /* 195 * Optionally support group module level code. 196 */ 197 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_GroupModuleLevelCode, FALSE); 198 199 /* 200 * Optionally support module level code by parsing the entire table as 201 * a TermList. Default is FALSE, do not execute entire table until some 202 * lock order issues are fixed. 203 */ 204 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_ParseTableAsTermList, FALSE); 205 206 /* 207 * Optionally use 32-bit FADT addresses if and when there is a conflict 208 * (address mismatch) between the 32-bit and 64-bit versions of the 209 * address. Although ACPICA adheres to the ACPI specification which 210 * requires the use of the corresponding 64-bit address if it is non-zero, 211 * some machines have been found to have a corrupted non-zero 64-bit 212 * address. Default is FALSE, do not favor the 32-bit addresses. 213 */ 214 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_Use32BitFadtAddresses, FALSE); 215 216 /* 217 * Optionally use 32-bit FACS table addresses. 218 * It is reported that some platforms fail to resume from system suspending 219 * if 64-bit FACS table address is selected: 220 * https://bugzilla.kernel.org/show_bug.cgi?id=74021 221 * Default is TRUE, favor the 32-bit addresses. 222 */ 223 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_Use32BitFacsAddresses, TRUE); 224 225 /* 226 * Optionally truncate I/O addresses to 16 bits. Provides compatibility 227 * with other ACPI implementations. NOTE: During ACPICA initialization, 228 * this value is set to TRUE if any Windows OSI strings have been 229 * requested by the BIOS. 230 */ 231 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_TruncateIoAddresses, FALSE); 232 233 /* 234 * Disable runtime checking and repair of values returned by control methods. 235 * Use only if the repair is causing a problem on a particular machine. 236 */ 237 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_DisableAutoRepair, FALSE); 238 239 /* 240 * Optionally do not install any SSDTs from the RSDT/XSDT during initialization. 241 * This can be useful for debugging ACPI problems on some machines. 242 */ 243 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_DisableSsdtTableInstall, FALSE); 244 245 /* 246 * Optionally enable runtime namespace override. 247 */ 248 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_RuntimeNamespaceOverride, TRUE); 249 250 /* 251 * We keep track of the latest version of Windows that has been requested by 252 * the BIOS. ACPI 5.0. 253 */ 254 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_OsiData, 0); 255 256 /* 257 * ACPI 5.0 introduces the concept of a "reduced hardware platform", meaning 258 * that the ACPI hardware is no longer required. A flag in the FADT indicates 259 * a reduced HW machine, and that flag is duplicated here for convenience. 260 */ 261 ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_ReducedHardware, FALSE); 262 263 /* 264 * Maximum number of While() loop iterations before forced method abort. 265 * This mechanism is intended to prevent infinite loops during interpreter 266 * execution within a host kernel. 267 */ 268 ACPI_INIT_GLOBAL (UINT32, AcpiGbl_MaxLoopIterations, ACPI_MAX_LOOP_COUNT); 269 270 /* 271 * This mechanism is used to trace a specified AML method. The method is 272 * traced each time it is executed. 273 */ 274 ACPI_INIT_GLOBAL (UINT32, AcpiGbl_TraceFlags, 0); 275 ACPI_INIT_GLOBAL (const char *, AcpiGbl_TraceMethodName, NULL); 276 ACPI_INIT_GLOBAL (UINT32, AcpiGbl_TraceDbgLevel, ACPI_TRACE_LEVEL_DEFAULT); 277 ACPI_INIT_GLOBAL (UINT32, AcpiGbl_TraceDbgLayer, ACPI_TRACE_LAYER_DEFAULT); 278 279 /* 280 * Runtime configuration of debug output control masks. We want the debug 281 * switches statically initialized so they are already set when the debugger 282 * is entered. 283 */ 284 #ifdef ACPI_DEBUG_OUTPUT 285 ACPI_INIT_GLOBAL (UINT32, AcpiDbgLevel, ACPI_DEBUG_DEFAULT); 286 #else 287 ACPI_INIT_GLOBAL (UINT32, AcpiDbgLevel, ACPI_NORMAL_DEFAULT); 288 #endif 289 ACPI_INIT_GLOBAL (UINT32, AcpiDbgLayer, ACPI_COMPONENT_DEFAULT); 290 291 /* Optionally enable timer output with Debug Object output */ 292 293 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_DisplayDebugTimer, FALSE); 294 295 /* 296 * Debugger command handshake globals. Host OSes need to access these 297 * variables to implement their own command handshake mechanism. 298 */ 299 #ifdef ACPI_DEBUGGER 300 ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_MethodExecuting, FALSE); 301 ACPI_GLOBAL (char, AcpiGbl_DbLineBuf[ACPI_DB_LINE_BUFFER_SIZE]); 302 #endif 303 304 /* 305 * Other miscellaneous globals 306 */ 307 ACPI_GLOBAL (ACPI_TABLE_FADT, AcpiGbl_FADT); 308 ACPI_GLOBAL (UINT32, AcpiCurrentGpeCount); 309 ACPI_GLOBAL (BOOLEAN, AcpiGbl_SystemAwakeAndRunning); 310 311 312 /***************************************************************************** 313 * 314 * ACPICA public interface configuration. 315 * 316 * Interfaces that are configured out of the ACPICA build are replaced 317 * by inlined stubs by default. 318 * 319 ****************************************************************************/ 320 321 /* 322 * Hardware-reduced prototypes (default: Not hardware reduced). 323 * 324 * All ACPICA hardware-related interfaces that use these macros will be 325 * configured out of the ACPICA build if the ACPI_REDUCED_HARDWARE flag 326 * is set to TRUE. 327 * 328 * Note: This static build option for reduced hardware is intended to 329 * reduce ACPICA code size if desired or necessary. However, even if this 330 * option is not specified, the runtime behavior of ACPICA is dependent 331 * on the actual FADT reduced hardware flag (HW_REDUCED_ACPI). If set, 332 * the flag will enable similar behavior -- ACPICA will not attempt 333 * to access any ACPI-relate hardware (SCI, GPEs, Fixed Events, etc.) 334 */ 335 #if (!ACPI_REDUCED_HARDWARE) 336 #define ACPI_HW_DEPENDENT_RETURN_STATUS(Prototype) \ 337 ACPI_EXTERNAL_RETURN_STATUS(Prototype) 338 339 #define ACPI_HW_DEPENDENT_RETURN_OK(Prototype) \ 340 ACPI_EXTERNAL_RETURN_OK(Prototype) 341 342 #define ACPI_HW_DEPENDENT_RETURN_VOID(Prototype) \ 343 ACPI_EXTERNAL_RETURN_VOID(Prototype) 344 345 #else 346 #define ACPI_HW_DEPENDENT_RETURN_STATUS(Prototype) \ 347 static ACPI_INLINE Prototype {return(AE_NOT_CONFIGURED);} 348 349 #define ACPI_HW_DEPENDENT_RETURN_OK(Prototype) \ 350 static ACPI_INLINE Prototype {return(AE_OK);} 351 352 #define ACPI_HW_DEPENDENT_RETURN_VOID(Prototype) \ 353 static ACPI_INLINE Prototype {return;} 354 355 #endif /* !ACPI_REDUCED_HARDWARE */ 356 357 358 /* 359 * Error message prototypes (default: error messages enabled). 360 * 361 * All interfaces related to error and warning messages 362 * will be configured out of the ACPICA build if the 363 * ACPI_NO_ERROR_MESSAGE flag is defined. 364 */ 365 #ifndef ACPI_NO_ERROR_MESSAGES 366 #define ACPI_MSG_DEPENDENT_RETURN_VOID(Prototype) \ 367 Prototype; 368 369 #else 370 #define ACPI_MSG_DEPENDENT_RETURN_VOID(Prototype) \ 371 static ACPI_INLINE Prototype {return;} 372 373 #endif /* ACPI_NO_ERROR_MESSAGES */ 374 375 376 /* 377 * Debugging output prototypes (default: no debug output). 378 * 379 * All interfaces related to debug output messages 380 * will be configured out of the ACPICA build unless the 381 * ACPI_DEBUG_OUTPUT flag is defined. 382 */ 383 #ifdef ACPI_DEBUG_OUTPUT 384 #define ACPI_DBG_DEPENDENT_RETURN_VOID(Prototype) \ 385 Prototype; 386 387 #else 388 #define ACPI_DBG_DEPENDENT_RETURN_VOID(Prototype) \ 389 static ACPI_INLINE Prototype {return;} 390 391 #endif /* ACPI_DEBUG_OUTPUT */ 392 393 394 /* 395 * Application prototypes 396 * 397 * All interfaces used by application will be configured 398 * out of the ACPICA build unless the ACPI_APPLICATION 399 * flag is defined. 400 */ 401 #ifdef ACPI_APPLICATION 402 #define ACPI_APP_DEPENDENT_RETURN_VOID(Prototype) \ 403 Prototype; 404 405 #else 406 #define ACPI_APP_DEPENDENT_RETURN_VOID(Prototype) \ 407 static ACPI_INLINE Prototype {return;} 408 409 #endif /* ACPI_APPLICATION */ 410 411 412 /* 413 * Debugger prototypes 414 * 415 * All interfaces used by debugger will be configured 416 * out of the ACPICA build unless the ACPI_DEBUGGER 417 * flag is defined. 418 */ 419 #ifdef ACPI_DEBUGGER 420 #define ACPI_DBR_DEPENDENT_RETURN_OK(Prototype) \ 421 ACPI_EXTERNAL_RETURN_OK(Prototype) 422 423 #define ACPI_DBR_DEPENDENT_RETURN_VOID(Prototype) \ 424 ACPI_EXTERNAL_RETURN_VOID(Prototype) 425 426 #else 427 #define ACPI_DBR_DEPENDENT_RETURN_OK(Prototype) \ 428 static ACPI_INLINE Prototype {return(AE_OK);} 429 430 #define ACPI_DBR_DEPENDENT_RETURN_VOID(Prototype) \ 431 static ACPI_INLINE Prototype {return;} 432 433 #endif /* ACPI_DEBUGGER */ 434 435 436 /***************************************************************************** 437 * 438 * ACPICA public interface prototypes 439 * 440 ****************************************************************************/ 441 442 /* 443 * Initialization 444 */ 445 ACPI_EXTERNAL_RETURN_STATUS ( 446 ACPI_STATUS ACPI_INIT_FUNCTION 447 AcpiInitializeTables ( 448 ACPI_TABLE_DESC *InitialStorage, 449 UINT32 InitialTableCount, 450 BOOLEAN AllowResize)) 451 452 ACPI_EXTERNAL_RETURN_STATUS ( 453 ACPI_STATUS ACPI_INIT_FUNCTION 454 AcpiInitializeSubsystem ( 455 void)) 456 457 ACPI_EXTERNAL_RETURN_STATUS ( 458 ACPI_STATUS ACPI_INIT_FUNCTION 459 AcpiEnableSubsystem ( 460 UINT32 Flags)) 461 462 ACPI_EXTERNAL_RETURN_STATUS ( 463 ACPI_STATUS ACPI_INIT_FUNCTION 464 AcpiInitializeObjects ( 465 UINT32 Flags)) 466 467 ACPI_EXTERNAL_RETURN_STATUS ( 468 ACPI_STATUS ACPI_INIT_FUNCTION 469 AcpiTerminate ( 470 void)) 471 472 473 /* 474 * Miscellaneous global interfaces 475 */ 476 ACPI_HW_DEPENDENT_RETURN_STATUS ( 477 ACPI_STATUS 478 AcpiEnable ( 479 void)) 480 481 ACPI_HW_DEPENDENT_RETURN_STATUS ( 482 ACPI_STATUS 483 AcpiDisable ( 484 void)) 485 486 ACPI_EXTERNAL_RETURN_STATUS ( 487 ACPI_STATUS 488 AcpiSubsystemStatus ( 489 void)) 490 491 ACPI_EXTERNAL_RETURN_STATUS ( 492 ACPI_STATUS 493 AcpiGetSystemInfo ( 494 ACPI_BUFFER *RetBuffer)) 495 496 ACPI_EXTERNAL_RETURN_STATUS ( 497 ACPI_STATUS 498 AcpiGetStatistics ( 499 ACPI_STATISTICS *Stats)) 500 501 ACPI_EXTERNAL_RETURN_PTR ( 502 const char * 503 AcpiFormatException ( 504 ACPI_STATUS Exception)) 505 506 ACPI_EXTERNAL_RETURN_STATUS ( 507 ACPI_STATUS 508 AcpiPurgeCachedObjects ( 509 void)) 510 511 ACPI_EXTERNAL_RETURN_STATUS ( 512 ACPI_STATUS 513 AcpiInstallInterface ( 514 ACPI_STRING InterfaceName)) 515 516 ACPI_EXTERNAL_RETURN_STATUS ( 517 ACPI_STATUS 518 AcpiRemoveInterface ( 519 ACPI_STRING InterfaceName)) 520 521 ACPI_EXTERNAL_RETURN_STATUS ( 522 ACPI_STATUS 523 AcpiUpdateInterfaces ( 524 UINT8 Action)) 525 526 ACPI_EXTERNAL_RETURN_UINT32 ( 527 UINT32 528 AcpiCheckAddressRange ( 529 ACPI_ADR_SPACE_TYPE SpaceId, 530 ACPI_PHYSICAL_ADDRESS Address, 531 ACPI_SIZE Length, 532 BOOLEAN Warn)) 533 534 ACPI_EXTERNAL_RETURN_STATUS ( 535 ACPI_STATUS 536 AcpiDecodePldBuffer ( 537 UINT8 *InBuffer, 538 ACPI_SIZE Length, 539 ACPI_PLD_INFO **ReturnBuffer)) 540 541 542 /* 543 * ACPI table load/unload interfaces 544 */ 545 ACPI_EXTERNAL_RETURN_STATUS ( 546 ACPI_STATUS ACPI_INIT_FUNCTION 547 AcpiInstallTable ( 548 ACPI_PHYSICAL_ADDRESS Address, 549 BOOLEAN Physical)) 550 551 ACPI_EXTERNAL_RETURN_STATUS ( 552 ACPI_STATUS 553 AcpiLoadTable ( 554 ACPI_TABLE_HEADER *Table)) 555 556 ACPI_EXTERNAL_RETURN_STATUS ( 557 ACPI_STATUS 558 AcpiUnloadParentTable ( 559 ACPI_HANDLE Object)) 560 561 ACPI_EXTERNAL_RETURN_STATUS ( 562 ACPI_STATUS ACPI_INIT_FUNCTION 563 AcpiLoadTables ( 564 void)) 565 566 567 /* 568 * ACPI table manipulation interfaces 569 */ 570 ACPI_EXTERNAL_RETURN_STATUS ( 571 ACPI_STATUS ACPI_INIT_FUNCTION 572 AcpiReallocateRootTable ( 573 void)) 574 575 ACPI_EXTERNAL_RETURN_STATUS ( 576 ACPI_STATUS ACPI_INIT_FUNCTION 577 AcpiFindRootPointer ( 578 ACPI_PHYSICAL_ADDRESS *RsdpAddress)) 579 580 ACPI_EXTERNAL_RETURN_STATUS ( 581 ACPI_STATUS 582 AcpiGetTableHeader ( 583 ACPI_STRING Signature, 584 UINT32 Instance, 585 ACPI_TABLE_HEADER *OutTableHeader)) 586 587 ACPI_EXTERNAL_RETURN_STATUS ( 588 ACPI_STATUS 589 AcpiGetTableWithSize ( 590 ACPI_STRING Signature, 591 UINT32 Instance, 592 ACPI_TABLE_HEADER **OutTable, 593 ACPI_SIZE *TblSize)) 594 595 ACPI_EXTERNAL_RETURN_STATUS ( 596 ACPI_STATUS 597 AcpiGetTable ( 598 ACPI_STRING Signature, 599 UINT32 Instance, 600 ACPI_TABLE_HEADER **OutTable)) 601 602 ACPI_EXTERNAL_RETURN_VOID ( 603 void 604 AcpiPutTable ( 605 ACPI_TABLE_HEADER *Table)) 606 607 ACPI_EXTERNAL_RETURN_STATUS ( 608 ACPI_STATUS 609 AcpiGetTableByIndex ( 610 UINT32 TableIndex, 611 ACPI_TABLE_HEADER **OutTable)) 612 613 ACPI_EXTERNAL_RETURN_STATUS ( 614 ACPI_STATUS 615 AcpiInstallTableHandler ( 616 ACPI_TABLE_HANDLER Handler, 617 void *Context)) 618 619 ACPI_EXTERNAL_RETURN_STATUS ( 620 ACPI_STATUS 621 AcpiRemoveTableHandler ( 622 ACPI_TABLE_HANDLER Handler)) 623 624 625 /* 626 * Namespace and name interfaces 627 */ 628 ACPI_EXTERNAL_RETURN_STATUS ( 629 ACPI_STATUS 630 AcpiWalkNamespace ( 631 ACPI_OBJECT_TYPE Type, 632 ACPI_HANDLE StartObject, 633 UINT32 MaxDepth, 634 ACPI_WALK_CALLBACK DescendingCallback, 635 ACPI_WALK_CALLBACK AscendingCallback, 636 void *Context, 637 void **ReturnValue)) 638 639 ACPI_EXTERNAL_RETURN_STATUS ( 640 ACPI_STATUS 641 AcpiGetDevices ( 642 char *HID, 643 ACPI_WALK_CALLBACK UserFunction, 644 void *Context, 645 void **ReturnValue)) 646 647 ACPI_EXTERNAL_RETURN_STATUS ( 648 ACPI_STATUS 649 AcpiGetName ( 650 ACPI_HANDLE Object, 651 UINT32 NameType, 652 ACPI_BUFFER *RetPathPtr)) 653 654 ACPI_EXTERNAL_RETURN_STATUS ( 655 ACPI_STATUS 656 AcpiGetHandle ( 657 ACPI_HANDLE Parent, 658 ACPI_STRING Pathname, 659 ACPI_HANDLE *RetHandle)) 660 661 ACPI_EXTERNAL_RETURN_STATUS ( 662 ACPI_STATUS 663 AcpiAttachData ( 664 ACPI_HANDLE Object, 665 ACPI_OBJECT_HANDLER Handler, 666 void *Data)) 667 668 ACPI_EXTERNAL_RETURN_STATUS ( 669 ACPI_STATUS 670 AcpiDetachData ( 671 ACPI_HANDLE Object, 672 ACPI_OBJECT_HANDLER Handler)) 673 674 ACPI_EXTERNAL_RETURN_STATUS ( 675 ACPI_STATUS 676 AcpiGetData ( 677 ACPI_HANDLE Object, 678 ACPI_OBJECT_HANDLER Handler, 679 void **Data)) 680 681 ACPI_EXTERNAL_RETURN_STATUS ( 682 ACPI_STATUS 683 AcpiGetDataFull ( 684 ACPI_HANDLE Object, 685 ACPI_OBJECT_HANDLER Handler, 686 void **Data, 687 void (*Callback)(void *))) 688 689 ACPI_EXTERNAL_RETURN_STATUS ( 690 ACPI_STATUS 691 AcpiDebugTrace ( 692 const char *Name, 693 UINT32 DebugLevel, 694 UINT32 DebugLayer, 695 UINT32 Flags)) 696 697 698 /* 699 * Object manipulation and enumeration 700 */ 701 ACPI_EXTERNAL_RETURN_STATUS ( 702 ACPI_STATUS 703 AcpiEvaluateObject ( 704 ACPI_HANDLE Object, 705 ACPI_STRING Pathname, 706 ACPI_OBJECT_LIST *ParameterObjects, 707 ACPI_BUFFER *ReturnObjectBuffer)) 708 709 ACPI_EXTERNAL_RETURN_STATUS ( 710 ACPI_STATUS 711 AcpiEvaluateObjectTyped ( 712 ACPI_HANDLE Object, 713 ACPI_STRING Pathname, 714 ACPI_OBJECT_LIST *ExternalParams, 715 ACPI_BUFFER *ReturnBuffer, 716 ACPI_OBJECT_TYPE ReturnType)) 717 718 ACPI_EXTERNAL_RETURN_STATUS ( 719 ACPI_STATUS 720 AcpiGetObjectInfo ( 721 ACPI_HANDLE Object, 722 ACPI_DEVICE_INFO **ReturnBuffer)) 723 724 ACPI_EXTERNAL_RETURN_STATUS ( 725 ACPI_STATUS 726 AcpiInstallMethod ( 727 UINT8 *Buffer)) 728 729 ACPI_EXTERNAL_RETURN_STATUS ( 730 ACPI_STATUS 731 AcpiGetNextObject ( 732 ACPI_OBJECT_TYPE Type, 733 ACPI_HANDLE Parent, 734 ACPI_HANDLE Child, 735 ACPI_HANDLE *OutHandle)) 736 737 ACPI_EXTERNAL_RETURN_STATUS ( 738 ACPI_STATUS 739 AcpiGetType ( 740 ACPI_HANDLE Object, 741 ACPI_OBJECT_TYPE *OutType)) 742 743 ACPI_EXTERNAL_RETURN_STATUS ( 744 ACPI_STATUS 745 AcpiGetParent ( 746 ACPI_HANDLE Object, 747 ACPI_HANDLE *OutHandle)) 748 749 750 /* 751 * Handler interfaces 752 */ 753 ACPI_EXTERNAL_RETURN_STATUS ( 754 ACPI_STATUS 755 AcpiInstallInitializationHandler ( 756 ACPI_INIT_HANDLER Handler, 757 UINT32 Function)) 758 759 ACPI_HW_DEPENDENT_RETURN_STATUS ( 760 ACPI_STATUS 761 AcpiInstallSciHandler ( 762 ACPI_SCI_HANDLER Address, 763 void *Context)) 764 765 ACPI_HW_DEPENDENT_RETURN_STATUS ( 766 ACPI_STATUS 767 AcpiRemoveSciHandler ( 768 ACPI_SCI_HANDLER Address)) 769 770 ACPI_HW_DEPENDENT_RETURN_STATUS ( 771 ACPI_STATUS 772 AcpiInstallGlobalEventHandler ( 773 ACPI_GBL_EVENT_HANDLER Handler, 774 void *Context)) 775 776 ACPI_HW_DEPENDENT_RETURN_STATUS ( 777 ACPI_STATUS 778 AcpiInstallFixedEventHandler ( 779 UINT32 AcpiEvent, 780 ACPI_EVENT_HANDLER Handler, 781 void *Context)) 782 783 ACPI_HW_DEPENDENT_RETURN_STATUS ( 784 ACPI_STATUS 785 AcpiRemoveFixedEventHandler ( 786 UINT32 AcpiEvent, 787 ACPI_EVENT_HANDLER Handler)) 788 789 ACPI_HW_DEPENDENT_RETURN_STATUS ( 790 ACPI_STATUS 791 AcpiInstallGpeHandler ( 792 ACPI_HANDLE GpeDevice, 793 UINT32 GpeNumber, 794 UINT32 Type, 795 ACPI_GPE_HANDLER Address, 796 void *Context)) 797 798 ACPI_HW_DEPENDENT_RETURN_STATUS ( 799 ACPI_STATUS 800 AcpiInstallGpeRawHandler ( 801 ACPI_HANDLE GpeDevice, 802 UINT32 GpeNumber, 803 UINT32 Type, 804 ACPI_GPE_HANDLER Address, 805 void *Context)) 806 807 ACPI_HW_DEPENDENT_RETURN_STATUS ( 808 ACPI_STATUS 809 AcpiRemoveGpeHandler ( 810 ACPI_HANDLE GpeDevice, 811 UINT32 GpeNumber, 812 ACPI_GPE_HANDLER Address)) 813 814 ACPI_EXTERNAL_RETURN_STATUS ( 815 ACPI_STATUS 816 AcpiInstallNotifyHandler ( 817 ACPI_HANDLE Device, 818 UINT32 HandlerType, 819 ACPI_NOTIFY_HANDLER Handler, 820 void *Context)) 821 822 ACPI_EXTERNAL_RETURN_STATUS ( 823 ACPI_STATUS 824 AcpiRemoveNotifyHandler ( 825 ACPI_HANDLE Device, 826 UINT32 HandlerType, 827 ACPI_NOTIFY_HANDLER Handler)) 828 829 ACPI_EXTERNAL_RETURN_STATUS ( 830 ACPI_STATUS 831 AcpiInstallAddressSpaceHandler ( 832 ACPI_HANDLE Device, 833 ACPI_ADR_SPACE_TYPE SpaceId, 834 ACPI_ADR_SPACE_HANDLER Handler, 835 ACPI_ADR_SPACE_SETUP Setup, 836 void *Context)) 837 838 ACPI_EXTERNAL_RETURN_STATUS ( 839 ACPI_STATUS 840 AcpiRemoveAddressSpaceHandler ( 841 ACPI_HANDLE Device, 842 ACPI_ADR_SPACE_TYPE SpaceId, 843 ACPI_ADR_SPACE_HANDLER Handler)) 844 845 ACPI_EXTERNAL_RETURN_STATUS ( 846 ACPI_STATUS 847 AcpiInstallExceptionHandler ( 848 ACPI_EXCEPTION_HANDLER Handler)) 849 850 ACPI_EXTERNAL_RETURN_STATUS ( 851 ACPI_STATUS 852 AcpiInstallInterfaceHandler ( 853 ACPI_INTERFACE_HANDLER Handler)) 854 855 856 /* 857 * Global Lock interfaces 858 */ 859 ACPI_HW_DEPENDENT_RETURN_STATUS ( 860 ACPI_STATUS 861 AcpiAcquireGlobalLock ( 862 UINT16 Timeout, 863 UINT32 *Handle)) 864 865 ACPI_HW_DEPENDENT_RETURN_STATUS ( 866 ACPI_STATUS 867 AcpiReleaseGlobalLock ( 868 UINT32 Handle)) 869 870 871 /* 872 * Interfaces to AML mutex objects 873 */ 874 ACPI_EXTERNAL_RETURN_STATUS ( 875 ACPI_STATUS 876 AcpiAcquireMutex ( 877 ACPI_HANDLE Handle, 878 ACPI_STRING Pathname, 879 UINT16 Timeout)) 880 881 ACPI_EXTERNAL_RETURN_STATUS ( 882 ACPI_STATUS 883 AcpiReleaseMutex ( 884 ACPI_HANDLE Handle, 885 ACPI_STRING Pathname)) 886 887 888 /* 889 * Fixed Event interfaces 890 */ 891 ACPI_HW_DEPENDENT_RETURN_STATUS ( 892 ACPI_STATUS 893 AcpiEnableEvent ( 894 UINT32 Event, 895 UINT32 Flags)) 896 897 ACPI_HW_DEPENDENT_RETURN_STATUS ( 898 ACPI_STATUS 899 AcpiDisableEvent ( 900 UINT32 Event, 901 UINT32 Flags)) 902 903 ACPI_HW_DEPENDENT_RETURN_STATUS ( 904 ACPI_STATUS 905 AcpiClearEvent ( 906 UINT32 Event)) 907 908 ACPI_HW_DEPENDENT_RETURN_STATUS ( 909 ACPI_STATUS 910 AcpiGetEventStatus ( 911 UINT32 Event, 912 ACPI_EVENT_STATUS *EventStatus)) 913 914 915 /* 916 * General Purpose Event (GPE) Interfaces 917 */ 918 ACPI_HW_DEPENDENT_RETURN_STATUS ( 919 ACPI_STATUS 920 AcpiUpdateAllGpes ( 921 void)) 922 923 ACPI_HW_DEPENDENT_RETURN_STATUS ( 924 ACPI_STATUS 925 AcpiEnableGpe ( 926 ACPI_HANDLE GpeDevice, 927 UINT32 GpeNumber)) 928 929 ACPI_HW_DEPENDENT_RETURN_STATUS ( 930 ACPI_STATUS 931 AcpiDisableGpe ( 932 ACPI_HANDLE GpeDevice, 933 UINT32 GpeNumber)) 934 935 ACPI_HW_DEPENDENT_RETURN_STATUS ( 936 ACPI_STATUS 937 AcpiClearGpe ( 938 ACPI_HANDLE GpeDevice, 939 UINT32 GpeNumber)) 940 941 ACPI_HW_DEPENDENT_RETURN_STATUS ( 942 ACPI_STATUS 943 AcpiSetGpe ( 944 ACPI_HANDLE GpeDevice, 945 UINT32 GpeNumber, 946 UINT8 Action)) 947 948 ACPI_HW_DEPENDENT_RETURN_STATUS ( 949 ACPI_STATUS 950 AcpiFinishGpe ( 951 ACPI_HANDLE GpeDevice, 952 UINT32 GpeNumber)) 953 954 ACPI_HW_DEPENDENT_RETURN_STATUS ( 955 ACPI_STATUS 956 AcpiMaskGpe ( 957 ACPI_HANDLE GpeDevice, 958 UINT32 GpeNumber, 959 BOOLEAN IsMasked)) 960 961 ACPI_HW_DEPENDENT_RETURN_STATUS ( 962 ACPI_STATUS 963 AcpiMarkGpeForWake ( 964 ACPI_HANDLE GpeDevice, 965 UINT32 GpeNumber)) 966 967 ACPI_HW_DEPENDENT_RETURN_STATUS ( 968 ACPI_STATUS 969 AcpiSetupGpeForWake ( 970 ACPI_HANDLE ParentDevice, 971 ACPI_HANDLE GpeDevice, 972 UINT32 GpeNumber)) 973 974 ACPI_HW_DEPENDENT_RETURN_STATUS ( 975 ACPI_STATUS 976 AcpiSetGpeWakeMask ( 977 ACPI_HANDLE GpeDevice, 978 UINT32 GpeNumber, 979 UINT8 Action)) 980 981 ACPI_HW_DEPENDENT_RETURN_STATUS ( 982 ACPI_STATUS 983 AcpiGetGpeStatus ( 984 ACPI_HANDLE GpeDevice, 985 UINT32 GpeNumber, 986 ACPI_EVENT_STATUS *EventStatus)) 987 988 ACPI_HW_DEPENDENT_RETURN_STATUS ( 989 ACPI_STATUS 990 AcpiDisableAllGpes ( 991 void)) 992 993 ACPI_HW_DEPENDENT_RETURN_STATUS ( 994 ACPI_STATUS 995 AcpiEnableAllRuntimeGpes ( 996 void)) 997 998 ACPI_HW_DEPENDENT_RETURN_STATUS ( 999 ACPI_STATUS 1000 AcpiEnableAllWakeupGpes ( 1001 void)) 1002 1003 ACPI_HW_DEPENDENT_RETURN_STATUS ( 1004 ACPI_STATUS 1005 AcpiGetGpeDevice ( 1006 UINT32 GpeIndex, 1007 ACPI_HANDLE *GpeDevice)) 1008 1009 ACPI_HW_DEPENDENT_RETURN_STATUS ( 1010 ACPI_STATUS 1011 AcpiInstallGpeBlock ( 1012 ACPI_HANDLE GpeDevice, 1013 ACPI_GENERIC_ADDRESS *GpeBlockAddress, 1014 UINT32 RegisterCount, 1015 UINT32 InterruptNumber)) 1016 1017 ACPI_HW_DEPENDENT_RETURN_STATUS ( 1018 ACPI_STATUS 1019 AcpiRemoveGpeBlock ( 1020 ACPI_HANDLE GpeDevice)) 1021 1022 1023 /* 1024 * Resource interfaces 1025 */ 1026 typedef 1027 ACPI_STATUS (*ACPI_WALK_RESOURCE_CALLBACK) ( 1028 ACPI_RESOURCE *Resource, 1029 void *Context); 1030 1031 ACPI_EXTERNAL_RETURN_STATUS ( 1032 ACPI_STATUS 1033 AcpiGetVendorResource ( 1034 ACPI_HANDLE Device, 1035 char *Name, 1036 ACPI_VENDOR_UUID *Uuid, 1037 ACPI_BUFFER *RetBuffer)) 1038 1039 ACPI_EXTERNAL_RETURN_STATUS ( 1040 ACPI_STATUS 1041 AcpiGetCurrentResources ( 1042 ACPI_HANDLE Device, 1043 ACPI_BUFFER *RetBuffer)) 1044 1045 ACPI_EXTERNAL_RETURN_STATUS ( 1046 ACPI_STATUS 1047 AcpiGetPossibleResources ( 1048 ACPI_HANDLE Device, 1049 ACPI_BUFFER *RetBuffer)) 1050 1051 ACPI_EXTERNAL_RETURN_STATUS ( 1052 ACPI_STATUS 1053 AcpiGetEventResources ( 1054 ACPI_HANDLE DeviceHandle, 1055 ACPI_BUFFER *RetBuffer)) 1056 1057 ACPI_EXTERNAL_RETURN_STATUS ( 1058 ACPI_STATUS 1059 AcpiWalkResourceBuffer ( 1060 ACPI_BUFFER *Buffer, 1061 ACPI_WALK_RESOURCE_CALLBACK UserFunction, 1062 void *Context)) 1063 1064 ACPI_EXTERNAL_RETURN_STATUS ( 1065 ACPI_STATUS 1066 AcpiWalkResources ( 1067 ACPI_HANDLE Device, 1068 char *Name, 1069 ACPI_WALK_RESOURCE_CALLBACK UserFunction, 1070 void *Context)) 1071 1072 ACPI_EXTERNAL_RETURN_STATUS ( 1073 ACPI_STATUS 1074 AcpiSetCurrentResources ( 1075 ACPI_HANDLE Device, 1076 ACPI_BUFFER *InBuffer)) 1077 1078 ACPI_EXTERNAL_RETURN_STATUS ( 1079 ACPI_STATUS 1080 AcpiGetIrqRoutingTable ( 1081 ACPI_HANDLE Device, 1082 ACPI_BUFFER *RetBuffer)) 1083 1084 ACPI_EXTERNAL_RETURN_STATUS ( 1085 ACPI_STATUS 1086 AcpiResourceToAddress64 ( 1087 ACPI_RESOURCE *Resource, 1088 ACPI_RESOURCE_ADDRESS64 *Out)) 1089 1090 ACPI_EXTERNAL_RETURN_STATUS ( 1091 ACPI_STATUS 1092 AcpiBufferToResource ( 1093 UINT8 *AmlBuffer, 1094 UINT16 AmlBufferLength, 1095 ACPI_RESOURCE **ResourcePtr)) 1096 1097 1098 /* 1099 * Hardware (ACPI device) interfaces 1100 */ 1101 ACPI_EXTERNAL_RETURN_STATUS ( 1102 ACPI_STATUS 1103 AcpiReset ( 1104 void)) 1105 1106 ACPI_EXTERNAL_RETURN_STATUS ( 1107 ACPI_STATUS 1108 AcpiRead ( 1109 UINT64 *Value, 1110 ACPI_GENERIC_ADDRESS *Reg)) 1111 1112 ACPI_EXTERNAL_RETURN_STATUS ( 1113 ACPI_STATUS 1114 AcpiWrite ( 1115 UINT64 Value, 1116 ACPI_GENERIC_ADDRESS *Reg)) 1117 1118 ACPI_HW_DEPENDENT_RETURN_STATUS ( 1119 ACPI_STATUS 1120 AcpiReadBitRegister ( 1121 UINT32 RegisterId, 1122 UINT32 *ReturnValue)) 1123 1124 ACPI_HW_DEPENDENT_RETURN_STATUS ( 1125 ACPI_STATUS 1126 AcpiWriteBitRegister ( 1127 UINT32 RegisterId, 1128 UINT32 Value)) 1129 1130 1131 /* 1132 * Sleep/Wake interfaces 1133 */ 1134 ACPI_EXTERNAL_RETURN_STATUS ( 1135 ACPI_STATUS 1136 AcpiGetSleepTypeData ( 1137 UINT8 SleepState, 1138 UINT8 *Slp_TypA, 1139 UINT8 *Slp_TypB)) 1140 1141 ACPI_EXTERNAL_RETURN_STATUS ( 1142 ACPI_STATUS 1143 AcpiEnterSleepStatePrep ( 1144 UINT8 SleepState)) 1145 1146 ACPI_EXTERNAL_RETURN_STATUS ( 1147 ACPI_STATUS 1148 AcpiEnterSleepState ( 1149 UINT8 SleepState)) 1150 1151 ACPI_HW_DEPENDENT_RETURN_STATUS ( 1152 ACPI_STATUS 1153 AcpiEnterSleepStateS4bios ( 1154 void)) 1155 1156 ACPI_EXTERNAL_RETURN_STATUS ( 1157 ACPI_STATUS 1158 AcpiLeaveSleepStatePrep ( 1159 UINT8 SleepState)) 1160 1161 ACPI_EXTERNAL_RETURN_STATUS ( 1162 ACPI_STATUS 1163 AcpiLeaveSleepState ( 1164 UINT8 SleepState)) 1165 1166 ACPI_HW_DEPENDENT_RETURN_STATUS ( 1167 ACPI_STATUS 1168 AcpiSetFirmwareWakingVector ( 1169 ACPI_PHYSICAL_ADDRESS PhysicalAddress, 1170 ACPI_PHYSICAL_ADDRESS PhysicalAddress64)) 1171 1172 1173 /* 1174 * ACPI Timer interfaces 1175 */ 1176 ACPI_HW_DEPENDENT_RETURN_STATUS ( 1177 ACPI_STATUS 1178 AcpiGetTimerResolution ( 1179 UINT32 *Resolution)) 1180 1181 ACPI_HW_DEPENDENT_RETURN_STATUS ( 1182 ACPI_STATUS 1183 AcpiGetTimer ( 1184 UINT32 *Ticks)) 1185 1186 ACPI_HW_DEPENDENT_RETURN_STATUS ( 1187 ACPI_STATUS 1188 AcpiGetTimerDuration ( 1189 UINT32 StartTicks, 1190 UINT32 EndTicks, 1191 UINT32 *TimeElapsed)) 1192 1193 1194 /* 1195 * Error/Warning output 1196 */ 1197 ACPI_MSG_DEPENDENT_RETURN_VOID ( 1198 ACPI_PRINTF_LIKE(3) 1199 void ACPI_INTERNAL_VAR_XFACE 1200 AcpiError ( 1201 const char *ModuleName, 1202 UINT32 LineNumber, 1203 const char *Format, 1204 ...)) 1205 1206 ACPI_MSG_DEPENDENT_RETURN_VOID ( 1207 ACPI_PRINTF_LIKE(4) 1208 void ACPI_INTERNAL_VAR_XFACE 1209 AcpiException ( 1210 const char *ModuleName, 1211 UINT32 LineNumber, 1212 ACPI_STATUS Status, 1213 const char *Format, 1214 ...)) 1215 1216 ACPI_MSG_DEPENDENT_RETURN_VOID ( 1217 ACPI_PRINTF_LIKE(3) 1218 void ACPI_INTERNAL_VAR_XFACE 1219 AcpiWarning ( 1220 const char *ModuleName, 1221 UINT32 LineNumber, 1222 const char *Format, 1223 ...)) 1224 1225 ACPI_MSG_DEPENDENT_RETURN_VOID ( 1226 ACPI_PRINTF_LIKE(1) 1227 void ACPI_INTERNAL_VAR_XFACE 1228 AcpiInfo ( 1229 const char *Format, 1230 ...)) 1231 1232 ACPI_MSG_DEPENDENT_RETURN_VOID ( 1233 ACPI_PRINTF_LIKE(3) 1234 void ACPI_INTERNAL_VAR_XFACE 1235 AcpiBiosError ( 1236 const char *ModuleName, 1237 UINT32 LineNumber, 1238 const char *Format, 1239 ...)) 1240 1241 ACPI_MSG_DEPENDENT_RETURN_VOID ( 1242 ACPI_PRINTF_LIKE(3) 1243 void ACPI_INTERNAL_VAR_XFACE 1244 AcpiBiosWarning ( 1245 const char *ModuleName, 1246 UINT32 LineNumber, 1247 const char *Format, 1248 ...)) 1249 1250 1251 /* 1252 * Debug output 1253 */ 1254 ACPI_DBG_DEPENDENT_RETURN_VOID ( 1255 ACPI_PRINTF_LIKE(6) 1256 void ACPI_INTERNAL_VAR_XFACE 1257 AcpiDebugPrint ( 1258 UINT32 RequestedDebugLevel, 1259 UINT32 LineNumber, 1260 const char *FunctionName, 1261 const char *ModuleName, 1262 UINT32 ComponentId, 1263 const char *Format, 1264 ...)) 1265 1266 ACPI_DBG_DEPENDENT_RETURN_VOID ( 1267 ACPI_PRINTF_LIKE(6) 1268 void ACPI_INTERNAL_VAR_XFACE 1269 AcpiDebugPrintRaw ( 1270 UINT32 RequestedDebugLevel, 1271 UINT32 LineNumber, 1272 const char *FunctionName, 1273 const char *ModuleName, 1274 UINT32 ComponentId, 1275 const char *Format, 1276 ...)) 1277 1278 ACPI_DBG_DEPENDENT_RETURN_VOID ( 1279 void 1280 AcpiTracePoint ( 1281 ACPI_TRACE_EVENT_TYPE Type, 1282 BOOLEAN Begin, 1283 UINT8 *Aml, 1284 char *Pathname)) 1285 1286 ACPI_STATUS 1287 AcpiInitializeDebugger ( 1288 void); 1289 1290 void 1291 AcpiTerminateDebugger ( 1292 void); 1293 1294 void 1295 AcpiRunDebugger ( 1296 char *BatchBuffer); 1297 1298 void 1299 AcpiSetDebuggerThreadId ( 1300 ACPI_THREAD_ID ThreadId); 1301 1302 #endif /* __ACXFACE_H__ */ 1303