ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

acpixf.h
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003  *
00004  * Name: acpixf.h - External interfaces to the ACPI subsystem
00005  *
00006  *****************************************************************************/
00007 
00008 /******************************************************************************
00009  *
00010  * 1. Copyright Notice
00011  *
00012  * Some or all of this work - Copyright (c) 1999 - 2011, Intel Corp.
00013  * All rights reserved.
00014  *
00015  * 2. License
00016  *
00017  * 2.1. This is your license from Intel Corp. under its intellectual property
00018  * rights.  You may have additional license terms from the party that provided
00019  * you this software, covering your right to use that party's intellectual
00020  * property rights.
00021  *
00022  * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
00023  * copy of the source code appearing in this file ("Covered Code") an
00024  * irrevocable, perpetual, worldwide license under Intel's copyrights in the
00025  * base code distributed originally by Intel ("Original Intel Code") to copy,
00026  * make derivatives, distribute, use and display any portion of the Covered
00027  * Code in any form, with the right to sublicense such rights; and
00028  *
00029  * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
00030  * license (with the right to sublicense), under only those claims of Intel
00031  * patents that are infringed by the Original Intel Code, to make, use, sell,
00032  * offer to sell, and import the Covered Code and derivative works thereof
00033  * solely to the minimum extent necessary to exercise the above copyright
00034  * license, and in no event shall the patent license extend to any additions
00035  * to or modifications of the Original Intel Code.  No other license or right
00036  * is granted directly or by implication, estoppel or otherwise;
00037  *
00038  * The above copyright and patent license is granted only if the following
00039  * conditions are met:
00040  *
00041  * 3. Conditions
00042  *
00043  * 3.1. Redistribution of Source with Rights to Further Distribute Source.
00044  * Redistribution of source code of any substantial portion of the Covered
00045  * Code or modification with rights to further distribute source must include
00046  * the above Copyright Notice, the above License, this list of Conditions,
00047  * and the following Disclaimer and Export Compliance provision.  In addition,
00048  * Licensee must cause all Covered Code to which Licensee contributes to
00049  * contain a file documenting the changes Licensee made to create that Covered
00050  * Code and the date of any change.  Licensee must include in that file the
00051  * documentation of any changes made by any predecessor Licensee.  Licensee
00052  * must include a prominent statement that the modification is derived,
00053  * directly or indirectly, from Original Intel Code.
00054  *
00055  * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
00056  * Redistribution of source code of any substantial portion of the Covered
00057  * Code or modification without rights to further distribute source must
00058  * include the following Disclaimer and Export Compliance provision in the
00059  * documentation and/or other materials provided with distribution.  In
00060  * addition, Licensee may not authorize further sublicense of source of any
00061  * portion of the Covered Code, and must include terms to the effect that the
00062  * license from Licensee to its licensee is limited to the intellectual
00063  * property embodied in the software Licensee provides to its licensee, and
00064  * not to intellectual property embodied in modifications its licensee may
00065  * make.
00066  *
00067  * 3.3. Redistribution of Executable. Redistribution in executable form of any
00068  * substantial portion of the Covered Code or modification must reproduce the
00069  * above Copyright Notice, and the following Disclaimer and Export Compliance
00070  * provision in the documentation and/or other materials provided with the
00071  * distribution.
00072  *
00073  * 3.4. Intel retains all right, title, and interest in and to the Original
00074  * Intel Code.
00075  *
00076  * 3.5. Neither the name Intel nor any other trademark owned or controlled by
00077  * Intel shall be used in advertising or otherwise to promote the sale, use or
00078  * other dealings in products derived from or relating to the Covered Code
00079  * without prior written authorization from Intel.
00080  *
00081  * 4. Disclaimer and Export Compliance
00082  *
00083  * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
00084  * HERE.  ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
00085  * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT,  ASSISTANCE,
00086  * INSTALLATION, TRAINING OR OTHER SERVICES.  INTEL WILL NOT PROVIDE ANY
00087  * UPDATES, ENHANCEMENTS OR EXTENSIONS.  INTEL SPECIFICALLY DISCLAIMS ANY
00088  * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
00089  * PARTICULAR PURPOSE.
00090  *
00091  * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
00092  * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
00093  * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
00094  * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
00095  * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
00096  * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.  THESE LIMITATIONS
00097  * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
00098  * LIMITED REMEDY.
00099  *
00100  * 4.3. Licensee shall not export, either directly or indirectly, any of this
00101  * software or system incorporating such software without first obtaining any
00102  * required license or other approval from the U. S. Department of Commerce or
00103  * any other agency or department of the United States Government.  In the
00104  * event Licensee exports any such software from the United States or
00105  * re-exports any such software from a foreign destination, Licensee shall
00106  * ensure that the distribution and export/re-export of the software is in
00107  * compliance with all laws, regulations, orders, or other restrictions of the
00108  * U.S. Export Administration Regulations. Licensee agrees that neither it nor
00109  * any of its subsidiaries will export/re-export any technical data, process,
00110  * software, or service, directly or indirectly, to any country for which the
00111  * United States government or any agency thereof requires an export license,
00112  * other governmental approval, or letter of assurance, without first obtaining
00113  * such license, approval or letter.
00114  *
00115  *****************************************************************************/
00116 
00117 
00118 #ifndef __ACXFACE_H__
00119 #define __ACXFACE_H__
00120 
00121 /* Current ACPICA subsystem version in YYYYMMDD format */
00122 
00123 #define ACPI_CA_VERSION                 0x20110922
00124 
00125 #include "actypes.h"
00126 #include "actbl.h"
00127 
00128 /*
00129  * Globals that are publically available
00130  */
00131 extern UINT32               AcpiCurrentGpeCount;
00132 extern ACPI_TABLE_FADT      AcpiGbl_FADT;
00133 extern BOOLEAN              AcpiGbl_SystemAwakeAndRunning;
00134 
00135 /* Runtime configuration of debug print levels */
00136 
00137 extern UINT32               AcpiDbgLevel;
00138 extern UINT32               AcpiDbgLayer;
00139 
00140 /* ACPICA runtime options */
00141 
00142 extern UINT8                AcpiGbl_EnableInterpreterSlack;
00143 extern UINT8                AcpiGbl_AllMethodsSerialized;
00144 extern UINT8                AcpiGbl_CreateOsiMethod;
00145 extern UINT8                AcpiGbl_UseDefaultRegisterWidths;
00146 extern ACPI_NAME            AcpiGbl_TraceMethodName;
00147 extern UINT32               AcpiGbl_TraceFlags;
00148 extern UINT8                AcpiGbl_EnableAmlDebugObject;
00149 extern UINT8                AcpiGbl_CopyDsdtLocally;
00150 extern UINT8                AcpiGbl_TruncateIoAddresses;
00151 extern UINT8                AcpiGbl_DisableAutoRepair;
00152 
00153 
00154 /*
00155  * Initialization
00156  */
00157 ACPI_STATUS
00158 AcpiInitializeTables (
00159     ACPI_TABLE_DESC         *InitialStorage,
00160     UINT32                  InitialTableCount,
00161     BOOLEAN                 AllowResize);
00162 
00163 ACPI_STATUS
00164 AcpiInitializeSubsystem (
00165     void);
00166 
00167 ACPI_STATUS
00168 AcpiEnableSubsystem (
00169     UINT32                  Flags);
00170 
00171 ACPI_STATUS
00172 AcpiInitializeObjects (
00173     UINT32                  Flags);
00174 
00175 ACPI_STATUS
00176 AcpiTerminate (
00177     void);
00178 
00179 
00180 /*
00181  * Miscellaneous global interfaces
00182  */
00183 ACPI_STATUS
00184 AcpiEnable (
00185     void);
00186 
00187 ACPI_STATUS
00188 AcpiDisable (
00189     void);
00190 
00191 ACPI_STATUS
00192 AcpiSubsystemStatus (
00193     void);
00194 
00195 ACPI_STATUS
00196 AcpiGetSystemInfo (
00197     ACPI_BUFFER             *RetBuffer);
00198 
00199 ACPI_STATUS
00200 AcpiGetStatistics (
00201     ACPI_STATISTICS         *Stats);
00202 
00203 const char *
00204 AcpiFormatException (
00205     ACPI_STATUS             Exception);
00206 
00207 ACPI_STATUS
00208 AcpiPurgeCachedObjects (
00209     void);
00210 
00211 ACPI_STATUS
00212 AcpiInstallInterface (
00213     ACPI_STRING             InterfaceName);
00214 
00215 ACPI_STATUS
00216 AcpiRemoveInterface (
00217     ACPI_STRING             InterfaceName);
00218 
00219 
00220 /*
00221  * ACPI Memory management
00222  */
00223 void *
00224 AcpiAllocate (
00225     UINT32                  Size);
00226 
00227 void *
00228 AcpiCallocate (
00229     UINT32                  Size);
00230 
00231 void
00232 AcpiFree (
00233     void                    *Address);
00234 
00235 
00236 /*
00237  * ACPI table manipulation interfaces
00238  */
00239 ACPI_STATUS
00240 AcpiReallocateRootTable (
00241     void);
00242 
00243 ACPI_STATUS
00244 AcpiFindRootPointer (
00245     ACPI_SIZE               *RsdpAddress);
00246 
00247 ACPI_STATUS
00248 AcpiLoadTables (
00249     void);
00250 
00251 ACPI_STATUS
00252 AcpiGetTableHeader (
00253     ACPI_STRING             Signature,
00254     UINT32                  Instance,
00255     ACPI_TABLE_HEADER       *OutTableHeader);
00256 
00257 ACPI_STATUS
00258 AcpiGetTable (
00259     ACPI_STRING             Signature,
00260     UINT32                  Instance,
00261     ACPI_TABLE_HEADER       **OutTable);
00262 
00263 ACPI_STATUS
00264 AcpiGetTableByIndex (
00265     UINT32                  TableIndex,
00266     ACPI_TABLE_HEADER       **OutTable);
00267 
00268 ACPI_STATUS
00269 AcpiInstallTableHandler (
00270     ACPI_TABLE_HANDLER      Handler,
00271     void                    *Context);
00272 
00273 ACPI_STATUS
00274 AcpiRemoveTableHandler (
00275     ACPI_TABLE_HANDLER      Handler);
00276 
00277 
00278 /*
00279  * Namespace and name interfaces
00280  */
00281 ACPI_STATUS
00282 AcpiWalkNamespace (
00283     ACPI_OBJECT_TYPE        Type,
00284     ACPI_HANDLE             StartObject,
00285     UINT32                  MaxDepth,
00286     ACPI_WALK_CALLBACK      PreOrderVisit,
00287     ACPI_WALK_CALLBACK      PostOrderVisit,
00288     void                    *Context,
00289     void                    **ReturnValue);
00290 
00291 ACPI_STATUS
00292 AcpiGetDevices (
00293     char                    *HID,
00294     ACPI_WALK_CALLBACK      UserFunction,
00295     void                    *Context,
00296     void                    **ReturnValue);
00297 
00298 ACPI_STATUS
00299 AcpiGetName (
00300     ACPI_HANDLE             Object,
00301     UINT32                  NameType,
00302     ACPI_BUFFER             *RetPathPtr);
00303 
00304 ACPI_STATUS
00305 AcpiGetHandle (
00306     ACPI_HANDLE             Parent,
00307     ACPI_STRING             Pathname,
00308     ACPI_HANDLE             *RetHandle);
00309 
00310 ACPI_STATUS
00311 AcpiAttachData (
00312     ACPI_HANDLE             Object,
00313     ACPI_OBJECT_HANDLER     Handler,
00314     void                    *Data);
00315 
00316 ACPI_STATUS
00317 AcpiDetachData (
00318     ACPI_HANDLE             Object,
00319     ACPI_OBJECT_HANDLER     Handler);
00320 
00321 ACPI_STATUS
00322 AcpiGetData (
00323     ACPI_HANDLE             Object,
00324     ACPI_OBJECT_HANDLER     Handler,
00325     void                    **Data);
00326 
00327 ACPI_STATUS
00328 AcpiDebugTrace (
00329     char                    *Name,
00330     UINT32                  DebugLevel,
00331     UINT32                  DebugLayer,
00332     UINT32                  Flags);
00333 
00334 
00335 /*
00336  * Object manipulation and enumeration
00337  */
00338 ACPI_STATUS
00339 AcpiEvaluateObject (
00340     ACPI_HANDLE             Object,
00341     ACPI_STRING             Pathname,
00342     ACPI_OBJECT_LIST        *ParameterObjects,
00343     ACPI_BUFFER             *ReturnObjectBuffer);
00344 
00345 ACPI_STATUS
00346 AcpiEvaluateObjectTyped (
00347     ACPI_HANDLE             Object,
00348     ACPI_STRING             Pathname,
00349     ACPI_OBJECT_LIST        *ExternalParams,
00350     ACPI_BUFFER             *ReturnBuffer,
00351     ACPI_OBJECT_TYPE        ReturnType);
00352 
00353 ACPI_STATUS
00354 AcpiGetObjectInfo (
00355     ACPI_HANDLE             Object,
00356     ACPI_DEVICE_INFO        **ReturnBuffer);
00357 
00358 ACPI_STATUS
00359 AcpiInstallMethod (
00360     UINT8                   *Buffer);
00361 
00362 ACPI_STATUS
00363 AcpiGetNextObject (
00364     ACPI_OBJECT_TYPE        Type,
00365     ACPI_HANDLE             Parent,
00366     ACPI_HANDLE             Child,
00367     ACPI_HANDLE             *OutHandle);
00368 
00369 ACPI_STATUS
00370 AcpiGetType (
00371     ACPI_HANDLE             Object,
00372     ACPI_OBJECT_TYPE        *OutType);
00373 
00374 ACPI_STATUS
00375 AcpiGetParent (
00376     ACPI_HANDLE             Object,
00377     ACPI_HANDLE             *OutHandle);
00378 
00379 
00380 /*
00381  * Handler interfaces
00382  */
00383 ACPI_STATUS
00384 AcpiInstallInitializationHandler (
00385     ACPI_INIT_HANDLER       Handler,
00386     UINT32                  Function);
00387 
00388 ACPI_STATUS
00389 AcpiInstallGlobalEventHandler (
00390     ACPI_GBL_EVENT_HANDLER  Handler,
00391     void                    *Context);
00392 
00393 ACPI_STATUS
00394 AcpiInstallFixedEventHandler (
00395     UINT32                  AcpiEvent,
00396     ACPI_EVENT_HANDLER      Handler,
00397     void                    *Context);
00398 
00399 ACPI_STATUS
00400 AcpiRemoveFixedEventHandler (
00401     UINT32                  AcpiEvent,
00402     ACPI_EVENT_HANDLER      Handler);
00403 
00404 ACPI_STATUS
00405 AcpiInstallGpeHandler (
00406     ACPI_HANDLE             GpeDevice,
00407     UINT32                  GpeNumber,
00408     UINT32                  Type,
00409     ACPI_GPE_HANDLER        Address,
00410     void                    *Context);
00411 
00412 ACPI_STATUS
00413 AcpiRemoveGpeHandler (
00414     ACPI_HANDLE             GpeDevice,
00415     UINT32                  GpeNumber,
00416     ACPI_GPE_HANDLER        Address);
00417 
00418 ACPI_STATUS
00419 AcpiInstallNotifyHandler (
00420     ACPI_HANDLE             Device,
00421     UINT32                  HandlerType,
00422     ACPI_NOTIFY_HANDLER     Handler,
00423     void                    *Context);
00424 
00425 ACPI_STATUS
00426 AcpiRemoveNotifyHandler (
00427     ACPI_HANDLE             Device,
00428     UINT32                  HandlerType,
00429     ACPI_NOTIFY_HANDLER     Handler);
00430 
00431 ACPI_STATUS
00432 AcpiInstallAddressSpaceHandler (
00433     ACPI_HANDLE             Device,
00434     ACPI_ADR_SPACE_TYPE     SpaceId,
00435     ACPI_ADR_SPACE_HANDLER  Handler,
00436     ACPI_ADR_SPACE_SETUP    Setup,
00437     void                    *Context);
00438 
00439 ACPI_STATUS
00440 AcpiRemoveAddressSpaceHandler (
00441     ACPI_HANDLE             Device,
00442     ACPI_ADR_SPACE_TYPE     SpaceId,
00443     ACPI_ADR_SPACE_HANDLER  Handler);
00444 
00445 ACPI_STATUS
00446 AcpiInstallExceptionHandler (
00447     ACPI_EXCEPTION_HANDLER  Handler);
00448 
00449 ACPI_STATUS
00450 AcpiInstallInterfaceHandler (
00451     ACPI_INTERFACE_HANDLER  Handler);
00452 
00453 
00454 /*
00455  * Global Lock interfaces
00456  */
00457 ACPI_STATUS
00458 AcpiAcquireGlobalLock (
00459     UINT16                  Timeout,
00460     UINT32                  *Handle);
00461 
00462 ACPI_STATUS
00463 AcpiReleaseGlobalLock (
00464     UINT32                  Handle);
00465 
00466 
00467 /*
00468  * Fixed Event interfaces
00469  */
00470 ACPI_STATUS
00471 AcpiEnableEvent (
00472     UINT32                  Event,
00473     UINT32                  Flags);
00474 
00475 ACPI_STATUS
00476 AcpiDisableEvent (
00477     UINT32                  Event,
00478     UINT32                  Flags);
00479 
00480 ACPI_STATUS
00481 AcpiClearEvent (
00482     UINT32                  Event);
00483 
00484 ACPI_STATUS
00485 AcpiGetEventStatus (
00486     UINT32                  Event,
00487     ACPI_EVENT_STATUS       *EventStatus);
00488 
00489 
00490 /*
00491  * General Purpose Event (GPE) Interfaces
00492  */
00493 ACPI_STATUS
00494 AcpiUpdateAllGpes (
00495     void);
00496 
00497 ACPI_STATUS
00498 AcpiEnableGpe (
00499     ACPI_HANDLE             GpeDevice,
00500     UINT32                  GpeNumber);
00501 
00502 ACPI_STATUS
00503 AcpiDisableGpe (
00504     ACPI_HANDLE             GpeDevice,
00505     UINT32                  GpeNumber);
00506 
00507 ACPI_STATUS
00508 AcpiClearGpe (
00509     ACPI_HANDLE             GpeDevice,
00510     UINT32                  GpeNumber);
00511 
00512 ACPI_STATUS
00513 AcpiSetGpe (
00514     ACPI_HANDLE             GpeDevice,
00515     UINT32                  GpeNumber,
00516     UINT8                   Action);
00517 
00518 ACPI_STATUS
00519 AcpiFinishGpe (
00520     ACPI_HANDLE             GpeDevice,
00521     UINT32                  GpeNumber);
00522 
00523 ACPI_STATUS
00524 AcpiSetupGpeForWake (
00525     ACPI_HANDLE             ParentDevice,
00526     ACPI_HANDLE             GpeDevice,
00527     UINT32                  GpeNumber);
00528 
00529 ACPI_STATUS
00530 AcpiSetGpeWakeMask (
00531     ACPI_HANDLE             GpeDevice,
00532     UINT32                  GpeNumber,
00533     UINT8                   Action);
00534 
00535 ACPI_STATUS
00536 AcpiGetGpeStatus (
00537     ACPI_HANDLE             GpeDevice,
00538     UINT32                  GpeNumber,
00539     ACPI_EVENT_STATUS       *EventStatus);
00540 
00541 ACPI_STATUS
00542 AcpiDisableAllGpes (
00543     void);
00544 
00545 ACPI_STATUS
00546 AcpiEnableAllRuntimeGpes (
00547     void);
00548 
00549 ACPI_STATUS
00550 AcpiGetGpeDevice (
00551     UINT32                  GpeIndex,
00552     ACPI_HANDLE             *GpeDevice);
00553 
00554 ACPI_STATUS
00555 AcpiInstallGpeBlock (
00556     ACPI_HANDLE             GpeDevice,
00557     ACPI_GENERIC_ADDRESS    *GpeBlockAddress,
00558     UINT32                  RegisterCount,
00559     UINT32                  InterruptNumber);
00560 
00561 ACPI_STATUS
00562 AcpiRemoveGpeBlock (
00563     ACPI_HANDLE             GpeDevice);
00564 
00565 
00566 /*
00567  * Resource interfaces
00568  */
00569 typedef
00570 ACPI_STATUS (*ACPI_WALK_RESOURCE_CALLBACK) (
00571     ACPI_RESOURCE           *Resource,
00572     void                    *Context);
00573 
00574 ACPI_STATUS
00575 AcpiGetVendorResource (
00576     ACPI_HANDLE             Device,
00577     char                    *Name,
00578     ACPI_VENDOR_UUID        *Uuid,
00579     ACPI_BUFFER             *RetBuffer);
00580 
00581 ACPI_STATUS
00582 AcpiGetCurrentResources (
00583     ACPI_HANDLE             Device,
00584     ACPI_BUFFER             *RetBuffer);
00585 
00586 ACPI_STATUS
00587 AcpiGetPossibleResources (
00588     ACPI_HANDLE             Device,
00589     ACPI_BUFFER             *RetBuffer);
00590 
00591 ACPI_STATUS
00592 AcpiWalkResources (
00593     ACPI_HANDLE                 Device,
00594     char                        *Name,
00595     ACPI_WALK_RESOURCE_CALLBACK UserFunction,
00596     void                        *Context);
00597 
00598 ACPI_STATUS
00599 AcpiSetCurrentResources (
00600     ACPI_HANDLE             Device,
00601     ACPI_BUFFER             *InBuffer);
00602 
00603 ACPI_STATUS
00604 AcpiGetIrqRoutingTable (
00605     ACPI_HANDLE             Device,
00606     ACPI_BUFFER             *RetBuffer);
00607 
00608 ACPI_STATUS
00609 AcpiResourceToAddress64 (
00610     ACPI_RESOURCE           *Resource,
00611     ACPI_RESOURCE_ADDRESS64 *Out);
00612 
00613 
00614 /*
00615  * Hardware (ACPI device) interfaces
00616  */
00617 ACPI_STATUS
00618 AcpiReset (
00619     void);
00620 
00621 ACPI_STATUS
00622 AcpiRead (
00623     UINT64                  *Value,
00624     ACPI_GENERIC_ADDRESS    *Reg);
00625 
00626 ACPI_STATUS
00627 AcpiWrite (
00628     UINT64                  Value,
00629     ACPI_GENERIC_ADDRESS    *Reg);
00630 
00631 ACPI_STATUS
00632 AcpiReadBitRegister (
00633     UINT32                  RegisterId,
00634     UINT32                  *ReturnValue);
00635 
00636 ACPI_STATUS
00637 AcpiWriteBitRegister (
00638     UINT32                  RegisterId,
00639     UINT32                  Value);
00640 
00641 ACPI_STATUS
00642 AcpiGetSleepTypeData (
00643     UINT8                   SleepState,
00644     UINT8                   *Slp_TypA,
00645     UINT8                   *Slp_TypB);
00646 
00647 ACPI_STATUS
00648 AcpiEnterSleepStatePrep (
00649     UINT8                   SleepState);
00650 
00651 ACPI_STATUS
00652 AcpiEnterSleepState (
00653     UINT8                   SleepState);
00654 
00655 ACPI_STATUS
00656 AcpiEnterSleepStateS4bios (
00657     void);
00658 
00659 ACPI_STATUS
00660 AcpiLeaveSleepState (
00661     UINT8                   SleepState)
00662     ;
00663 ACPI_STATUS
00664 AcpiSetFirmwareWakingVector (
00665     UINT32                  PhysicalAddress);
00666 
00667 #if ACPI_MACHINE_WIDTH == 64
00668 ACPI_STATUS
00669 AcpiSetFirmwareWakingVector64 (
00670     UINT64                  PhysicalAddress);
00671 #endif
00672 
00673 
00674 /*
00675  * Error/Warning output
00676  */
00677 void ACPI_INTERNAL_VAR_XFACE
00678 AcpiError (
00679     const char              *ModuleName,
00680     UINT32                  LineNumber,
00681     const char              *Format,
00682     ...) ACPI_PRINTF_LIKE(3);
00683 
00684 void  ACPI_INTERNAL_VAR_XFACE
00685 AcpiException (
00686     const char              *ModuleName,
00687     UINT32                  LineNumber,
00688     ACPI_STATUS             Status,
00689     const char              *Format,
00690     ...) ACPI_PRINTF_LIKE(4);
00691 
00692 void ACPI_INTERNAL_VAR_XFACE
00693 AcpiWarning (
00694     const char              *ModuleName,
00695     UINT32                  LineNumber,
00696     const char              *Format,
00697     ...) ACPI_PRINTF_LIKE(3);
00698 
00699 void ACPI_INTERNAL_VAR_XFACE
00700 AcpiInfo (
00701     const char              *ModuleName,
00702     UINT32                  LineNumber,
00703     const char              *Format,
00704     ...) ACPI_PRINTF_LIKE(3);
00705 
00706 
00707 /*
00708  * Debug output
00709  */
00710 #ifdef ACPI_DEBUG_OUTPUT
00711 
00712 void ACPI_INTERNAL_VAR_XFACE
00713 AcpiDebugPrint (
00714     UINT32                  RequestedDebugLevel,
00715     UINT32                  LineNumber,
00716     const char              *FunctionName,
00717     const char              *ModuleName,
00718     UINT32                  ComponentId,
00719     const char              *Format,
00720     ...) ACPI_PRINTF_LIKE(6);
00721 
00722 void ACPI_INTERNAL_VAR_XFACE
00723 AcpiDebugPrintRaw (
00724     UINT32                  RequestedDebugLevel,
00725     UINT32                  LineNumber,
00726     const char              *FunctionName,
00727     const char              *ModuleName,
00728     UINT32                  ComponentId,
00729     const char              *Format,
00730     ...) ACPI_PRINTF_LIKE(6);
00731 #endif
00732 
00733 #endif /* __ACXFACE_H__ */

Generated on Sat May 26 2012 04:25:52 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.