Indentation fix, cleanup.
[AROS.git] / arch / all-pc / acpica / source / include / acpixf.h
blob15273ad45d989de3a9781f70120ddd7333b68eb5
1 /******************************************************************************
3 * Name: acpixf.h - External interfaces to the ACPI subsystem
5 *****************************************************************************/
7 /*
8 * Copyright (C) 2000 - 2013, Intel Corp.
9 * All rights reserved.
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.
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.
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.
45 #ifndef __ACXFACE_H__
46 #define __ACXFACE_H__
48 /* Current ACPICA subsystem version in YYYYMMDD format */
50 #define ACPI_CA_VERSION 0x20131115
52 #include "acconfig.h"
53 #include "actypes.h"
54 #include "actbl.h"
55 #include "acbuffer.h"
58 * Globals that are publically available
60 extern UINT32 AcpiCurrentGpeCount;
61 extern ACPI_TABLE_FADT AcpiGbl_FADT;
62 extern BOOLEAN AcpiGbl_SystemAwakeAndRunning;
63 extern BOOLEAN AcpiGbl_ReducedHardware; /* ACPI 5.0 */
64 extern UINT8 AcpiGbl_OsiData;
66 /* Runtime configuration of debug print levels */
68 extern UINT32 AcpiDbgLevel;
69 extern UINT32 AcpiDbgLayer;
71 /* ACPICA runtime options */
73 extern UINT8 AcpiGbl_EnableInterpreterSlack;
74 extern UINT8 AcpiGbl_AllMethodsSerialized;
75 extern UINT8 AcpiGbl_CreateOsiMethod;
76 extern UINT8 AcpiGbl_UseDefaultRegisterWidths;
77 extern ACPI_NAME AcpiGbl_TraceMethodName;
78 extern UINT32 AcpiGbl_TraceFlags;
79 extern UINT8 AcpiGbl_EnableAmlDebugObject;
80 extern UINT8 AcpiGbl_CopyDsdtLocally;
81 extern UINT8 AcpiGbl_TruncateIoAddresses;
82 extern UINT8 AcpiGbl_DisableAutoRepair;
83 extern UINT8 AcpiGbl_DisableSsdtTableLoad;
87 * Hardware-reduced prototypes. All interfaces that use these macros will
88 * be configured out of the ACPICA build if the ACPI_REDUCED_HARDWARE flag
89 * is set to TRUE.
91 #if (!ACPI_REDUCED_HARDWARE)
92 #define ACPI_HW_DEPENDENT_RETURN_STATUS(Prototype) \
93 Prototype;
95 #define ACPI_HW_DEPENDENT_RETURN_OK(Prototype) \
96 Prototype;
98 #define ACPI_HW_DEPENDENT_RETURN_VOID(Prototype) \
99 Prototype;
101 #else
102 #define ACPI_HW_DEPENDENT_RETURN_STATUS(Prototype) \
103 static ACPI_INLINE Prototype {return(AE_NOT_CONFIGURED);}
105 #define ACPI_HW_DEPENDENT_RETURN_OK(Prototype) \
106 static ACPI_INLINE Prototype {return(AE_OK);}
108 #define ACPI_HW_DEPENDENT_RETURN_VOID(Prototype) \
109 static ACPI_INLINE Prototype {return;}
111 #endif /* !ACPI_REDUCED_HARDWARE */
115 * Initialization
117 ACPI_STATUS
118 AcpiInitializeTables (
119 ACPI_TABLE_DESC *InitialStorage,
120 UINT32 InitialTableCount,
121 BOOLEAN AllowResize);
123 ACPI_STATUS
124 AcpiInitializeSubsystem (
125 void);
127 ACPI_STATUS
128 AcpiEnableSubsystem (
129 UINT32 Flags);
131 ACPI_STATUS
132 AcpiInitializeObjects (
133 UINT32 Flags);
135 ACPI_STATUS
136 AcpiTerminate (
137 void);
141 * Miscellaneous global interfaces
143 ACPI_HW_DEPENDENT_RETURN_STATUS (
144 ACPI_STATUS
145 AcpiEnable (
146 void))
148 ACPI_HW_DEPENDENT_RETURN_STATUS (
149 ACPI_STATUS
150 AcpiDisable (
151 void))
153 ACPI_STATUS
154 AcpiSubsystemStatus (
155 void);
157 ACPI_STATUS
158 AcpiGetSystemInfo (
159 ACPI_BUFFER *RetBuffer);
161 ACPI_STATUS
162 AcpiGetStatistics (
163 ACPI_STATISTICS *Stats);
165 const char *
166 AcpiFormatException (
167 ACPI_STATUS Exception);
169 ACPI_STATUS
170 AcpiPurgeCachedObjects (
171 void);
173 ACPI_STATUS
174 AcpiInstallInterface (
175 ACPI_STRING InterfaceName);
177 ACPI_STATUS
178 AcpiRemoveInterface (
179 ACPI_STRING InterfaceName);
181 ACPI_STATUS
182 AcpiUpdateInterfaces (
183 UINT8 Action);
185 UINT32
186 AcpiCheckAddressRange (
187 ACPI_ADR_SPACE_TYPE SpaceId,
188 ACPI_PHYSICAL_ADDRESS Address,
189 ACPI_SIZE Length,
190 BOOLEAN Warn);
192 ACPI_STATUS
193 AcpiDecodePldBuffer (
194 UINT8 *InBuffer,
195 ACPI_SIZE Length,
196 ACPI_PLD_INFO **ReturnBuffer);
200 * ACPI table load/unload interfaces
202 ACPI_STATUS
203 AcpiLoadTable (
204 ACPI_TABLE_HEADER *Table);
206 ACPI_STATUS
207 AcpiUnloadParentTable (
208 ACPI_HANDLE Object);
210 ACPI_STATUS
211 AcpiLoadTables (
212 void);
216 * ACPI table manipulation interfaces
218 ACPI_STATUS
219 AcpiReallocateRootTable (
220 void);
222 ACPI_STATUS
223 AcpiFindRootPointer (
224 ACPI_SIZE *RsdpAddress);
226 ACPI_STATUS
227 AcpiGetTableHeader (
228 ACPI_STRING Signature,
229 UINT32 Instance,
230 ACPI_TABLE_HEADER *OutTableHeader);
232 ACPI_STATUS
233 AcpiGetTable (
234 ACPI_STRING Signature,
235 UINT32 Instance,
236 ACPI_TABLE_HEADER **OutTable);
238 ACPI_STATUS
239 AcpiGetTableByIndex (
240 UINT32 TableIndex,
241 ACPI_TABLE_HEADER **OutTable);
243 ACPI_STATUS
244 AcpiInstallTableHandler (
245 ACPI_TABLE_HANDLER Handler,
246 void *Context);
248 ACPI_STATUS
249 AcpiRemoveTableHandler (
250 ACPI_TABLE_HANDLER Handler);
254 * Namespace and name interfaces
256 ACPI_STATUS
257 AcpiWalkNamespace (
258 ACPI_OBJECT_TYPE Type,
259 ACPI_HANDLE StartObject,
260 UINT32 MaxDepth,
261 ACPI_WALK_CALLBACK DescendingCallback,
262 ACPI_WALK_CALLBACK AscendingCallback,
263 void *Context,
264 void **ReturnValue);
266 ACPI_STATUS
267 AcpiGetDevices (
268 char *HID,
269 ACPI_WALK_CALLBACK UserFunction,
270 void *Context,
271 void **ReturnValue);
273 ACPI_STATUS
274 AcpiGetName (
275 ACPI_HANDLE Object,
276 UINT32 NameType,
277 ACPI_BUFFER *RetPathPtr);
279 ACPI_STATUS
280 AcpiGetHandle (
281 ACPI_HANDLE Parent,
282 ACPI_STRING Pathname,
283 ACPI_HANDLE *RetHandle);
285 ACPI_STATUS
286 AcpiAttachData (
287 ACPI_HANDLE Object,
288 ACPI_OBJECT_HANDLER Handler,
289 void *Data);
291 ACPI_STATUS
292 AcpiDetachData (
293 ACPI_HANDLE Object,
294 ACPI_OBJECT_HANDLER Handler);
296 ACPI_STATUS
297 AcpiGetData (
298 ACPI_HANDLE Object,
299 ACPI_OBJECT_HANDLER Handler,
300 void **Data);
302 ACPI_STATUS
303 AcpiDebugTrace (
304 char *Name,
305 UINT32 DebugLevel,
306 UINT32 DebugLayer,
307 UINT32 Flags);
311 * Object manipulation and enumeration
313 ACPI_STATUS
314 AcpiEvaluateObject (
315 ACPI_HANDLE Object,
316 ACPI_STRING Pathname,
317 ACPI_OBJECT_LIST *ParameterObjects,
318 ACPI_BUFFER *ReturnObjectBuffer);
320 ACPI_STATUS
321 AcpiEvaluateObjectTyped (
322 ACPI_HANDLE Object,
323 ACPI_STRING Pathname,
324 ACPI_OBJECT_LIST *ExternalParams,
325 ACPI_BUFFER *ReturnBuffer,
326 ACPI_OBJECT_TYPE ReturnType);
328 ACPI_STATUS
329 AcpiGetObjectInfo (
330 ACPI_HANDLE Object,
331 ACPI_DEVICE_INFO **ReturnBuffer);
333 ACPI_STATUS
334 AcpiInstallMethod (
335 UINT8 *Buffer);
337 ACPI_STATUS
338 AcpiGetNextObject (
339 ACPI_OBJECT_TYPE Type,
340 ACPI_HANDLE Parent,
341 ACPI_HANDLE Child,
342 ACPI_HANDLE *OutHandle);
344 ACPI_STATUS
345 AcpiGetType (
346 ACPI_HANDLE Object,
347 ACPI_OBJECT_TYPE *OutType);
349 ACPI_STATUS
350 AcpiGetParent (
351 ACPI_HANDLE Object,
352 ACPI_HANDLE *OutHandle);
356 * Handler interfaces
358 ACPI_STATUS
359 AcpiInstallInitializationHandler (
360 ACPI_INIT_HANDLER Handler,
361 UINT32 Function);
363 ACPI_HW_DEPENDENT_RETURN_STATUS (
364 ACPI_STATUS
365 AcpiInstallSciHandler (
366 ACPI_SCI_HANDLER Address,
367 void *Context))
369 ACPI_HW_DEPENDENT_RETURN_STATUS (
370 ACPI_STATUS
371 AcpiRemoveSciHandler (
372 ACPI_SCI_HANDLER Address))
374 ACPI_HW_DEPENDENT_RETURN_STATUS (
375 ACPI_STATUS
376 AcpiInstallGlobalEventHandler (
377 ACPI_GBL_EVENT_HANDLER Handler,
378 void *Context))
380 ACPI_HW_DEPENDENT_RETURN_STATUS (
381 ACPI_STATUS
382 AcpiInstallFixedEventHandler (
383 UINT32 AcpiEvent,
384 ACPI_EVENT_HANDLER Handler,
385 void *Context))
387 ACPI_HW_DEPENDENT_RETURN_STATUS (
388 ACPI_STATUS
389 AcpiRemoveFixedEventHandler (
390 UINT32 AcpiEvent,
391 ACPI_EVENT_HANDLER Handler))
393 ACPI_HW_DEPENDENT_RETURN_STATUS (
394 ACPI_STATUS
395 AcpiInstallGpeHandler (
396 ACPI_HANDLE GpeDevice,
397 UINT32 GpeNumber,
398 UINT32 Type,
399 ACPI_GPE_HANDLER Address,
400 void *Context))
402 ACPI_HW_DEPENDENT_RETURN_STATUS (
403 ACPI_STATUS
404 AcpiRemoveGpeHandler (
405 ACPI_HANDLE GpeDevice,
406 UINT32 GpeNumber,
407 ACPI_GPE_HANDLER Address))
409 ACPI_STATUS
410 AcpiInstallNotifyHandler (
411 ACPI_HANDLE Device,
412 UINT32 HandlerType,
413 ACPI_NOTIFY_HANDLER Handler,
414 void *Context);
416 ACPI_STATUS
417 AcpiRemoveNotifyHandler (
418 ACPI_HANDLE Device,
419 UINT32 HandlerType,
420 ACPI_NOTIFY_HANDLER Handler);
422 ACPI_STATUS
423 AcpiInstallAddressSpaceHandler (
424 ACPI_HANDLE Device,
425 ACPI_ADR_SPACE_TYPE SpaceId,
426 ACPI_ADR_SPACE_HANDLER Handler,
427 ACPI_ADR_SPACE_SETUP Setup,
428 void *Context);
430 ACPI_STATUS
431 AcpiRemoveAddressSpaceHandler (
432 ACPI_HANDLE Device,
433 ACPI_ADR_SPACE_TYPE SpaceId,
434 ACPI_ADR_SPACE_HANDLER Handler);
436 ACPI_STATUS
437 AcpiInstallExceptionHandler (
438 ACPI_EXCEPTION_HANDLER Handler);
440 ACPI_STATUS
441 AcpiInstallInterfaceHandler (
442 ACPI_INTERFACE_HANDLER Handler);
446 * Global Lock interfaces
448 ACPI_HW_DEPENDENT_RETURN_STATUS (
449 ACPI_STATUS
450 AcpiAcquireGlobalLock (
451 UINT16 Timeout,
452 UINT32 *Handle))
454 ACPI_HW_DEPENDENT_RETURN_STATUS (
455 ACPI_STATUS
456 AcpiReleaseGlobalLock (
457 UINT32 Handle))
461 * Interfaces to AML mutex objects
463 ACPI_STATUS
464 AcpiAcquireMutex (
465 ACPI_HANDLE Handle,
466 ACPI_STRING Pathname,
467 UINT16 Timeout);
469 ACPI_STATUS
470 AcpiReleaseMutex (
471 ACPI_HANDLE Handle,
472 ACPI_STRING Pathname);
476 * Fixed Event interfaces
478 ACPI_HW_DEPENDENT_RETURN_STATUS (
479 ACPI_STATUS
480 AcpiEnableEvent (
481 UINT32 Event,
482 UINT32 Flags))
484 ACPI_HW_DEPENDENT_RETURN_STATUS (
485 ACPI_STATUS
486 AcpiDisableEvent (
487 UINT32 Event,
488 UINT32 Flags))
490 ACPI_HW_DEPENDENT_RETURN_STATUS (
491 ACPI_STATUS
492 AcpiClearEvent (
493 UINT32 Event))
495 ACPI_HW_DEPENDENT_RETURN_STATUS (
496 ACPI_STATUS
497 AcpiGetEventStatus (
498 UINT32 Event,
499 ACPI_EVENT_STATUS *EventStatus))
503 * General Purpose Event (GPE) Interfaces
505 ACPI_HW_DEPENDENT_RETURN_STATUS (
506 ACPI_STATUS
507 AcpiUpdateAllGpes (
508 void))
510 ACPI_HW_DEPENDENT_RETURN_STATUS (
511 ACPI_STATUS
512 AcpiEnableGpe (
513 ACPI_HANDLE GpeDevice,
514 UINT32 GpeNumber))
516 ACPI_HW_DEPENDENT_RETURN_STATUS (
517 ACPI_STATUS
518 AcpiDisableGpe (
519 ACPI_HANDLE GpeDevice,
520 UINT32 GpeNumber))
522 ACPI_HW_DEPENDENT_RETURN_STATUS (
523 ACPI_STATUS
524 AcpiClearGpe (
525 ACPI_HANDLE GpeDevice,
526 UINT32 GpeNumber))
528 ACPI_HW_DEPENDENT_RETURN_STATUS (
529 ACPI_STATUS
530 AcpiSetGpe (
531 ACPI_HANDLE GpeDevice,
532 UINT32 GpeNumber,
533 UINT8 Action))
535 ACPI_HW_DEPENDENT_RETURN_STATUS (
536 ACPI_STATUS
537 AcpiFinishGpe (
538 ACPI_HANDLE GpeDevice,
539 UINT32 GpeNumber))
541 ACPI_HW_DEPENDENT_RETURN_STATUS (
542 ACPI_STATUS
543 AcpiSetupGpeForWake (
544 ACPI_HANDLE ParentDevice,
545 ACPI_HANDLE GpeDevice,
546 UINT32 GpeNumber))
548 ACPI_HW_DEPENDENT_RETURN_STATUS (
549 ACPI_STATUS
550 AcpiSetGpeWakeMask (
551 ACPI_HANDLE GpeDevice,
552 UINT32 GpeNumber,
553 UINT8 Action))
555 ACPI_HW_DEPENDENT_RETURN_STATUS (
556 ACPI_STATUS
557 AcpiGetGpeStatus (
558 ACPI_HANDLE GpeDevice,
559 UINT32 GpeNumber,
560 ACPI_EVENT_STATUS *EventStatus))
562 ACPI_HW_DEPENDENT_RETURN_STATUS (
563 ACPI_STATUS
564 AcpiDisableAllGpes (
565 void))
567 ACPI_HW_DEPENDENT_RETURN_STATUS (
568 ACPI_STATUS
569 AcpiEnableAllRuntimeGpes (
570 void))
572 ACPI_HW_DEPENDENT_RETURN_STATUS (
573 ACPI_STATUS
574 AcpiGetGpeDevice (
575 UINT32 GpeIndex,
576 ACPI_HANDLE *GpeDevice))
578 ACPI_HW_DEPENDENT_RETURN_STATUS (
579 ACPI_STATUS
580 AcpiInstallGpeBlock (
581 ACPI_HANDLE GpeDevice,
582 ACPI_GENERIC_ADDRESS *GpeBlockAddress,
583 UINT32 RegisterCount,
584 UINT32 InterruptNumber))
586 ACPI_HW_DEPENDENT_RETURN_STATUS (
587 ACPI_STATUS
588 AcpiRemoveGpeBlock (
589 ACPI_HANDLE GpeDevice))
593 * Resource interfaces
595 typedef
596 ACPI_STATUS (*ACPI_WALK_RESOURCE_CALLBACK) (
597 ACPI_RESOURCE *Resource,
598 void *Context);
600 ACPI_STATUS
601 AcpiGetVendorResource (
602 ACPI_HANDLE Device,
603 char *Name,
604 ACPI_VENDOR_UUID *Uuid,
605 ACPI_BUFFER *RetBuffer);
607 ACPI_STATUS
608 AcpiGetCurrentResources (
609 ACPI_HANDLE Device,
610 ACPI_BUFFER *RetBuffer);
612 ACPI_STATUS
613 AcpiGetPossibleResources (
614 ACPI_HANDLE Device,
615 ACPI_BUFFER *RetBuffer);
617 ACPI_STATUS
618 AcpiGetEventResources (
619 ACPI_HANDLE DeviceHandle,
620 ACPI_BUFFER *RetBuffer);
622 ACPI_STATUS
623 AcpiWalkResourceBuffer (
624 ACPI_BUFFER *Buffer,
625 ACPI_WALK_RESOURCE_CALLBACK UserFunction,
626 void *Context);
628 ACPI_STATUS
629 AcpiWalkResources (
630 ACPI_HANDLE Device,
631 char *Name,
632 ACPI_WALK_RESOURCE_CALLBACK UserFunction,
633 void *Context);
635 ACPI_STATUS
636 AcpiSetCurrentResources (
637 ACPI_HANDLE Device,
638 ACPI_BUFFER *InBuffer);
640 ACPI_STATUS
641 AcpiGetIrqRoutingTable (
642 ACPI_HANDLE Device,
643 ACPI_BUFFER *RetBuffer);
645 ACPI_STATUS
646 AcpiResourceToAddress64 (
647 ACPI_RESOURCE *Resource,
648 ACPI_RESOURCE_ADDRESS64 *Out);
650 ACPI_STATUS
651 AcpiBufferToResource (
652 UINT8 *AmlBuffer,
653 UINT16 AmlBufferLength,
654 ACPI_RESOURCE **ResourcePtr);
658 * Hardware (ACPI device) interfaces
660 ACPI_STATUS
661 AcpiReset (
662 void);
664 ACPI_STATUS
665 AcpiRead (
666 UINT64 *Value,
667 ACPI_GENERIC_ADDRESS *Reg);
669 ACPI_STATUS
670 AcpiWrite (
671 UINT64 Value,
672 ACPI_GENERIC_ADDRESS *Reg);
674 ACPI_HW_DEPENDENT_RETURN_STATUS (
675 ACPI_STATUS
676 AcpiReadBitRegister (
677 UINT32 RegisterId,
678 UINT32 *ReturnValue))
680 ACPI_HW_DEPENDENT_RETURN_STATUS (
681 ACPI_STATUS
682 AcpiWriteBitRegister (
683 UINT32 RegisterId,
684 UINT32 Value))
688 * Sleep/Wake interfaces
690 ACPI_STATUS
691 AcpiGetSleepTypeData (
692 UINT8 SleepState,
693 UINT8 *Slp_TypA,
694 UINT8 *Slp_TypB);
696 ACPI_STATUS
697 AcpiEnterSleepStatePrep (
698 UINT8 SleepState);
700 ACPI_STATUS
701 AcpiEnterSleepState (
702 UINT8 SleepState);
704 ACPI_HW_DEPENDENT_RETURN_STATUS (
705 ACPI_STATUS
706 AcpiEnterSleepStateS4bios (
707 void))
709 ACPI_STATUS
710 AcpiLeaveSleepStatePrep (
711 UINT8 SleepState);
713 ACPI_STATUS
714 AcpiLeaveSleepState (
715 UINT8 SleepState);
717 ACPI_HW_DEPENDENT_RETURN_STATUS (
718 ACPI_STATUS
719 AcpiSetFirmwareWakingVector (
720 UINT32 PhysicalAddress))
722 #if ACPI_MACHINE_WIDTH == 64
723 ACPI_HW_DEPENDENT_RETURN_STATUS (
724 ACPI_STATUS
725 AcpiSetFirmwareWakingVector64 (
726 UINT64 PhysicalAddress))
727 #endif
731 * ACPI Timer interfaces
733 ACPI_HW_DEPENDENT_RETURN_STATUS (
734 ACPI_STATUS
735 AcpiGetTimerResolution (
736 UINT32 *Resolution))
738 ACPI_HW_DEPENDENT_RETURN_STATUS (
739 ACPI_STATUS
740 AcpiGetTimer (
741 UINT32 *Ticks))
743 ACPI_HW_DEPENDENT_RETURN_STATUS (
744 ACPI_STATUS
745 AcpiGetTimerDuration (
746 UINT32 StartTicks,
747 UINT32 EndTicks,
748 UINT32 *TimeElapsed))
752 * Error/Warning output
754 ACPI_PRINTF_LIKE(3)
755 void ACPI_INTERNAL_VAR_XFACE
756 AcpiError (
757 const char *ModuleName,
758 UINT32 LineNumber,
759 const char *Format,
760 ...);
762 ACPI_PRINTF_LIKE(4)
763 void ACPI_INTERNAL_VAR_XFACE
764 AcpiException (
765 const char *ModuleName,
766 UINT32 LineNumber,
767 ACPI_STATUS Status,
768 const char *Format,
769 ...);
771 ACPI_PRINTF_LIKE(3)
772 void ACPI_INTERNAL_VAR_XFACE
773 AcpiWarning (
774 const char *ModuleName,
775 UINT32 LineNumber,
776 const char *Format,
777 ...);
779 ACPI_PRINTF_LIKE(3)
780 void ACPI_INTERNAL_VAR_XFACE
781 AcpiInfo (
782 const char *ModuleName,
783 UINT32 LineNumber,
784 const char *Format,
785 ...);
787 ACPI_PRINTF_LIKE(3)
788 void ACPI_INTERNAL_VAR_XFACE
789 AcpiBiosError (
790 const char *ModuleName,
791 UINT32 LineNumber,
792 const char *Format,
793 ...);
795 ACPI_PRINTF_LIKE(3)
796 void ACPI_INTERNAL_VAR_XFACE
797 AcpiBiosWarning (
798 const char *ModuleName,
799 UINT32 LineNumber,
800 const char *Format,
801 ...);
805 * Debug output
807 #ifdef ACPI_DEBUG_OUTPUT
809 ACPI_PRINTF_LIKE(6)
810 void ACPI_INTERNAL_VAR_XFACE
811 AcpiDebugPrint (
812 UINT32 RequestedDebugLevel,
813 UINT32 LineNumber,
814 const char *FunctionName,
815 const char *ModuleName,
816 UINT32 ComponentId,
817 const char *Format,
818 ...);
820 ACPI_PRINTF_LIKE(6)
821 void ACPI_INTERNAL_VAR_XFACE
822 AcpiDebugPrintRaw (
823 UINT32 RequestedDebugLevel,
824 UINT32 LineNumber,
825 const char *FunctionName,
826 const char *ModuleName,
827 UINT32 ComponentId,
828 const char *Format,
829 ...);
830 #endif
832 #endif /* __ACXFACE_H__ */