Path: blob/main/sys/contrib/dev/acpica/include/acpixf.h
48286 views
/******************************************************************************1*2* Name: acpixf.h - External interfaces to the ACPI subsystem3*4*****************************************************************************/56/******************************************************************************7*8* 1. Copyright Notice9*10* Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp.11* All rights reserved.12*13* 2. License14*15* 2.1. This is your license from Intel Corp. under its intellectual property16* rights. You may have additional license terms from the party that provided17* you this software, covering your right to use that party's intellectual18* property rights.19*20* 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a21* copy of the source code appearing in this file ("Covered Code") an22* irrevocable, perpetual, worldwide license under Intel's copyrights in the23* base code distributed originally by Intel ("Original Intel Code") to copy,24* make derivatives, distribute, use and display any portion of the Covered25* Code in any form, with the right to sublicense such rights; and26*27* 2.3. Intel grants Licensee a non-exclusive and non-transferable patent28* license (with the right to sublicense), under only those claims of Intel29* patents that are infringed by the Original Intel Code, to make, use, sell,30* offer to sell, and import the Covered Code and derivative works thereof31* solely to the minimum extent necessary to exercise the above copyright32* license, and in no event shall the patent license extend to any additions33* to or modifications of the Original Intel Code. No other license or right34* is granted directly or by implication, estoppel or otherwise;35*36* The above copyright and patent license is granted only if the following37* conditions are met:38*39* 3. Conditions40*41* 3.1. Redistribution of Source with Rights to Further Distribute Source.42* Redistribution of source code of any substantial portion of the Covered43* Code or modification with rights to further distribute source must include44* the above Copyright Notice, the above License, this list of Conditions,45* and the following Disclaimer and Export Compliance provision. In addition,46* Licensee must cause all Covered Code to which Licensee contributes to47* contain a file documenting the changes Licensee made to create that Covered48* Code and the date of any change. Licensee must include in that file the49* documentation of any changes made by any predecessor Licensee. Licensee50* must include a prominent statement that the modification is derived,51* directly or indirectly, from Original Intel Code.52*53* 3.2. Redistribution of Source with no Rights to Further Distribute Source.54* Redistribution of source code of any substantial portion of the Covered55* Code or modification without rights to further distribute source must56* include the following Disclaimer and Export Compliance provision in the57* documentation and/or other materials provided with distribution. In58* addition, Licensee may not authorize further sublicense of source of any59* portion of the Covered Code, and must include terms to the effect that the60* license from Licensee to its licensee is limited to the intellectual61* property embodied in the software Licensee provides to its licensee, and62* not to intellectual property embodied in modifications its licensee may63* make.64*65* 3.3. Redistribution of Executable. Redistribution in executable form of any66* substantial portion of the Covered Code or modification must reproduce the67* above Copyright Notice, and the following Disclaimer and Export Compliance68* provision in the documentation and/or other materials provided with the69* distribution.70*71* 3.4. Intel retains all right, title, and interest in and to the Original72* Intel Code.73*74* 3.5. Neither the name Intel nor any other trademark owned or controlled by75* Intel shall be used in advertising or otherwise to promote the sale, use or76* other dealings in products derived from or relating to the Covered Code77* without prior written authorization from Intel.78*79* 4. Disclaimer and Export Compliance80*81* 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED82* HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE83* IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,84* INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY85* UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY86* IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A87* PARTICULAR PURPOSE.88*89* 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES90* OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR91* COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,92* SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY93* CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL94* HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS95* SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY96* LIMITED REMEDY.97*98* 4.3. Licensee shall not export, either directly or indirectly, any of this99* software or system incorporating such software without first obtaining any100* required license or other approval from the U. S. Department of Commerce or101* any other agency or department of the United States Government. In the102* event Licensee exports any such software from the United States or103* re-exports any such software from a foreign destination, Licensee shall104* ensure that the distribution and export/re-export of the software is in105* compliance with all laws, regulations, orders, or other restrictions of the106* U.S. Export Administration Regulations. Licensee agrees that neither it nor107* any of its subsidiaries will export/re-export any technical data, process,108* software, or service, directly or indirectly, to any country for which the109* United States government or any agency thereof requires an export license,110* other governmental approval, or letter of assurance, without first obtaining111* such license, approval or letter.112*113*****************************************************************************114*115* Alternatively, you may choose to be licensed under the terms of the116* following license:117*118* Redistribution and use in source and binary forms, with or without119* modification, are permitted provided that the following conditions120* are met:121* 1. Redistributions of source code must retain the above copyright122* notice, this list of conditions, and the following disclaimer,123* without modification.124* 2. Redistributions in binary form must reproduce at minimum a disclaimer125* substantially similar to the "NO WARRANTY" disclaimer below126* ("Disclaimer") and any redistribution must be conditioned upon127* including a substantially similar Disclaimer requirement for further128* binary redistribution.129* 3. Neither the names of the above-listed copyright holders nor the names130* of any contributors may be used to endorse or promote products derived131* from this software without specific prior written permission.132*133* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS134* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT135* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR136* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT137* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,138* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT139* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,140* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY141* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT142* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE143* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.144*145* Alternatively, you may choose to be licensed under the terms of the146* GNU General Public License ("GPL") version 2 as published by the Free147* Software Foundation.148*149*****************************************************************************/150151#ifndef __ACXFACE_H__152#define __ACXFACE_H__153154/* Current ACPICA subsystem version in YYYYMMDD format */155156#define ACPI_CA_VERSION 0x20250807157158#include <contrib/dev/acpica/include/acconfig.h>159#include <contrib/dev/acpica/include/actypes.h>160#include <contrib/dev/acpica/include/actbl.h>161#include <contrib/dev/acpica/include/acbuffer.h>162163164/*****************************************************************************165*166* Macros used for ACPICA globals and configuration167*168****************************************************************************/169170/*171* Ensure that global variables are defined and initialized only once.172*173* The use of these macros allows for a single list of globals (here)174* in order to simplify maintenance of the code.175*/176#ifdef DEFINE_ACPI_GLOBALS177#define ACPI_GLOBAL(type,name) \178extern type name; \179type name180181#define ACPI_INIT_GLOBAL(type,name,value) \182type name=value183184#else185#ifndef ACPI_GLOBAL186#define ACPI_GLOBAL(type,name) \187extern type name188#endif189190#ifndef ACPI_INIT_GLOBAL191#define ACPI_INIT_GLOBAL(type,name,value) \192extern type name193#endif194#endif195196/*197* These macros configure the various ACPICA interfaces. They are198* useful for generating stub inline functions for features that are199* configured out of the current kernel or ACPICA application.200*/201#ifndef ACPI_EXTERNAL_RETURN_STATUS202#define ACPI_EXTERNAL_RETURN_STATUS(Prototype) \203Prototype;204#endif205206#ifndef ACPI_EXTERNAL_RETURN_OK207#define ACPI_EXTERNAL_RETURN_OK(Prototype) \208Prototype;209#endif210211#ifndef ACPI_EXTERNAL_RETURN_VOID212#define ACPI_EXTERNAL_RETURN_VOID(Prototype) \213Prototype;214#endif215216#ifndef ACPI_EXTERNAL_RETURN_UINT32217#define ACPI_EXTERNAL_RETURN_UINT32(Prototype) \218Prototype;219#endif220221#ifndef ACPI_EXTERNAL_RETURN_PTR222#define ACPI_EXTERNAL_RETURN_PTR(Prototype) \223Prototype;224#endif225226227/*****************************************************************************228*229* Public globals and runtime configuration options230*231****************************************************************************/232233/*234* Enable "slack mode" of the AML interpreter? Default is FALSE, and the235* interpreter strictly follows the ACPI specification. Setting to TRUE236* allows the interpreter to ignore certain errors and/or bad AML constructs.237*238* Currently, these features are enabled by this flag:239*240* 1) Allow "implicit return" of last value in a control method241* 2) Allow access beyond the end of an operation region242* 3) Allow access to uninitialized locals/args (auto-init to integer 0)243* 4) Allow ANY object type to be a source operand for the Store() operator244* 5) Allow unresolved references (invalid target name) in package objects245* 6) Enable warning messages for behavior that is not ACPI spec compliant246*/247ACPI_INIT_GLOBAL (UINT8, AcpiGbl_EnableInterpreterSlack, FALSE);248249/*250* Automatically serialize all methods that create named objects? Default251* is TRUE, meaning that all NonSerialized methods are scanned once at252* table load time to determine those that create named objects. Methods253* that create named objects are marked Serialized in order to prevent254* possible run-time problems if they are entered by more than one thread.255*/256ACPI_INIT_GLOBAL (UINT8, AcpiGbl_AutoSerializeMethods, TRUE);257258/*259* Create the predefined _OSI method in the namespace? Default is TRUE260* because ACPICA is fully compatible with other ACPI implementations.261* Changing this will revert ACPICA (and machine ASL) to pre-OSI behavior.262*/263ACPI_INIT_GLOBAL (UINT8, AcpiGbl_CreateOsiMethod, TRUE);264265/*266* Optionally use default values for the ACPI register widths. Set this to267* TRUE to use the defaults, if an FADT contains incorrect widths/lengths.268*/269ACPI_INIT_GLOBAL (UINT8, AcpiGbl_UseDefaultRegisterWidths, TRUE);270271/*272* Whether or not to validate (map) an entire table to verify273* checksum/duplication in early stage before install. Set this to TRUE to274* allow early table validation before install it to the table manager.275* Note that enabling this option causes errors to happen in some OSPMs276* during early initialization stages. Default behavior is to allow such277* validation.278*/279ACPI_INIT_GLOBAL (UINT8, AcpiGbl_EnableTableValidation, TRUE);280281/*282* Optionally enable output from the AML Debug Object.283*/284ACPI_INIT_GLOBAL (UINT8, AcpiGbl_EnableAmlDebugObject, FALSE);285286/*287* Optionally copy the entire DSDT to local memory (instead of simply288* mapping it.) There are some BIOSs that corrupt or replace the original289* DSDT, creating the need for this option. Default is FALSE, do not copy290* the DSDT.291*/292ACPI_INIT_GLOBAL (UINT8, AcpiGbl_CopyDsdtLocally, FALSE);293294/*295* Optionally ignore an XSDT if present and use the RSDT instead.296* Although the ACPI specification requires that an XSDT be used instead297* of the RSDT, the XSDT has been found to be corrupt or ill-formed on298* some machines. Default behavior is to use the XSDT if present.299*/300ACPI_INIT_GLOBAL (UINT8, AcpiGbl_DoNotUseXsdt, FALSE);301302/*303* Optionally use 32-bit FADT addresses if and when there is a conflict304* (address mismatch) between the 32-bit and 64-bit versions of the305* address. Although ACPICA adheres to the ACPI specification which306* requires the use of the corresponding 64-bit address if it is non-zero,307* some machines have been found to have a corrupted non-zero 64-bit308* address. Default is FALSE, do not favor the 32-bit addresses.309*/310ACPI_INIT_GLOBAL (UINT8, AcpiGbl_Use32BitFadtAddresses, FALSE);311312/*313* Optionally use 32-bit FACS table addresses.314* It is reported that some platforms fail to resume from system suspending315* if 64-bit FACS table address is selected:316* https://bugzilla.kernel.org/show_bug.cgi?id=74021317* Default is TRUE, favor the 32-bit addresses.318*/319ACPI_INIT_GLOBAL (UINT8, AcpiGbl_Use32BitFacsAddresses, TRUE);320321/*322* Optionally truncate I/O addresses to 16 bits. Provides compatibility323* with other ACPI implementations. NOTE: During ACPICA initialization,324* this value is set to TRUE if any Windows OSI strings have been325* requested by the BIOS.326*/327ACPI_INIT_GLOBAL (UINT8, AcpiGbl_TruncateIoAddresses, FALSE);328329/*330* Disable runtime checking and repair of values returned by control methods.331* Use only if the repair is causing a problem on a particular machine.332*/333ACPI_INIT_GLOBAL (UINT8, AcpiGbl_DisableAutoRepair, FALSE);334335/*336* Optionally do not install any SSDTs from the RSDT/XSDT during initialization.337* This can be useful for debugging ACPI problems on some machines.338*/339ACPI_INIT_GLOBAL (UINT8, AcpiGbl_DisableSsdtTableInstall, FALSE);340341/*342* Optionally enable runtime namespace override.343*/344ACPI_INIT_GLOBAL (UINT8, AcpiGbl_RuntimeNamespaceOverride, TRUE);345346/*347* We keep track of the latest version of Windows that has been requested by348* the BIOS. ACPI 5.0.349*/350ACPI_INIT_GLOBAL (UINT8, AcpiGbl_OsiData, 0);351352/*353* ACPI 5.0 introduces the concept of a "reduced hardware platform", meaning354* that the ACPI hardware is no longer required. A flag in the FADT indicates355* a reduced HW machine, and that flag is duplicated here for convenience.356*/357ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_ReducedHardware, FALSE);358359/*360* ACPI Global Lock is mainly used for systems with SMM, so no-SMM systems361* (such as LoongArch) may not have and not use Global Lock.362*/363ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_UseGlobalLock, TRUE);364365/*366* Maximum timeout for While() loop iterations before forced method abort.367* This mechanism is intended to prevent infinite loops during interpreter368* execution within a host kernel.369*/370ACPI_INIT_GLOBAL (UINT32, AcpiGbl_MaxLoopIterations, ACPI_MAX_LOOP_TIMEOUT);371372/*373* Optionally ignore AE_NOT_FOUND errors from named reference package elements374* during DSDT/SSDT table loading. This reduces error "noise" in platforms375* whose firmware is carrying around a bunch of unused package objects that376* refer to non-existent named objects. However, If the AML actually tries to377* use such a package, the unresolved element(s) will be replaced with NULL378* elements.379*/380ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_IgnorePackageResolutionErrors, FALSE);381382/*383* This mechanism is used to trace a specified AML method. The method is384* traced each time it is executed.385*/386ACPI_INIT_GLOBAL (UINT32, AcpiGbl_TraceFlags, 0);387ACPI_INIT_GLOBAL (const char *, AcpiGbl_TraceMethodName, NULL);388ACPI_INIT_GLOBAL (UINT32, AcpiGbl_TraceDbgLevel, ACPI_TRACE_LEVEL_DEFAULT);389ACPI_INIT_GLOBAL (UINT32, AcpiGbl_TraceDbgLayer, ACPI_TRACE_LAYER_DEFAULT);390391/*392* Runtime configuration of debug output control masks. We want the debug393* switches statically initialized so they are already set when the debugger394* is entered.395*/396#ifdef ACPI_DEBUG_OUTPUT397ACPI_INIT_GLOBAL (UINT32, AcpiDbgLevel, ACPI_DEBUG_DEFAULT);398#else399ACPI_INIT_GLOBAL (UINT32, AcpiDbgLevel, ACPI_NORMAL_DEFAULT);400#endif401ACPI_INIT_GLOBAL (UINT32, AcpiDbgLayer, ACPI_COMPONENT_DEFAULT);402403/* Optionally enable timer output with Debug Object output */404405ACPI_INIT_GLOBAL (UINT8, AcpiGbl_DisplayDebugTimer, FALSE);406407/*408* Debugger command handshake globals. Host OSes need to access these409* variables to implement their own command handshake mechanism.410*/411#ifdef ACPI_DEBUGGER412ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_MethodExecuting, FALSE);413ACPI_GLOBAL (char, AcpiGbl_DbLineBuf[ACPI_DB_LINE_BUFFER_SIZE]);414#endif415416/*417* Other miscellaneous globals418*/419ACPI_GLOBAL (ACPI_TABLE_FADT, AcpiGbl_FADT);420ACPI_GLOBAL (UINT32, AcpiCurrentGpeCount);421ACPI_GLOBAL (BOOLEAN, AcpiGbl_SystemAwakeAndRunning);422423424/*****************************************************************************425*426* ACPICA public interface configuration.427*428* Interfaces that are configured out of the ACPICA build are replaced429* by inlined stubs by default.430*431****************************************************************************/432433/*434* Hardware-reduced prototypes (default: Not hardware reduced).435*436* All ACPICA hardware-related interfaces that use these macros will be437* configured out of the ACPICA build if the ACPI_REDUCED_HARDWARE flag438* is set to TRUE.439*440* Note: This static build option for reduced hardware is intended to441* reduce ACPICA code size if desired or necessary. However, even if this442* option is not specified, the runtime behavior of ACPICA is dependent443* on the actual FADT reduced hardware flag (HW_REDUCED_ACPI). If set,444* the flag will enable similar behavior -- ACPICA will not attempt445* to access any ACPI-relate hardware (SCI, GPEs, Fixed Events, etc.)446*/447#if (!ACPI_REDUCED_HARDWARE)448#define ACPI_HW_DEPENDENT_RETURN_STATUS(Prototype) \449ACPI_EXTERNAL_RETURN_STATUS(Prototype)450451#define ACPI_HW_DEPENDENT_RETURN_OK(Prototype) \452ACPI_EXTERNAL_RETURN_OK(Prototype)453454#define ACPI_HW_DEPENDENT_RETURN_UINT32(prototype) \455ACPI_EXTERNAL_RETURN_UINT32(prototype)456457#define ACPI_HW_DEPENDENT_RETURN_VOID(Prototype) \458ACPI_EXTERNAL_RETURN_VOID(Prototype)459460#else461#define ACPI_HW_DEPENDENT_RETURN_STATUS(Prototype) \462static ACPI_INLINE Prototype {return(AE_NOT_CONFIGURED);}463464#define ACPI_HW_DEPENDENT_RETURN_OK(Prototype) \465static ACPI_INLINE Prototype {return(AE_OK);}466467#define ACPI_HW_DEPENDENT_RETURN_UINT32(prototype) \468static ACPI_INLINE prototype {return(0);}469470#define ACPI_HW_DEPENDENT_RETURN_VOID(Prototype) \471static ACPI_INLINE Prototype {return;}472473#endif /* !ACPI_REDUCED_HARDWARE */474475476/*477* Error message prototypes (default: error messages enabled).478*479* All interfaces related to error and warning messages480* will be configured out of the ACPICA build if the481* ACPI_NO_ERROR_MESSAGE flag is defined.482*/483#ifndef ACPI_NO_ERROR_MESSAGES484#define ACPI_MSG_DEPENDENT_RETURN_VOID(Prototype) \485Prototype;486487#else488#define ACPI_MSG_DEPENDENT_RETURN_VOID(Prototype) \489static ACPI_INLINE Prototype {return;}490491#endif /* ACPI_NO_ERROR_MESSAGES */492493494/*495* Debugging output prototypes (default: no debug output).496*497* All interfaces related to debug output messages498* will be configured out of the ACPICA build unless the499* ACPI_DEBUG_OUTPUT flag is defined.500*/501#ifdef ACPI_DEBUG_OUTPUT502#define ACPI_DBG_DEPENDENT_RETURN_VOID(Prototype) \503Prototype;504505#else506#define ACPI_DBG_DEPENDENT_RETURN_VOID(Prototype) \507static ACPI_INLINE Prototype {return;}508509#endif /* ACPI_DEBUG_OUTPUT */510511512/*513* Application prototypes514*515* All interfaces used by application will be configured516* out of the ACPICA build unless the ACPI_APPLICATION517* flag is defined.518*/519#ifdef ACPI_APPLICATION520#define ACPI_APP_DEPENDENT_RETURN_VOID(Prototype) \521Prototype;522523#else524#define ACPI_APP_DEPENDENT_RETURN_VOID(Prototype) \525static ACPI_INLINE Prototype {return;}526527#endif /* ACPI_APPLICATION */528529530/*531* Debugger prototypes532*533* All interfaces used by debugger will be configured534* out of the ACPICA build unless the ACPI_DEBUGGER535* flag is defined.536*/537#ifdef ACPI_DEBUGGER538#define ACPI_DBR_DEPENDENT_RETURN_OK(Prototype) \539ACPI_EXTERNAL_RETURN_OK(Prototype)540541#define ACPI_DBR_DEPENDENT_RETURN_VOID(Prototype) \542ACPI_EXTERNAL_RETURN_VOID(Prototype)543544#else545#define ACPI_DBR_DEPENDENT_RETURN_OK(Prototype) \546static ACPI_INLINE Prototype {return(AE_OK);}547548#define ACPI_DBR_DEPENDENT_RETURN_VOID(Prototype) \549static ACPI_INLINE Prototype {return;}550551#endif /* ACPI_DEBUGGER */552553554/*****************************************************************************555*556* ACPICA public interface prototypes557*558****************************************************************************/559560/*561* Initialization562*/563ACPI_EXTERNAL_RETURN_STATUS (564ACPI_STATUS ACPI_INIT_FUNCTION565AcpiInitializeTables (566ACPI_TABLE_DESC *InitialStorage,567UINT32 InitialTableCount,568BOOLEAN AllowResize))569570ACPI_EXTERNAL_RETURN_STATUS (571ACPI_STATUS ACPI_INIT_FUNCTION572AcpiInitializeSubsystem (573void))574575ACPI_EXTERNAL_RETURN_STATUS (576ACPI_STATUS ACPI_INIT_FUNCTION577AcpiEnableSubsystem (578UINT32 Flags))579580ACPI_EXTERNAL_RETURN_STATUS (581ACPI_STATUS ACPI_INIT_FUNCTION582AcpiInitializeObjects (583UINT32 Flags))584585ACPI_EXTERNAL_RETURN_STATUS (586ACPI_STATUS ACPI_INIT_FUNCTION587AcpiTerminate (588void))589590591/*592* Miscellaneous global interfaces593*/594ACPI_HW_DEPENDENT_RETURN_STATUS (595ACPI_STATUS596AcpiEnable (597void))598599ACPI_HW_DEPENDENT_RETURN_STATUS (600ACPI_STATUS601AcpiDisable (602void))603604ACPI_EXTERNAL_RETURN_STATUS (605ACPI_STATUS606AcpiSubsystemStatus (607void))608609ACPI_EXTERNAL_RETURN_STATUS (610ACPI_STATUS611AcpiGetSystemInfo (612ACPI_BUFFER *RetBuffer))613614ACPI_EXTERNAL_RETURN_STATUS (615ACPI_STATUS616AcpiGetStatistics (617ACPI_STATISTICS *Stats))618619ACPI_EXTERNAL_RETURN_PTR (620const char *621AcpiFormatException (622ACPI_STATUS Exception))623624ACPI_EXTERNAL_RETURN_STATUS (625ACPI_STATUS626AcpiPurgeCachedObjects (627void))628629ACPI_EXTERNAL_RETURN_STATUS (630ACPI_STATUS631AcpiInstallInterface (632ACPI_STRING InterfaceName))633634ACPI_EXTERNAL_RETURN_STATUS (635ACPI_STATUS636AcpiRemoveInterface (637ACPI_STRING InterfaceName))638639ACPI_EXTERNAL_RETURN_STATUS (640ACPI_STATUS641AcpiUpdateInterfaces (642UINT8 Action))643644ACPI_EXTERNAL_RETURN_UINT32 (645UINT32646AcpiCheckAddressRange (647ACPI_ADR_SPACE_TYPE SpaceId,648ACPI_PHYSICAL_ADDRESS Address,649ACPI_SIZE Length,650BOOLEAN Warn))651652ACPI_EXTERNAL_RETURN_STATUS (653ACPI_STATUS654AcpiDecodePldBuffer (655UINT8 *InBuffer,656ACPI_SIZE Length,657ACPI_PLD_INFO **ReturnBuffer))658659660/*661* ACPI table load/unload interfaces662*/663ACPI_EXTERNAL_RETURN_STATUS (664ACPI_STATUS ACPI_INIT_FUNCTION665AcpiInstallTable (666ACPI_TABLE_HEADER *Table))667668ACPI_EXTERNAL_RETURN_STATUS (669ACPI_STATUS ACPI_INIT_FUNCTION670AcpiInstallPhysicalTable (671ACPI_PHYSICAL_ADDRESS Address))672673ACPI_EXTERNAL_RETURN_STATUS (674ACPI_STATUS675AcpiLoadTable (676ACPI_TABLE_HEADER *Table,677UINT32 *TableIdx))678679ACPI_EXTERNAL_RETURN_STATUS (680ACPI_STATUS681AcpiUnloadTable (682UINT32 TableIndex))683684ACPI_EXTERNAL_RETURN_STATUS (685ACPI_STATUS686AcpiUnloadParentTable (687ACPI_HANDLE Object))688689ACPI_EXTERNAL_RETURN_STATUS (690ACPI_STATUS ACPI_INIT_FUNCTION691AcpiLoadTables (692void))693694695/*696* ACPI table manipulation interfaces697*/698ACPI_EXTERNAL_RETURN_STATUS (699ACPI_STATUS ACPI_INIT_FUNCTION700AcpiReallocateRootTable (701void))702703ACPI_EXTERNAL_RETURN_STATUS (704ACPI_STATUS ACPI_INIT_FUNCTION705AcpiFindRootPointer (706ACPI_PHYSICAL_ADDRESS *RsdpAddress))707708ACPI_EXTERNAL_RETURN_STATUS (709ACPI_STATUS710AcpiGetTableHeader (711ACPI_STRING Signature,712UINT32 Instance,713ACPI_TABLE_HEADER *OutTableHeader))714715ACPI_EXTERNAL_RETURN_STATUS (716ACPI_STATUS717AcpiGetTable (718ACPI_STRING Signature,719UINT32 Instance,720ACPI_TABLE_HEADER **OutTable))721722ACPI_EXTERNAL_RETURN_VOID (723void724AcpiPutTable (725ACPI_TABLE_HEADER *Table))726727ACPI_EXTERNAL_RETURN_STATUS (728ACPI_STATUS729AcpiGetTableByIndex (730UINT32 TableIndex,731ACPI_TABLE_HEADER **OutTable))732733ACPI_EXTERNAL_RETURN_STATUS (734ACPI_STATUS735AcpiInstallTableHandler (736ACPI_TABLE_HANDLER Handler,737void *Context))738739ACPI_EXTERNAL_RETURN_STATUS (740ACPI_STATUS741AcpiRemoveTableHandler (742ACPI_TABLE_HANDLER Handler))743744745/*746* Namespace and name interfaces747*/748ACPI_EXTERNAL_RETURN_STATUS (749ACPI_STATUS750AcpiWalkNamespace (751ACPI_OBJECT_TYPE Type,752ACPI_HANDLE StartObject,753UINT32 MaxDepth,754ACPI_WALK_CALLBACK DescendingCallback,755ACPI_WALK_CALLBACK AscendingCallback,756void *Context,757void **ReturnValue))758759ACPI_EXTERNAL_RETURN_STATUS (760ACPI_STATUS761AcpiGetDevices (762char *HID,763ACPI_WALK_CALLBACK UserFunction,764void *Context,765void **ReturnValue))766767ACPI_EXTERNAL_RETURN_STATUS (768ACPI_STATUS769AcpiGetName (770ACPI_HANDLE Object,771UINT32 NameType,772ACPI_BUFFER *RetPathPtr))773774ACPI_EXTERNAL_RETURN_STATUS (775ACPI_STATUS776AcpiGetHandle (777ACPI_HANDLE Parent,778const char *Pathname,779ACPI_HANDLE *RetHandle))780781ACPI_EXTERNAL_RETURN_STATUS (782ACPI_STATUS783AcpiAttachData (784ACPI_HANDLE Object,785ACPI_OBJECT_HANDLER Handler,786void *Data))787788ACPI_EXTERNAL_RETURN_STATUS (789ACPI_STATUS790AcpiDetachData (791ACPI_HANDLE Object,792ACPI_OBJECT_HANDLER Handler))793794ACPI_EXTERNAL_RETURN_STATUS (795ACPI_STATUS796AcpiGetData (797ACPI_HANDLE Object,798ACPI_OBJECT_HANDLER Handler,799void **Data))800801ACPI_EXTERNAL_RETURN_STATUS (802ACPI_STATUS803AcpiDebugTrace (804const char *Name,805UINT32 DebugLevel,806UINT32 DebugLayer,807UINT32 Flags))808809810/*811* Object manipulation and enumeration812*/813ACPI_EXTERNAL_RETURN_STATUS (814ACPI_STATUS815AcpiEvaluateObject (816ACPI_HANDLE Object,817ACPI_STRING Pathname,818ACPI_OBJECT_LIST *ParameterObjects,819ACPI_BUFFER *ReturnObjectBuffer))820821ACPI_EXTERNAL_RETURN_STATUS (822ACPI_STATUS823AcpiEvaluateObjectTyped (824ACPI_HANDLE Object,825ACPI_STRING Pathname,826ACPI_OBJECT_LIST *ExternalParams,827ACPI_BUFFER *ReturnBuffer,828ACPI_OBJECT_TYPE ReturnType))829830ACPI_EXTERNAL_RETURN_STATUS (831ACPI_STATUS832AcpiGetObjectInfo (833ACPI_HANDLE Object,834ACPI_DEVICE_INFO **ReturnBuffer))835836ACPI_EXTERNAL_RETURN_STATUS (837ACPI_STATUS838AcpiInstallMethod (839UINT8 *Buffer))840841ACPI_EXTERNAL_RETURN_STATUS (842ACPI_STATUS843AcpiGetNextObject (844ACPI_OBJECT_TYPE Type,845ACPI_HANDLE Parent,846ACPI_HANDLE Child,847ACPI_HANDLE *OutHandle))848849ACPI_EXTERNAL_RETURN_STATUS (850ACPI_STATUS851AcpiGetType (852ACPI_HANDLE Object,853ACPI_OBJECT_TYPE *OutType))854855ACPI_EXTERNAL_RETURN_STATUS (856ACPI_STATUS857AcpiGetParent (858ACPI_HANDLE Object,859ACPI_HANDLE *OutHandle))860861862/*863* Handler interfaces864*/865ACPI_EXTERNAL_RETURN_STATUS (866ACPI_STATUS867AcpiInstallInitializationHandler (868ACPI_INIT_HANDLER Handler,869UINT32 Function))870871ACPI_HW_DEPENDENT_RETURN_STATUS (872ACPI_STATUS873AcpiInstallSciHandler (874ACPI_SCI_HANDLER Address,875void *Context))876877ACPI_HW_DEPENDENT_RETURN_STATUS (878ACPI_STATUS879AcpiRemoveSciHandler (880ACPI_SCI_HANDLER Address))881882ACPI_HW_DEPENDENT_RETURN_STATUS (883ACPI_STATUS884AcpiInstallGlobalEventHandler (885ACPI_GBL_EVENT_HANDLER Handler,886void *Context))887888ACPI_HW_DEPENDENT_RETURN_STATUS (889ACPI_STATUS890AcpiInstallFixedEventHandler (891UINT32 AcpiEvent,892ACPI_EVENT_HANDLER Handler,893void *Context))894895ACPI_HW_DEPENDENT_RETURN_STATUS (896ACPI_STATUS897AcpiRemoveFixedEventHandler (898UINT32 AcpiEvent,899ACPI_EVENT_HANDLER Handler))900901ACPI_HW_DEPENDENT_RETURN_STATUS (902ACPI_STATUS903AcpiInstallGpeHandler (904ACPI_HANDLE GpeDevice,905UINT32 GpeNumber,906UINT32 Type,907ACPI_GPE_HANDLER Address,908void *Context))909910ACPI_HW_DEPENDENT_RETURN_STATUS (911ACPI_STATUS912AcpiInstallGpeRawHandler (913ACPI_HANDLE GpeDevice,914UINT32 GpeNumber,915UINT32 Type,916ACPI_GPE_HANDLER Address,917void *Context))918919ACPI_HW_DEPENDENT_RETURN_STATUS (920ACPI_STATUS921AcpiRemoveGpeHandler (922ACPI_HANDLE GpeDevice,923UINT32 GpeNumber,924ACPI_GPE_HANDLER Address))925926ACPI_EXTERNAL_RETURN_STATUS (927ACPI_STATUS928AcpiInstallNotifyHandler (929ACPI_HANDLE Device,930UINT32 HandlerType,931ACPI_NOTIFY_HANDLER Handler,932void *Context))933934ACPI_EXTERNAL_RETURN_STATUS (935ACPI_STATUS936AcpiRemoveNotifyHandler (937ACPI_HANDLE Device,938UINT32 HandlerType,939ACPI_NOTIFY_HANDLER Handler))940941ACPI_EXTERNAL_RETURN_STATUS (942ACPI_STATUS943AcpiInstallAddressSpaceHandler (944ACPI_HANDLE Device,945ACPI_ADR_SPACE_TYPE SpaceId,946ACPI_ADR_SPACE_HANDLER Handler,947ACPI_ADR_SPACE_SETUP Setup,948void *Context))949950ACPI_EXTERNAL_RETURN_STATUS (951ACPI_STATUS952AcpiInstallAddressSpaceHandlerNo_Reg(953ACPI_HANDLE Device,954ACPI_ADR_SPACE_TYPE SpaceId,955ACPI_ADR_SPACE_HANDLER Handler,956ACPI_ADR_SPACE_SETUP Setup,957void *Context))958959ACPI_EXTERNAL_RETURN_STATUS (960ACPI_STATUS961AcpiExecuteRegMethods (962ACPI_HANDLE Device,963ACPI_ADR_SPACE_TYPE SpaceId))964965ACPI_EXTERNAL_RETURN_STATUS (966ACPI_STATUS967AcpiRemoveAddressSpaceHandler (968ACPI_HANDLE Device,969ACPI_ADR_SPACE_TYPE SpaceId,970ACPI_ADR_SPACE_HANDLER Handler))971972ACPI_EXTERNAL_RETURN_STATUS (973ACPI_STATUS974AcpiInstallExceptionHandler (975ACPI_EXCEPTION_HANDLER Handler))976977ACPI_EXTERNAL_RETURN_STATUS (978ACPI_STATUS979AcpiInstallInterfaceHandler (980ACPI_INTERFACE_HANDLER Handler))981982983/*984* Global Lock interfaces985*/986ACPI_HW_DEPENDENT_RETURN_STATUS (987ACPI_STATUS988AcpiAcquireGlobalLock (989UINT16 Timeout,990UINT32 *Handle))991992ACPI_HW_DEPENDENT_RETURN_STATUS (993ACPI_STATUS994AcpiReleaseGlobalLock (995UINT32 Handle))996997998/*999* Interfaces to AML mutex objects1000*/1001ACPI_EXTERNAL_RETURN_STATUS (1002ACPI_STATUS1003AcpiAcquireMutex (1004ACPI_HANDLE Handle,1005ACPI_STRING Pathname,1006UINT16 Timeout))10071008ACPI_EXTERNAL_RETURN_STATUS (1009ACPI_STATUS1010AcpiReleaseMutex (1011ACPI_HANDLE Handle,1012ACPI_STRING Pathname))101310141015/*1016* Fixed Event interfaces1017*/1018ACPI_HW_DEPENDENT_RETURN_STATUS (1019ACPI_STATUS1020AcpiEnableEvent (1021UINT32 Event,1022UINT32 Flags))10231024ACPI_HW_DEPENDENT_RETURN_STATUS (1025ACPI_STATUS1026AcpiDisableEvent (1027UINT32 Event,1028UINT32 Flags))10291030ACPI_HW_DEPENDENT_RETURN_STATUS (1031ACPI_STATUS1032AcpiClearEvent (1033UINT32 Event))10341035ACPI_HW_DEPENDENT_RETURN_STATUS (1036ACPI_STATUS1037AcpiGetEventStatus (1038UINT32 Event,1039ACPI_EVENT_STATUS *EventStatus))104010411042/*1043* General Purpose Event (GPE) Interfaces1044*/1045ACPI_HW_DEPENDENT_RETURN_STATUS (1046ACPI_STATUS1047AcpiUpdateAllGpes (1048void))10491050ACPI_HW_DEPENDENT_RETURN_STATUS (1051ACPI_STATUS1052AcpiEnableGpe (1053ACPI_HANDLE GpeDevice,1054UINT32 GpeNumber))10551056ACPI_HW_DEPENDENT_RETURN_STATUS (1057ACPI_STATUS1058AcpiDisableGpe (1059ACPI_HANDLE GpeDevice,1060UINT32 GpeNumber))10611062ACPI_HW_DEPENDENT_RETURN_STATUS (1063ACPI_STATUS1064AcpiClearGpe (1065ACPI_HANDLE GpeDevice,1066UINT32 GpeNumber))10671068ACPI_HW_DEPENDENT_RETURN_STATUS (1069ACPI_STATUS1070AcpiSetGpe (1071ACPI_HANDLE GpeDevice,1072UINT32 GpeNumber,1073UINT8 Action))10741075ACPI_HW_DEPENDENT_RETURN_STATUS (1076ACPI_STATUS1077AcpiFinishGpe (1078ACPI_HANDLE GpeDevice,1079UINT32 GpeNumber))10801081ACPI_HW_DEPENDENT_RETURN_STATUS (1082ACPI_STATUS1083AcpiMaskGpe (1084ACPI_HANDLE GpeDevice,1085UINT32 GpeNumber,1086BOOLEAN IsMasked))10871088ACPI_HW_DEPENDENT_RETURN_STATUS (1089ACPI_STATUS1090AcpiMarkGpeForWake (1091ACPI_HANDLE GpeDevice,1092UINT32 GpeNumber))10931094ACPI_HW_DEPENDENT_RETURN_STATUS (1095ACPI_STATUS1096AcpiSetupGpeForWake (1097ACPI_HANDLE ParentDevice,1098ACPI_HANDLE GpeDevice,1099UINT32 GpeNumber))11001101ACPI_HW_DEPENDENT_RETURN_STATUS (1102ACPI_STATUS1103AcpiSetGpeWakeMask (1104ACPI_HANDLE GpeDevice,1105UINT32 GpeNumber,1106UINT8 Action))11071108ACPI_HW_DEPENDENT_RETURN_STATUS (1109ACPI_STATUS1110AcpiGetGpeStatus (1111ACPI_HANDLE GpeDevice,1112UINT32 GpeNumber,1113ACPI_EVENT_STATUS *EventStatus))11141115ACPI_HW_DEPENDENT_RETURN_UINT32 (1116UINT321117AcpiDispatchGpe (1118ACPI_HANDLE GpeDevice,1119UINT32 GpeNumber))11201121ACPI_HW_DEPENDENT_RETURN_STATUS (1122ACPI_STATUS1123AcpiDisableAllGpes (1124void))11251126ACPI_HW_DEPENDENT_RETURN_STATUS (1127ACPI_STATUS1128AcpiEnableAllRuntimeGpes (1129void))11301131ACPI_HW_DEPENDENT_RETURN_STATUS (1132ACPI_STATUS1133AcpiEnableAllWakeupGpes (1134void))11351136ACPI_HW_DEPENDENT_RETURN_UINT32 (1137UINT32 AcpiAnyGpeStatusSet (1138void))11391140ACPI_HW_DEPENDENT_RETURN_STATUS (1141ACPI_STATUS1142AcpiGetGpeDevice (1143UINT32 GpeIndex,1144ACPI_HANDLE *GpeDevice))11451146ACPI_HW_DEPENDENT_RETURN_STATUS (1147ACPI_STATUS1148AcpiInstallGpeBlock (1149ACPI_HANDLE GpeDevice,1150ACPI_GENERIC_ADDRESS *GpeBlockAddress,1151UINT32 RegisterCount,1152UINT32 InterruptNumber))11531154ACPI_HW_DEPENDENT_RETURN_STATUS (1155ACPI_STATUS1156AcpiRemoveGpeBlock (1157ACPI_HANDLE GpeDevice))115811591160/*1161* Resource interfaces1162*/1163typedef1164ACPI_STATUS (*ACPI_WALK_RESOURCE_CALLBACK) (1165ACPI_RESOURCE *Resource,1166void *Context);11671168ACPI_EXTERNAL_RETURN_STATUS (1169ACPI_STATUS1170AcpiGetVendorResource (1171ACPI_HANDLE Device,1172char *Name,1173ACPI_VENDOR_UUID *Uuid,1174ACPI_BUFFER *RetBuffer))11751176ACPI_EXTERNAL_RETURN_STATUS (1177ACPI_STATUS1178AcpiGetCurrentResources (1179ACPI_HANDLE Device,1180ACPI_BUFFER *RetBuffer))11811182ACPI_EXTERNAL_RETURN_STATUS (1183ACPI_STATUS1184AcpiGetPossibleResources (1185ACPI_HANDLE Device,1186ACPI_BUFFER *RetBuffer))11871188ACPI_EXTERNAL_RETURN_STATUS (1189ACPI_STATUS1190AcpiGetEventResources (1191ACPI_HANDLE DeviceHandle,1192ACPI_BUFFER *RetBuffer))11931194ACPI_EXTERNAL_RETURN_STATUS (1195ACPI_STATUS1196AcpiWalkResourceBuffer (1197ACPI_BUFFER *Buffer,1198ACPI_WALK_RESOURCE_CALLBACK UserFunction,1199void *Context))12001201ACPI_EXTERNAL_RETURN_STATUS (1202ACPI_STATUS1203AcpiWalkResources (1204ACPI_HANDLE Device,1205char *Name,1206ACPI_WALK_RESOURCE_CALLBACK UserFunction,1207void *Context))12081209ACPI_EXTERNAL_RETURN_STATUS (1210ACPI_STATUS1211AcpiSetCurrentResources (1212ACPI_HANDLE Device,1213ACPI_BUFFER *InBuffer))12141215ACPI_EXTERNAL_RETURN_STATUS (1216ACPI_STATUS1217AcpiGetIrqRoutingTable (1218ACPI_HANDLE Device,1219ACPI_BUFFER *RetBuffer))12201221ACPI_EXTERNAL_RETURN_STATUS (1222ACPI_STATUS1223AcpiResourceToAddress64 (1224ACPI_RESOURCE *Resource,1225ACPI_RESOURCE_ADDRESS64 *Out))12261227ACPI_EXTERNAL_RETURN_STATUS (1228ACPI_STATUS1229AcpiBufferToResource (1230UINT8 *AmlBuffer,1231UINT16 AmlBufferLength,1232ACPI_RESOURCE **ResourcePtr))123312341235/*1236* Hardware (ACPI device) interfaces1237*/1238ACPI_EXTERNAL_RETURN_STATUS (1239ACPI_STATUS1240AcpiReset (1241void))12421243ACPI_EXTERNAL_RETURN_STATUS (1244ACPI_STATUS1245AcpiRead (1246UINT64 *Value,1247ACPI_GENERIC_ADDRESS *Reg))12481249ACPI_EXTERNAL_RETURN_STATUS (1250ACPI_STATUS1251AcpiWrite (1252UINT64 Value,1253ACPI_GENERIC_ADDRESS *Reg))12541255ACPI_HW_DEPENDENT_RETURN_STATUS (1256ACPI_STATUS1257AcpiReadBitRegister (1258UINT32 RegisterId,1259UINT32 *ReturnValue))12601261ACPI_HW_DEPENDENT_RETURN_STATUS (1262ACPI_STATUS1263AcpiWriteBitRegister (1264UINT32 RegisterId,1265UINT32 Value))126612671268/*1269* Sleep/Wake interfaces1270*/1271ACPI_EXTERNAL_RETURN_STATUS (1272ACPI_STATUS1273AcpiGetSleepTypeData (1274UINT8 SleepState,1275UINT8 *Slp_TypA,1276UINT8 *Slp_TypB))12771278ACPI_EXTERNAL_RETURN_STATUS (1279ACPI_STATUS1280AcpiEnterSleepStatePrep (1281UINT8 SleepState))12821283ACPI_EXTERNAL_RETURN_STATUS (1284ACPI_STATUS1285AcpiEnterSleepState (1286UINT8 SleepState))12871288ACPI_HW_DEPENDENT_RETURN_STATUS (1289ACPI_STATUS1290AcpiEnterSleepStateS4bios (1291void))12921293ACPI_EXTERNAL_RETURN_STATUS (1294ACPI_STATUS1295AcpiLeaveSleepStatePrep (1296UINT8 SleepState))12971298ACPI_EXTERNAL_RETURN_STATUS (1299ACPI_STATUS1300AcpiLeaveSleepState (1301UINT8 SleepState))13021303ACPI_EXTERNAL_RETURN_STATUS (1304ACPI_STATUS1305AcpiSetFirmwareWakingVector (1306ACPI_PHYSICAL_ADDRESS PhysicalAddress,1307ACPI_PHYSICAL_ADDRESS PhysicalAddress64))130813091310/*1311* ACPI Timer interfaces1312*/1313ACPI_HW_DEPENDENT_RETURN_STATUS (1314ACPI_STATUS1315AcpiGetTimerResolution (1316UINT32 *Resolution))13171318ACPI_HW_DEPENDENT_RETURN_STATUS (1319ACPI_STATUS1320AcpiGetTimer (1321UINT32 *Ticks))13221323ACPI_HW_DEPENDENT_RETURN_STATUS (1324ACPI_STATUS1325AcpiGetTimerDuration (1326UINT32 StartTicks,1327UINT32 EndTicks,1328UINT32 *TimeElapsed))132913301331/*1332* Error/Warning output1333*/1334ACPI_MSG_DEPENDENT_RETURN_VOID (1335ACPI_PRINTF_LIKE(3)1336void ACPI_INTERNAL_VAR_XFACE1337AcpiError (1338const char *ModuleName,1339UINT32 LineNumber,1340const char *Format,1341...))13421343ACPI_MSG_DEPENDENT_RETURN_VOID (1344ACPI_PRINTF_LIKE(4)1345void ACPI_INTERNAL_VAR_XFACE1346AcpiException (1347const char *ModuleName,1348UINT32 LineNumber,1349ACPI_STATUS Status,1350const char *Format,1351...))13521353ACPI_MSG_DEPENDENT_RETURN_VOID (1354ACPI_PRINTF_LIKE(3)1355void ACPI_INTERNAL_VAR_XFACE1356AcpiWarning (1357const char *ModuleName,1358UINT32 LineNumber,1359const char *Format,1360...))13611362ACPI_MSG_DEPENDENT_RETURN_VOID (1363ACPI_PRINTF_LIKE(1)1364void ACPI_INTERNAL_VAR_XFACE1365AcpiInfo (1366const char *Format,1367...))13681369ACPI_MSG_DEPENDENT_RETURN_VOID (1370ACPI_PRINTF_LIKE(3)1371void ACPI_INTERNAL_VAR_XFACE1372AcpiBiosError (1373const char *ModuleName,1374UINT32 LineNumber,1375const char *Format,1376...))13771378ACPI_MSG_DEPENDENT_RETURN_VOID (1379ACPI_PRINTF_LIKE(4)1380void ACPI_INTERNAL_VAR_XFACE1381AcpiBiosException (1382const char *ModuleName,1383UINT32 LineNumber,1384ACPI_STATUS Status,1385const char *Format,1386...))13871388ACPI_MSG_DEPENDENT_RETURN_VOID (1389ACPI_PRINTF_LIKE(3)1390void ACPI_INTERNAL_VAR_XFACE1391AcpiBiosWarning (1392const char *ModuleName,1393UINT32 LineNumber,1394const char *Format,1395...))139613971398/*1399* Debug output1400*/1401ACPI_DBG_DEPENDENT_RETURN_VOID (1402ACPI_PRINTF_LIKE(6)1403void ACPI_INTERNAL_VAR_XFACE1404AcpiDebugPrint (1405UINT32 RequestedDebugLevel,1406UINT32 LineNumber,1407const char *FunctionName,1408const char *ModuleName,1409UINT32 ComponentId,1410const char *Format,1411...))14121413ACPI_DBG_DEPENDENT_RETURN_VOID (1414ACPI_PRINTF_LIKE(6)1415void ACPI_INTERNAL_VAR_XFACE1416AcpiDebugPrintRaw (1417UINT32 RequestedDebugLevel,1418UINT32 LineNumber,1419const char *FunctionName,1420const char *ModuleName,1421UINT32 ComponentId,1422const char *Format,1423...))14241425ACPI_DBG_DEPENDENT_RETURN_VOID (1426void1427AcpiTracePoint (1428ACPI_TRACE_EVENT_TYPE Type,1429BOOLEAN Begin,1430UINT8 *Aml,1431char *Pathname))14321433ACPI_STATUS1434AcpiInitializeDebugger (1435void);14361437void1438AcpiTerminateDebugger (1439void);14401441void1442AcpiRunDebugger (1443char *BatchBuffer);14441445void1446AcpiSetDebuggerThreadId (1447ACPI_THREAD_ID ThreadId);14481449#endif /* __ACXFACE_H__ */145014511452