Back to home page

Quest Cross Reference

 
 

    


Warning, cross-references for /kernel/include/drivers/acpi/acpixf.h need to be fixed.

0001 
0002 /******************************************************************************
0003  *
0004  * Name: acpixf.h - External interfaces to the ACPI subsystem
0005  *
0006  *****************************************************************************/
0007 
0008 /******************************************************************************
0009  *
0010  * 1. Copyright Notice
0011  *
0012  * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
0013  * All rights reserved.
0014  *
0015  * 2. License
0016  *
0017  * 2.1. This is your license from Intel Corp. under its intellectual property
0018  * rights.  You may have additional license terms from the party that provided
0019  * you this software, covering your right to use that party's intellectual
0020  * property rights.
0021  *
0022  * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
0023  * copy of the source code appearing in this file ("Covered Code") an
0024  * irrevocable, perpetual, worldwide license under Intel's copyrights in the
0025  * base code distributed originally by Intel ("Original Intel Code") to copy,
0026  * make derivatives, distribute, use and display any portion of the Covered
0027  * Code in any form, with the right to sublicense such rights; and
0028  *
0029  * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
0030  * license (with the right to sublicense), under only those claims of Intel
0031  * patents that are infringed by the Original Intel Code, to make, use, sell,
0032  * offer to sell, and import the Covered Code and derivative works thereof
0033  * solely to the minimum extent necessary to exercise the above copyright
0034  * license, and in no event shall the patent license extend to any additions
0035  * to or modifications of the Original Intel Code.  No other license or right
0036  * is granted directly or by implication, estoppel or otherwise;
0037  *
0038  * The above copyright and patent license is granted only if the following
0039  * conditions are met:
0040  *
0041  * 3. Conditions
0042  *
0043  * 3.1. Redistribution of Source with Rights to Further Distribute Source.
0044  * Redistribution of source code of any substantial portion of the Covered
0045  * Code or modification with rights to further distribute source must include
0046  * the above Copyright Notice, the above License, this list of Conditions,
0047  * and the following Disclaimer and Export Compliance provision.  In addition,
0048  * Licensee must cause all Covered Code to which Licensee contributes to
0049  * contain a file documenting the changes Licensee made to create that Covered
0050  * Code and the date of any change.  Licensee must include in that file the
0051  * documentation of any changes made by any predecessor Licensee.  Licensee
0052  * must include a prominent statement that the modification is derived,
0053  * directly or indirectly, from Original Intel Code.
0054  *
0055  * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
0056  * Redistribution of source code of any substantial portion of the Covered
0057  * Code or modification without rights to further distribute source must
0058  * include the following Disclaimer and Export Compliance provision in the
0059  * documentation and/or other materials provided with distribution.  In
0060  * addition, Licensee may not authorize further sublicense of source of any
0061  * portion of the Covered Code, and must include terms to the effect that the
0062  * license from Licensee to its licensee is limited to the intellectual
0063  * property embodied in the software Licensee provides to its licensee, and
0064  * not to intellectual property embodied in modifications its licensee may
0065  * make.
0066  *
0067  * 3.3. Redistribution of Executable. Redistribution in executable form of any
0068  * substantial portion of the Covered Code or modification must reproduce the
0069  * above Copyright Notice, and the following Disclaimer and Export Compliance
0070  * provision in the documentation and/or other materials provided with the
0071  * distribution.
0072  *
0073  * 3.4. Intel retains all right, title, and interest in and to the Original
0074  * Intel Code.
0075  *
0076  * 3.5. Neither the name Intel nor any other trademark owned or controlled by
0077  * Intel shall be used in advertising or otherwise to promote the sale, use or
0078  * other dealings in products derived from or relating to the Covered Code
0079  * without prior written authorization from Intel.
0080  *
0081  * 4. Disclaimer and Export Compliance
0082  *
0083  * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
0084  * HERE.  ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
0085  * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT,  ASSISTANCE,
0086  * INSTALLATION, TRAINING OR OTHER SERVICES.  INTEL WILL NOT PROVIDE ANY
0087  * UPDATES, ENHANCEMENTS OR EXTENSIONS.  INTEL SPECIFICALLY DISCLAIMS ANY
0088  * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
0089  * PARTICULAR PURPOSE.
0090  *
0091  * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
0092  * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
0093  * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
0094  * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
0095  * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
0096  * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.  THESE LIMITATIONS
0097  * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
0098  * LIMITED REMEDY.
0099  *
0100  * 4.3. Licensee shall not export, either directly or indirectly, any of this
0101  * software or system incorporating such software without first obtaining any
0102  * required license or other approval from the U. S. Department of Commerce or
0103  * any other agency or department of the United States Government.  In the
0104  * event Licensee exports any such software from the United States or
0105  * re-exports any such software from a foreign destination, Licensee shall
0106  * ensure that the distribution and export/re-export of the software is in
0107  * compliance with all laws, regulations, orders, or other restrictions of the
0108  * U.S. Export Administration Regulations. Licensee agrees that neither it nor
0109  * any of its subsidiaries will export/re-export any technical data, process,
0110  * software, or service, directly or indirectly, to any country for which the
0111  * United States government or any agency thereof requires an export license,
0112  * other governmental approval, or letter of assurance, without first obtaining
0113  * such license, approval or letter.
0114  *
0115  *****************************************************************************/
0116 
0117 
0118 #ifndef __ACXFACE_H__
0119 #define __ACXFACE_H__
0120 
0121 /* Current ACPICA subsystem version in YYYYMMDD format */
0122 
0123 #define ACPI_CA_VERSION                 0x20090625
0124 
0125 #include "actypes.h"
0126 #include "actbl.h"
0127 
0128 /*
0129  * Globals that are publically available
0130  */
0131 extern UINT32               AcpiCurrentGpeCount;
0132 extern ACPI_TABLE_FADT      AcpiGbl_FADT;
0133 
0134 /* Runtime configuration of debug print levels */
0135 
0136 extern UINT32               AcpiDbgLevel;
0137 extern UINT32               AcpiDbgLayer;
0138 
0139 /* ACPICA runtime options */
0140 
0141 extern UINT8                AcpiGbl_EnableInterpreterSlack;
0142 extern UINT8                AcpiGbl_AllMethodsSerialized;
0143 extern UINT8                AcpiGbl_CreateOsiMethod;
0144 extern UINT8                AcpiGbl_LeaveWakeGpesDisabled;
0145 extern UINT8                AcpiGbl_UseDefaultRegisterWidths;
0146 extern ACPI_NAME            AcpiGbl_TraceMethodName;
0147 extern UINT32               AcpiGbl_TraceFlags;
0148 
0149 
0150 /*
0151  * Global interfaces
0152  */
0153 ACPI_STATUS
0154 AcpiInitializeTables (
0155     ACPI_TABLE_DESC         *InitialStorage,
0156     UINT32                  InitialTableCount,
0157     BOOLEAN                 AllowResize);
0158 
0159 ACPI_STATUS
0160 AcpiInitializeSubsystem (
0161     void);
0162 
0163 ACPI_STATUS
0164 AcpiEnableSubsystem (
0165     UINT32                  Flags);
0166 
0167 ACPI_STATUS
0168 AcpiInitializeObjects (
0169     UINT32                  Flags);
0170 
0171 ACPI_STATUS
0172 AcpiTerminate (
0173     void);
0174 
0175 ACPI_STATUS
0176 AcpiSubsystemStatus (
0177     void);
0178 
0179 ACPI_STATUS
0180 AcpiEnable (
0181     void);
0182 
0183 ACPI_STATUS
0184 AcpiDisable (
0185     void);
0186 
0187 ACPI_STATUS
0188 AcpiGetSystemInfo (
0189     ACPI_BUFFER             *RetBuffer);
0190 
0191 ACPI_STATUS
0192 AcpiGetStatistics (
0193     ACPI_STATISTICS         *Stats);
0194 
0195 const char *
0196 AcpiFormatException (
0197     ACPI_STATUS             Exception);
0198 
0199 ACPI_STATUS
0200 AcpiPurgeCachedObjects (
0201     void);
0202 
0203 
0204 /*
0205  * ACPI Memory managment
0206  */
0207 void *
0208 AcpiAllocate (
0209     UINT32                  Size);
0210 
0211 void *
0212 AcpiCallocate (
0213     UINT32                  Size);
0214 
0215 void
0216 AcpiFree (
0217     void                    *Address);
0218 
0219 
0220 /*
0221  * ACPI table manipulation interfaces
0222  */
0223 ACPI_STATUS
0224 AcpiReallocateRootTable (
0225     void);
0226 
0227 ACPI_STATUS
0228 AcpiFindRootPointer (
0229     ACPI_SIZE               *RsdpAddress);
0230 
0231 ACPI_STATUS
0232 AcpiLoadTables (
0233     void);
0234 
0235 ACPI_STATUS
0236 AcpiGetTableHeader (
0237     ACPI_STRING             Signature,
0238     UINT32                  Instance,
0239     ACPI_TABLE_HEADER       *OutTableHeader);
0240 
0241 ACPI_STATUS
0242 AcpiGetTable (
0243     ACPI_STRING             Signature,
0244     UINT32                  Instance,
0245     ACPI_TABLE_HEADER       **OutTable);
0246 
0247 ACPI_STATUS
0248 AcpiGetTableByIndex (
0249     UINT32                  TableIndex,
0250     ACPI_TABLE_HEADER       **OutTable);
0251 
0252 ACPI_STATUS
0253 AcpiInstallTableHandler (
0254     ACPI_TABLE_HANDLER      Handler,
0255     void                    *Context);
0256 
0257 ACPI_STATUS
0258 AcpiRemoveTableHandler (
0259     ACPI_TABLE_HANDLER      Handler);
0260 
0261 
0262 /*
0263  * Namespace and name interfaces
0264  */
0265 ACPI_STATUS
0266 AcpiWalkNamespace (
0267     ACPI_OBJECT_TYPE        Type,
0268     ACPI_HANDLE             StartObject,
0269     UINT32                  MaxDepth,
0270     ACPI_WALK_CALLBACK      UserFunction,
0271     void                    *Context,
0272     void                    **ReturnValue);
0273 
0274 ACPI_STATUS
0275 AcpiGetDevices (
0276     char                    *HID,
0277     ACPI_WALK_CALLBACK      UserFunction,
0278     void                    *Context,
0279     void                    **ReturnValue);
0280 
0281 ACPI_STATUS
0282 AcpiGetName (
0283     ACPI_HANDLE             Handle,
0284     UINT32                  NameType,
0285     ACPI_BUFFER             *RetPathPtr);
0286 
0287 ACPI_STATUS
0288 AcpiGetHandle (
0289     ACPI_HANDLE             Parent,
0290     ACPI_STRING             Pathname,
0291     ACPI_HANDLE             *RetHandle);
0292 
0293 ACPI_STATUS
0294 AcpiAttachData (
0295     ACPI_HANDLE             ObjHandle,
0296     ACPI_OBJECT_HANDLER     Handler,
0297     void                    *Data);
0298 
0299 ACPI_STATUS
0300 AcpiDetachData (
0301     ACPI_HANDLE             ObjHandle,
0302     ACPI_OBJECT_HANDLER     Handler);
0303 
0304 ACPI_STATUS
0305 AcpiGetData (
0306     ACPI_HANDLE             ObjHandle,
0307     ACPI_OBJECT_HANDLER     Handler,
0308     void                    **Data);
0309 
0310 ACPI_STATUS
0311 AcpiDebugTrace (
0312     char                    *Name,
0313     UINT32                  DebugLevel,
0314     UINT32                  DebugLayer,
0315     UINT32                  Flags);
0316 
0317 
0318 /*
0319  * Object manipulation and enumeration
0320  */
0321 ACPI_STATUS
0322 AcpiEvaluateObject (
0323     ACPI_HANDLE             Object,
0324     ACPI_STRING             Pathname,
0325     ACPI_OBJECT_LIST        *ParameterObjects,
0326     ACPI_BUFFER             *ReturnObjectBuffer);
0327 
0328 ACPI_STATUS
0329 AcpiEvaluateObjectTyped (
0330     ACPI_HANDLE             Object,
0331     ACPI_STRING             Pathname,
0332     ACPI_OBJECT_LIST        *ExternalParams,
0333     ACPI_BUFFER             *ReturnBuffer,
0334     ACPI_OBJECT_TYPE        ReturnType);
0335 
0336 ACPI_STATUS
0337 AcpiGetObjectInfo (
0338     ACPI_HANDLE             Handle,
0339     ACPI_DEVICE_INFO        **ReturnBuffer);
0340 
0341 ACPI_STATUS
0342 AcpiInstallMethod (
0343     UINT8                   *Buffer);
0344 
0345 ACPI_STATUS
0346 AcpiGetNextObject (
0347     ACPI_OBJECT_TYPE        Type,
0348     ACPI_HANDLE             Parent,
0349     ACPI_HANDLE             Child,
0350     ACPI_HANDLE             *OutHandle);
0351 
0352 ACPI_STATUS
0353 AcpiGetType (
0354     ACPI_HANDLE             Object,
0355     ACPI_OBJECT_TYPE        *OutType);
0356 
0357 ACPI_STATUS
0358 AcpiGetParent (
0359     ACPI_HANDLE             Object,
0360     ACPI_HANDLE             *OutHandle);
0361 
0362 
0363 /*
0364  * Handler interfaces
0365  */
0366 ACPI_STATUS
0367 AcpiInstallInitializationHandler (
0368     ACPI_INIT_HANDLER       Handler,
0369     UINT32                  Function);
0370 
0371 ACPI_STATUS
0372 AcpiInstallFixedEventHandler (
0373     UINT32                  AcpiEvent,
0374     ACPI_EVENT_HANDLER      Handler,
0375     void                    *Context);
0376 
0377 ACPI_STATUS
0378 AcpiRemoveFixedEventHandler (
0379     UINT32                  AcpiEvent,
0380     ACPI_EVENT_HANDLER      Handler);
0381 
0382 ACPI_STATUS
0383 AcpiInstallNotifyHandler (
0384     ACPI_HANDLE             Device,
0385     UINT32                  HandlerType,
0386     ACPI_NOTIFY_HANDLER     Handler,
0387     void                    *Context);
0388 
0389 ACPI_STATUS
0390 AcpiRemoveNotifyHandler (
0391     ACPI_HANDLE             Device,
0392     UINT32                  HandlerType,
0393     ACPI_NOTIFY_HANDLER     Handler);
0394 
0395 ACPI_STATUS
0396 AcpiInstallAddressSpaceHandler (
0397     ACPI_HANDLE             Device,
0398     ACPI_ADR_SPACE_TYPE     SpaceId,
0399     ACPI_ADR_SPACE_HANDLER  Handler,
0400     ACPI_ADR_SPACE_SETUP    Setup,
0401     void                    *Context);
0402 
0403 ACPI_STATUS
0404 AcpiRemoveAddressSpaceHandler (
0405     ACPI_HANDLE             Device,
0406     ACPI_ADR_SPACE_TYPE     SpaceId,
0407     ACPI_ADR_SPACE_HANDLER  Handler);
0408 
0409 ACPI_STATUS
0410 AcpiInstallGpeHandler (
0411     ACPI_HANDLE             GpeDevice,
0412     UINT32                  GpeNumber,
0413     UINT32                  Type,
0414     ACPI_EVENT_HANDLER      Address,
0415     void                    *Context);
0416 
0417 ACPI_STATUS
0418 AcpiRemoveGpeHandler (
0419     ACPI_HANDLE             GpeDevice,
0420     UINT32                  GpeNumber,
0421     ACPI_EVENT_HANDLER      Address);
0422 
0423 ACPI_STATUS
0424 AcpiInstallExceptionHandler (
0425     ACPI_EXCEPTION_HANDLER  Handler);
0426 
0427 
0428 /*
0429  * Event interfaces
0430  */
0431 ACPI_STATUS
0432 AcpiAcquireGlobalLock (
0433     UINT16                  Timeout,
0434     UINT32                  *Handle);
0435 
0436 ACPI_STATUS
0437 AcpiReleaseGlobalLock (
0438     UINT32                  Handle);
0439 
0440 ACPI_STATUS
0441 AcpiEnableEvent (
0442     UINT32                  Event,
0443     UINT32                  Flags);
0444 
0445 ACPI_STATUS
0446 AcpiDisableEvent (
0447     UINT32                  Event,
0448     UINT32                  Flags);
0449 
0450 ACPI_STATUS
0451 AcpiClearEvent (
0452     UINT32                  Event);
0453 
0454 ACPI_STATUS
0455 AcpiGetEventStatus (
0456     UINT32                  Event,
0457     ACPI_EVENT_STATUS       *EventStatus);
0458 
0459 
0460 /*
0461  * GPE Interfaces
0462  */
0463 ACPI_STATUS
0464 AcpiSetGpeType (
0465     ACPI_HANDLE             GpeDevice,
0466     UINT32                  GpeNumber,
0467     UINT8                   Type);
0468 
0469 ACPI_STATUS
0470 AcpiEnableGpe (
0471     ACPI_HANDLE             GpeDevice,
0472     UINT32                  GpeNumber,
0473     UINT32                  Flags);
0474 
0475 ACPI_STATUS
0476 AcpiDisableGpe (
0477     ACPI_HANDLE             GpeDevice,
0478     UINT32                  GpeNumber,
0479     UINT32                  Flags);
0480 
0481 ACPI_STATUS
0482 AcpiClearGpe (
0483     ACPI_HANDLE             GpeDevice,
0484     UINT32                  GpeNumber,
0485     UINT32                  Flags);
0486 
0487 ACPI_STATUS
0488 AcpiGetGpeStatus (
0489     ACPI_HANDLE             GpeDevice,
0490     UINT32                  GpeNumber,
0491     UINT32                  Flags,
0492     ACPI_EVENT_STATUS       *EventStatus);
0493 
0494 ACPI_STATUS
0495 AcpiDisableAllGpes (
0496     void);
0497 
0498 ACPI_STATUS
0499 AcpiEnableAllRuntimeGpes (
0500     void);
0501 
0502 ACPI_STATUS
0503 AcpiGetGpeDevice (
0504     UINT32                  GpeIndex,
0505     ACPI_HANDLE             *GpeDevice);
0506 
0507 ACPI_STATUS
0508 AcpiInstallGpeBlock (
0509     ACPI_HANDLE             GpeDevice,
0510     ACPI_GENERIC_ADDRESS    *GpeBlockAddress,
0511     UINT32                  RegisterCount,
0512     UINT32                  InterruptNumber);
0513 
0514 ACPI_STATUS
0515 AcpiRemoveGpeBlock (
0516     ACPI_HANDLE             GpeDevice);
0517 
0518 
0519 /*
0520  * Resource interfaces
0521  */
0522 typedef
0523 ACPI_STATUS (*ACPI_WALK_RESOURCE_CALLBACK) (
0524     ACPI_RESOURCE           *Resource,
0525     void                    *Context);
0526 
0527 ACPI_STATUS
0528 AcpiGetVendorResource (
0529     ACPI_HANDLE             DeviceHandle,
0530     char                    *Name,
0531     ACPI_VENDOR_UUID        *Uuid,
0532     ACPI_BUFFER             *RetBuffer);
0533 
0534 ACPI_STATUS
0535 AcpiGetCurrentResources(
0536     ACPI_HANDLE             DeviceHandle,
0537     ACPI_BUFFER             *RetBuffer);
0538 
0539 ACPI_STATUS
0540 AcpiGetPossibleResources(
0541     ACPI_HANDLE             DeviceHandle,
0542     ACPI_BUFFER             *RetBuffer);
0543 
0544 ACPI_STATUS
0545 AcpiWalkResources (
0546     ACPI_HANDLE                 DeviceHandle,
0547     char                        *Name,
0548     ACPI_WALK_RESOURCE_CALLBACK UserFunction,
0549     void                        *Context);
0550 
0551 ACPI_STATUS
0552 AcpiSetCurrentResources (
0553     ACPI_HANDLE             DeviceHandle,
0554     ACPI_BUFFER             *InBuffer);
0555 
0556 ACPI_STATUS
0557 AcpiGetIrqRoutingTable  (
0558     ACPI_HANDLE             BusDeviceHandle,
0559     ACPI_BUFFER             *RetBuffer);
0560 
0561 ACPI_STATUS
0562 AcpiResourceToAddress64 (
0563     ACPI_RESOURCE           *Resource,
0564     ACPI_RESOURCE_ADDRESS64 *Out);
0565 
0566 
0567 /*
0568  * Hardware (ACPI device) interfaces
0569  */
0570 ACPI_STATUS
0571 AcpiReset (
0572     void);
0573 
0574 ACPI_STATUS
0575 AcpiRead (
0576     UINT64                  *Value,
0577     ACPI_GENERIC_ADDRESS    *Reg);
0578 
0579 ACPI_STATUS
0580 AcpiWrite (
0581     UINT64                  Value,
0582     ACPI_GENERIC_ADDRESS    *Reg);
0583 
0584 ACPI_STATUS
0585 AcpiReadBitRegister (
0586     UINT32                  RegisterId,
0587     UINT32                  *ReturnValue);
0588 
0589 ACPI_STATUS
0590 AcpiWriteBitRegister (
0591     UINT32                  RegisterId,
0592     UINT32                  Value);
0593 
0594 ACPI_STATUS
0595 AcpiGetSleepTypeData (
0596     UINT8                   SleepState,
0597     UINT8                   *Slp_TypA,
0598     UINT8                   *Slp_TypB);
0599 
0600 ACPI_STATUS
0601 AcpiEnterSleepStatePrep (
0602     UINT8                   SleepState);
0603 
0604 ACPI_STATUS
0605 AcpiEnterSleepState (
0606     UINT8                   SleepState);
0607 
0608 ACPI_STATUS
0609 AcpiEnterSleepStateS4bios (
0610     void);
0611 
0612 ACPI_STATUS
0613 AcpiLeaveSleepState (
0614     UINT8                   SleepState)
0615     ;
0616 ACPI_STATUS
0617 AcpiSetFirmwareWakingVector (
0618     UINT32                  PhysicalAddress);
0619 
0620 #if ACPI_MACHINE_WIDTH == 64
0621 ACPI_STATUS
0622 AcpiSetFirmwareWakingVector64 (
0623     UINT64                  PhysicalAddress);
0624 #endif
0625 
0626 
0627 /*
0628  * Error/Warning output
0629  */
0630 void ACPI_INTERNAL_VAR_XFACE
0631 AcpiError (
0632     const char              *ModuleName,
0633     UINT32                  LineNumber,
0634     const char              *Format,
0635     ...) ACPI_PRINTF_LIKE(3);
0636 
0637 void  ACPI_INTERNAL_VAR_XFACE
0638 AcpiException (
0639     const char              *ModuleName,
0640     UINT32                  LineNumber,
0641     ACPI_STATUS             Status,
0642     const char              *Format,
0643     ...) ACPI_PRINTF_LIKE(4);
0644 
0645 void ACPI_INTERNAL_VAR_XFACE
0646 AcpiWarning (
0647     const char              *ModuleName,
0648     UINT32                  LineNumber,
0649     const char              *Format,
0650     ...) ACPI_PRINTF_LIKE(3);
0651 
0652 void ACPI_INTERNAL_VAR_XFACE
0653 AcpiInfo (
0654     const char              *ModuleName,
0655     UINT32                  LineNumber,
0656     const char              *Format,
0657     ...) ACPI_PRINTF_LIKE(3);
0658 
0659 
0660 /*
0661  * Debug output
0662  */
0663 #ifdef ACPI_DEBUG_OUTPUT
0664 
0665 void ACPI_INTERNAL_VAR_XFACE
0666 AcpiDebugPrint (
0667     UINT32                  RequestedDebugLevel,
0668     UINT32                  LineNumber,
0669     const char              *FunctionName,
0670     const char              *ModuleName,
0671     UINT32                  ComponentId,
0672     const char              *Format,
0673     ...) ACPI_PRINTF_LIKE(6);
0674 
0675 void ACPI_INTERNAL_VAR_XFACE
0676 AcpiDebugPrintRaw (
0677     UINT32                  RequestedDebugLevel,
0678     UINT32                  LineNumber,
0679     const char              *FunctionName,
0680     const char              *ModuleName,
0681     UINT32                  ComponentId,
0682     const char              *Format,
0683     ...) ACPI_PRINTF_LIKE(6);
0684 #endif
0685 
0686 #endif /* __ACXFACE_H__ */