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