acpixf.h revision 1.24 1 /******************************************************************************
2 *
3 * Name: acpixf.h - External interfaces to the ACPI subsystem
4 *
5 *****************************************************************************/
6
7 /*
8 * Copyright (C) 2000 - 2019, 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 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.
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 0x20191213
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_STATUS (
1005 ACPI_STATUS
1006 AcpiGetGpeDevice (
1007 UINT32 GpeIndex,
1008 ACPI_HANDLE *GpeDevice))
1009
1010 ACPI_HW_DEPENDENT_RETURN_STATUS (
1011 ACPI_STATUS
1012 AcpiInstallGpeBlock (
1013 ACPI_HANDLE GpeDevice,
1014 ACPI_GENERIC_ADDRESS *GpeBlockAddress,
1015 UINT32 RegisterCount,
1016 UINT32 InterruptNumber))
1017
1018 ACPI_HW_DEPENDENT_RETURN_STATUS (
1019 ACPI_STATUS
1020 AcpiRemoveGpeBlock (
1021 ACPI_HANDLE GpeDevice))
1022
1023
1024 /*
1025 * Resource interfaces
1026 */
1027 typedef
1028 ACPI_STATUS (*ACPI_WALK_RESOURCE_CALLBACK) (
1029 ACPI_RESOURCE *Resource,
1030 void *Context);
1031
1032 ACPI_EXTERNAL_RETURN_STATUS (
1033 ACPI_STATUS
1034 AcpiGetVendorResource (
1035 ACPI_HANDLE Device,
1036 char *Name,
1037 ACPI_VENDOR_UUID *Uuid,
1038 ACPI_BUFFER *RetBuffer))
1039
1040 ACPI_EXTERNAL_RETURN_STATUS (
1041 ACPI_STATUS
1042 AcpiGetCurrentResources (
1043 ACPI_HANDLE Device,
1044 ACPI_BUFFER *RetBuffer))
1045
1046 ACPI_EXTERNAL_RETURN_STATUS (
1047 ACPI_STATUS
1048 AcpiGetPossibleResources (
1049 ACPI_HANDLE Device,
1050 ACPI_BUFFER *RetBuffer))
1051
1052 ACPI_EXTERNAL_RETURN_STATUS (
1053 ACPI_STATUS
1054 AcpiGetEventResources (
1055 ACPI_HANDLE DeviceHandle,
1056 ACPI_BUFFER *RetBuffer))
1057
1058 ACPI_EXTERNAL_RETURN_STATUS (
1059 ACPI_STATUS
1060 AcpiWalkResourceBuffer (
1061 ACPI_BUFFER *Buffer,
1062 ACPI_WALK_RESOURCE_CALLBACK UserFunction,
1063 void *Context))
1064
1065 ACPI_EXTERNAL_RETURN_STATUS (
1066 ACPI_STATUS
1067 AcpiWalkResources (
1068 ACPI_HANDLE Device,
1069 const char *Name,
1070 ACPI_WALK_RESOURCE_CALLBACK UserFunction,
1071 void *Context))
1072
1073 ACPI_EXTERNAL_RETURN_STATUS (
1074 ACPI_STATUS
1075 AcpiSetCurrentResources (
1076 ACPI_HANDLE Device,
1077 ACPI_BUFFER *InBuffer))
1078
1079 ACPI_EXTERNAL_RETURN_STATUS (
1080 ACPI_STATUS
1081 AcpiGetIrqRoutingTable (
1082 ACPI_HANDLE Device,
1083 ACPI_BUFFER *RetBuffer))
1084
1085 ACPI_EXTERNAL_RETURN_STATUS (
1086 ACPI_STATUS
1087 AcpiResourceToAddress64 (
1088 ACPI_RESOURCE *Resource,
1089 ACPI_RESOURCE_ADDRESS64 *Out))
1090
1091 ACPI_EXTERNAL_RETURN_STATUS (
1092 ACPI_STATUS
1093 AcpiBufferToResource (
1094 UINT8 *AmlBuffer,
1095 UINT16 AmlBufferLength,
1096 ACPI_RESOURCE **ResourcePtr))
1097
1098
1099 /*
1100 * Hardware (ACPI device) interfaces
1101 */
1102 ACPI_EXTERNAL_RETURN_STATUS (
1103 ACPI_STATUS
1104 AcpiReset (
1105 void))
1106
1107 ACPI_EXTERNAL_RETURN_STATUS (
1108 ACPI_STATUS
1109 AcpiRead (
1110 UINT64 *Value,
1111 ACPI_GENERIC_ADDRESS *Reg))
1112
1113 ACPI_EXTERNAL_RETURN_STATUS (
1114 ACPI_STATUS
1115 AcpiWrite (
1116 UINT64 Value,
1117 ACPI_GENERIC_ADDRESS *Reg))
1118
1119 ACPI_HW_DEPENDENT_RETURN_STATUS (
1120 ACPI_STATUS
1121 AcpiReadBitRegister (
1122 UINT32 RegisterId,
1123 UINT32 *ReturnValue))
1124
1125 ACPI_HW_DEPENDENT_RETURN_STATUS (
1126 ACPI_STATUS
1127 AcpiWriteBitRegister (
1128 UINT32 RegisterId,
1129 UINT32 Value))
1130
1131
1132 /*
1133 * Sleep/Wake interfaces
1134 */
1135 ACPI_EXTERNAL_RETURN_STATUS (
1136 ACPI_STATUS
1137 AcpiGetSleepTypeData (
1138 UINT8 SleepState,
1139 UINT8 *Slp_TypA,
1140 UINT8 *Slp_TypB))
1141
1142 ACPI_EXTERNAL_RETURN_STATUS (
1143 ACPI_STATUS
1144 AcpiEnterSleepStatePrep (
1145 UINT8 SleepState))
1146
1147 ACPI_EXTERNAL_RETURN_STATUS (
1148 ACPI_STATUS
1149 AcpiEnterSleepState (
1150 UINT8 SleepState))
1151
1152 ACPI_HW_DEPENDENT_RETURN_STATUS (
1153 ACPI_STATUS
1154 AcpiEnterSleepStateS4bios (
1155 void))
1156
1157 ACPI_EXTERNAL_RETURN_STATUS (
1158 ACPI_STATUS
1159 AcpiLeaveSleepStatePrep (
1160 UINT8 SleepState))
1161
1162 ACPI_EXTERNAL_RETURN_STATUS (
1163 ACPI_STATUS
1164 AcpiLeaveSleepState (
1165 UINT8 SleepState))
1166
1167 ACPI_HW_DEPENDENT_RETURN_STATUS (
1168 ACPI_STATUS
1169 AcpiSetFirmwareWakingVector (
1170 ACPI_PHYSICAL_ADDRESS PhysicalAddress,
1171 ACPI_PHYSICAL_ADDRESS PhysicalAddress64))
1172
1173
1174 /*
1175 * ACPI Timer interfaces
1176 */
1177 ACPI_HW_DEPENDENT_RETURN_STATUS (
1178 ACPI_STATUS
1179 AcpiGetTimerResolution (
1180 UINT32 *Resolution))
1181
1182 ACPI_HW_DEPENDENT_RETURN_STATUS (
1183 ACPI_STATUS
1184 AcpiGetTimer (
1185 UINT32 *Ticks))
1186
1187 ACPI_HW_DEPENDENT_RETURN_STATUS (
1188 ACPI_STATUS
1189 AcpiGetTimerDuration (
1190 UINT32 StartTicks,
1191 UINT32 EndTicks,
1192 UINT32 *TimeElapsed))
1193
1194
1195 /*
1196 * Error/Warning output
1197 */
1198 ACPI_MSG_DEPENDENT_RETURN_VOID (
1199 ACPI_PRINTF_LIKE(3)
1200 void ACPI_INTERNAL_VAR_XFACE
1201 AcpiError (
1202 const char *ModuleName,
1203 UINT32 LineNumber,
1204 const char *Format,
1205 ...))
1206
1207 ACPI_MSG_DEPENDENT_RETURN_VOID (
1208 ACPI_PRINTF_LIKE(4)
1209 void ACPI_INTERNAL_VAR_XFACE
1210 AcpiException (
1211 const char *ModuleName,
1212 UINT32 LineNumber,
1213 ACPI_STATUS Status,
1214 const char *Format,
1215 ...))
1216
1217 ACPI_MSG_DEPENDENT_RETURN_VOID (
1218 ACPI_PRINTF_LIKE(3)
1219 void ACPI_INTERNAL_VAR_XFACE
1220 AcpiWarning (
1221 const char *ModuleName,
1222 UINT32 LineNumber,
1223 const char *Format,
1224 ...))
1225
1226 ACPI_MSG_DEPENDENT_RETURN_VOID (
1227 ACPI_PRINTF_LIKE(1)
1228 void ACPI_INTERNAL_VAR_XFACE
1229 AcpiInfo (
1230 const char *Format,
1231 ...))
1232
1233 ACPI_MSG_DEPENDENT_RETURN_VOID (
1234 ACPI_PRINTF_LIKE(3)
1235 void ACPI_INTERNAL_VAR_XFACE
1236 AcpiBiosError (
1237 const char *ModuleName,
1238 UINT32 LineNumber,
1239 const char *Format,
1240 ...))
1241
1242 ACPI_MSG_DEPENDENT_RETURN_VOID (
1243 ACPI_PRINTF_LIKE(4)
1244 void ACPI_INTERNAL_VAR_XFACE
1245 AcpiBiosException (
1246 const char *ModuleName,
1247 UINT32 LineNumber,
1248 ACPI_STATUS Status,
1249 const char *Format,
1250 ...))
1251
1252 ACPI_MSG_DEPENDENT_RETURN_VOID (
1253 ACPI_PRINTF_LIKE(3)
1254 void ACPI_INTERNAL_VAR_XFACE
1255 AcpiBiosWarning (
1256 const char *ModuleName,
1257 UINT32 LineNumber,
1258 const char *Format,
1259 ...))
1260
1261
1262 /*
1263 * Debug output
1264 */
1265 ACPI_DBG_DEPENDENT_RETURN_VOID (
1266 ACPI_PRINTF_LIKE(6)
1267 void ACPI_INTERNAL_VAR_XFACE
1268 AcpiDebugPrint (
1269 UINT32 RequestedDebugLevel,
1270 UINT32 LineNumber,
1271 const char *FunctionName,
1272 const char *ModuleName,
1273 UINT32 ComponentId,
1274 const char *Format,
1275 ...))
1276
1277 ACPI_DBG_DEPENDENT_RETURN_VOID (
1278 ACPI_PRINTF_LIKE(6)
1279 void ACPI_INTERNAL_VAR_XFACE
1280 AcpiDebugPrintRaw (
1281 UINT32 RequestedDebugLevel,
1282 UINT32 LineNumber,
1283 const char *FunctionName,
1284 const char *ModuleName,
1285 UINT32 ComponentId,
1286 const char *Format,
1287 ...))
1288
1289 ACPI_DBG_DEPENDENT_RETURN_VOID (
1290 void
1291 AcpiTracePoint (
1292 ACPI_TRACE_EVENT_TYPE Type,
1293 BOOLEAN Begin,
1294 UINT8 *Aml,
1295 char *Pathname))
1296
1297 ACPI_STATUS
1298 AcpiInitializeDebugger (
1299 void);
1300
1301 void
1302 AcpiTerminateDebugger (
1303 void);
1304
1305 void
1306 AcpiRunDebugger (
1307 char *BatchBuffer);
1308
1309 void
1310 AcpiSetDebuggerThreadId (
1311 ACPI_THREAD_ID ThreadId);
1312
1313 #endif /* __ACXFACE_H__ */
1314