ReactOS  0.4.15-dev-3303-g1ade494
acutils.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * Name: acutils.h -- prototypes for the common (subsystem-wide) procedures
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 _ACUTILS_H
45 #define _ACUTILS_H
46 
47 
48 extern const UINT8 AcpiGbl_ResourceAmlSizes[];
50 
51 /* Strings used by the disassembler and debugger resource dump routines */
52 
53 #if defined(ACPI_DEBUG_OUTPUT) || defined (ACPI_DISASSEMBLER) || defined (ACPI_DEBUGGER)
54 
55 extern const char *AcpiGbl_BmDecode[];
56 extern const char *AcpiGbl_ConfigDecode[];
57 extern const char *AcpiGbl_ConsumeDecode[];
58 extern const char *AcpiGbl_DecDecode[];
59 extern const char *AcpiGbl_HeDecode[];
60 extern const char *AcpiGbl_IoDecode[];
61 extern const char *AcpiGbl_LlDecode[];
62 extern const char *AcpiGbl_MaxDecode[];
63 extern const char *AcpiGbl_MemDecode[];
64 extern const char *AcpiGbl_MinDecode[];
65 extern const char *AcpiGbl_MtpDecode[];
66 extern const char *AcpiGbl_PhyDecode[];
67 extern const char *AcpiGbl_RngDecode[];
68 extern const char *AcpiGbl_RwDecode[];
69 extern const char *AcpiGbl_ShrDecode[];
70 extern const char *AcpiGbl_SizDecode[];
71 extern const char *AcpiGbl_TrsDecode[];
72 extern const char *AcpiGbl_TtpDecode[];
73 extern const char *AcpiGbl_TypDecode[];
74 extern const char *AcpiGbl_PpcDecode[];
75 extern const char *AcpiGbl_IorDecode[];
76 extern const char *AcpiGbl_DtsDecode[];
77 extern const char *AcpiGbl_CtDecode[];
78 extern const char *AcpiGbl_SbtDecode[];
79 extern const char *AcpiGbl_AmDecode[];
80 extern const char *AcpiGbl_SmDecode[];
81 extern const char *AcpiGbl_WmDecode[];
82 extern const char *AcpiGbl_CphDecode[];
83 extern const char *AcpiGbl_CpoDecode[];
84 extern const char *AcpiGbl_DpDecode[];
85 extern const char *AcpiGbl_EdDecode[];
86 extern const char *AcpiGbl_BpbDecode[];
87 extern const char *AcpiGbl_SbDecode[];
88 extern const char *AcpiGbl_FcDecode[];
89 extern const char *AcpiGbl_PtDecode[];
90 extern const char *AcpiGbl_PtypDecode[];
91 #endif
92 
93 /*
94  * For the iASL compiler case, the output is redirected to stderr so that
95  * any of the various ACPI errors and warnings do not appear in the output
96  * files, for either the compiler or disassembler portions of the tool.
97  */
98 #ifdef ACPI_ASL_COMPILER
99 
100 #include <stdio.h>
101 
102 #define ACPI_MSG_REDIRECT_BEGIN \
103  FILE *OutputFile = AcpiGbl_OutputFile; \
104  AcpiOsRedirectOutput (stderr);
105 
106 #define ACPI_MSG_REDIRECT_END \
107  AcpiOsRedirectOutput (OutputFile);
108 
109 #else
110 /*
111  * non-iASL case - no redirection, nothing to do
112  */
113 #define ACPI_MSG_REDIRECT_BEGIN
114 #define ACPI_MSG_REDIRECT_END
115 #endif
116 
117 /*
118  * Common error message prefixes
119  */
120 #ifndef ACPI_MSG_ERROR
121 #define ACPI_MSG_ERROR "ACPI Error: "
122 #endif
123 #ifndef ACPI_MSG_WARNING
124 #define ACPI_MSG_WARNING "ACPI Warning: "
125 #endif
126 #ifndef ACPI_MSG_INFO
127 #define ACPI_MSG_INFO "ACPI: "
128 #endif
129 
130 #ifndef ACPI_MSG_BIOS_ERROR
131 #define ACPI_MSG_BIOS_ERROR "Firmware Error (ACPI): "
132 #endif
133 #ifndef ACPI_MSG_BIOS_WARNING
134 #define ACPI_MSG_BIOS_WARNING "Firmware Warning (ACPI): "
135 #endif
136 
137 /*
138  * Common message suffix
139  */
140 #define ACPI_MSG_SUFFIX \
141  AcpiOsPrintf (" (%8.8X/%s-%u)\n", ACPI_CA_VERSION, ModuleName, LineNumber)
142 
143 /* Flags to indicate implicit or explicit string-to-integer conversion */
144 
145 #define ACPI_IMPLICIT_CONVERSION TRUE
146 #define ACPI_NO_IMPLICIT_CONVERSION FALSE
147 
148 /* Types for Resource descriptor entries */
149 
150 #define ACPI_INVALID_RESOURCE 0
151 #define ACPI_FIXED_LENGTH 1
152 #define ACPI_VARIABLE_LENGTH 2
153 #define ACPI_SMALL_VARIABLE_LENGTH 3
154 
155 typedef
157  UINT8 *Aml,
158  UINT32 Length,
159  UINT32 Offset,
160  UINT8 ResourceIndex,
161  void **Context);
162 
163 typedef
166  ACPI_OPERAND_OBJECT *SourceObject,
168  void *Context);
169 
170 typedef struct acpi_pkg_info
171 {
173  ACPI_SIZE Length;
176 
177 } ACPI_PKG_INFO;
178 
179 /* Object reference counts */
180 
181 #define REF_INCREMENT (UINT16) 0
182 #define REF_DECREMENT (UINT16) 1
183 
184 /* AcpiUtDumpBuffer */
185 
186 #define DB_BYTE_DISPLAY 0x01
187 #define DB_WORD_DISPLAY 0x02
188 #define DB_DWORD_DISPLAY 0x04
189 #define DB_QWORD_DISPLAY 0x08
190 #define DB_DISPLAY_DATA_ONLY 0x10
191 
192 
193 /*
194  * utascii - ASCII utilities
195  */
196 BOOLEAN
198  char *Signature);
199 
200 BOOLEAN
202  char Character,
203  UINT32 Position);
204 
205 void
207  UINT8 *Name,
208  char *RepairedName,
209  UINT32 Count);
210 
211 
212 /*
213  * utnonansi - Non-ANSI C library functions
214  */
215 void
216 AcpiUtStrupr (
217  char *SrcString);
218 
219 void
220 AcpiUtStrlwr (
221  char *SrcString);
222 
223 int
225  char *String1,
226  char *String2);
227 
228 
229 /*
230  * utstrsuppt - string-to-integer conversion support functions
231  */
234  char *String,
236 
239  char *String,
240  UINT64 *ReturnValuePtr);
241 
244  char *String,
245  UINT64 *ReturnValuePtr);
246 
247 char
249  char **String);
250 
251 char
253  char **String);
254 
255 BOOLEAN
257  char **String);
258 
259 void
261  char **String);
262 
263 BOOLEAN
265  char **String);
266 
267 
268 /*
269  * utstrtoul64 - string-to-integer conversion functions
270  */
273  char *String,
274  UINT64 *RetInteger);
275 
276 UINT64
278  char *String);
279 
280 UINT64
282  char *String);
283 
284 
285 /*
286  * utglobal - Global data structures and procedures
287  */
290  void);
291 
292 const char *
294  UINT32 MutexId);
295 
296 #if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER)
297 
298 const char *
299 AcpiUtGetNotifyName (
300  UINT32 NotifyValue,
302 #endif
303 
304 const char *
307 
308 const char *
310  void *Object);
311 
312 const char *
314  void *Object);
315 
316 const char *
319 
320 const char *
322  ACPI_OPERAND_OBJECT *ObjDesc);
323 
324 const char *
326  UINT8 SpaceId);
327 
328 const char *
330  UINT32 EventId);
331 
332 const char *
334  UINT32 ArgType);
335 
336 char
338  UINT64 Integer,
339  UINT32 Position);
340 
343  char *TwoAsciiChars,
344  UINT8 *ReturnByte);
345 
346 UINT8
348  int HexChar);
349 
350 BOOLEAN
353 
354 
355 /*
356  * utinit - miscellaneous initialization and shutdown
357  */
360  void);
361 
362 void
364  void);
365 
366 
367 /*
368  * utcopy - Object construction and conversion interfaces
369  */
373  ACPI_OBJECT *UserObj,
374  UINT8 *DataSpace,
375  UINT32 *BufferSpaceUsed);
376 
380  UINT8 *Buffer,
381  UINT32 *SpaceUsed);
382 
386  ACPI_BUFFER *RetBuffer);
387 
390  ACPI_OBJECT *Obj,
391  ACPI_OPERAND_OBJECT **InternalObj);
392 
395  ACPI_OPERAND_OBJECT *SourceObj,
396  ACPI_OPERAND_OBJECT *DestObj);
397 
400  ACPI_OPERAND_OBJECT *SourceDesc,
401  ACPI_OPERAND_OBJECT **DestDesc,
402  ACPI_WALK_STATE *WalkState);
403 
404 
405 /*
406  * utcreate - Object creation
407  */
411  UINT16 Action);
412 
413 
414 /*
415  * utdebug - Debug interfaces
416  */
417 void
419  void);
420 
421 void
423  void);
424 
425 void
426 AcpiUtTrace (
428  const char *FunctionName,
429  const char *ModuleName,
431 
432 void
435  const char *FunctionName,
436  const char *ModuleName,
438  const void *Pointer);
439 
440 void
443  const char *FunctionName,
444  const char *ModuleName,
446  UINT32 Integer);
447 
448 void
451  const char *FunctionName,
452  const char *ModuleName,
454  const char *String);
455 
456 void
457 AcpiUtExit (
459  const char *FunctionName,
460  const char *ModuleName,
462 
463 void
466  const char *FunctionName,
467  const char *ModuleName,
470 
471 void
474  const char *FunctionName,
475  const char *ModuleName,
477  UINT64 Value);
478 
479 void
482  const char *FunctionName,
483  const char *ModuleName,
485  UINT8 *Ptr);
486 
487 void
490  const char *FunctionName,
491  const char *ModuleName,
493  const char *String);
494 
495 void
497  UINT8 *Buffer,
498  UINT32 Count,
499  UINT32 Display,
501 
502 void
504  UINT8 *Buffer,
505  UINT32 Count,
506  UINT32 Display,
507  UINT32 Offset);
508 
509 #ifdef ACPI_APPLICATION
510 void
511 AcpiUtDumpBufferToFile (
512  ACPI_FILE File,
513  UINT8 *Buffer,
514  UINT32 Count,
515  UINT32 Display,
516  UINT32 BaseOffset);
517 #endif
518 
519 void
521  char *ModuleName,
523 
524 void
526  char *ModuleName,
528 
529 void
531  char *ModuleName,
533 
534 
535 /*
536  * utdelete - Object deletion and reference counts
537  */
538 void
541 
542 void
545 
546 void
549 
550 void
553 
554 void
556  ACPI_OPERAND_OBJECT **ObjList);
557 
558 
559 /*
560  * uteval - object evaluation
561  */
564  ACPI_NAMESPACE_NODE *PrefixNode,
565  const char *Path,
566  UINT32 ExpectedReturnBtypes,
567  ACPI_OPERAND_OBJECT **ReturnDesc);
568 
571  const char *ObjectName,
573  UINT64 *Value);
574 
578  UINT32 *StatusFlags);
579 
583  const char **MethodNames,
584  UINT8 MethodCount,
585  UINT8 *OutValues);
586 
587 
588 /*
589  * utids - device ID support
590  */
594  ACPI_PNP_DEVICE_ID **ReturnId);
595 
599  ACPI_PNP_DEVICE_ID **ReturnId);
600 
604  ACPI_PNP_DEVICE_ID_LIST **ReturnCidList);
605 
609  ACPI_PNP_DEVICE_ID **ReturnId);
610 
611 
612 /*
613  * utlock - reader/writer locks
614  */
617  ACPI_RW_LOCK *Lock);
618 
619 void
621  ACPI_RW_LOCK *Lock);
622 
625  ACPI_RW_LOCK *Lock);
626 
629  ACPI_RW_LOCK *Lock);
630 
633  ACPI_RW_LOCK *Lock);
634 
635 void
637  ACPI_RW_LOCK *Lock);
638 
639 
640 /*
641  * utobject - internal object create/delete/cache routines
642  */
645  const char *ModuleName,
649 
650 void *
652  const char *ModuleName,
655 
656 #define AcpiUtCreateInternalObject(t) AcpiUtCreateInternalObjectDbg (_AcpiModuleName,__LINE__,_COMPONENT,t)
657 #define AcpiUtAllocateObjectDesc() AcpiUtAllocateObjectDescDbg (_AcpiModuleName,__LINE__,_COMPONENT)
658 
659 void
662 
663 BOOLEAN
665  void *Object);
666 
669  UINT32 Count);
670 
673  UINT64 Value);
674 
677  ACPI_SIZE BufferSize);
678 
681  ACPI_SIZE StringSize);
682 
686  ACPI_SIZE *ObjLength);
687 
688 
689 /*
690  * utosi - Support for the _OSI predefined control method
691  */
694  void);
695 
698  void);
699 
702  ACPI_STRING InterfaceName);
703 
706  ACPI_STRING InterfaceName);
707 
710  UINT8 Action);
711 
714  ACPI_STRING InterfaceName);
715 
718  ACPI_WALK_STATE *WalkState);
719 
720 
721 /*
722  * utpredef - support for predefined names
723  */
724 const ACPI_PREDEFINED_INFO *
726  const ACPI_PREDEFINED_INFO *ThisName);
727 
728 const ACPI_PREDEFINED_INFO *
730  char *Name);
731 
732 void
734  char *Buffer,
735  UINT32 ExpectedBtypes);
736 
737 #if (defined ACPI_ASL_COMPILER || defined ACPI_HELP_APP)
738 const ACPI_PREDEFINED_INFO *
739 AcpiUtMatchResourceName (
740  char *Name);
741 
742 void
743 AcpiUtDisplayPredefinedMethod (
744  char *Buffer,
745  const ACPI_PREDEFINED_INFO *ThisName,
746  BOOLEAN MultiLine);
747 
748 UINT32
749 AcpiUtGetResourceBitWidth (
750  char *Buffer,
751  UINT16 Types);
752 #endif
753 
754 
755 /*
756  * utstate - Generic state creation/cache routines
757  */
758 void
760  ACPI_GENERIC_STATE **ListHead,
762 
765  ACPI_GENERIC_STATE **ListHead);
766 
767 
770  void);
771 
774  void);
775 
779  UINT16 Action);
780 
783  void *InternalObject,
784  void *ExternalObject,
785  UINT32 Index);
786 
790  UINT16 Action,
791  ACPI_GENERIC_STATE **StateList);
792 
795  void);
796 
797 void
800 
801 
802 /*
803  * utmath
804  */
806 AcpiUtDivide (
807  UINT64 InDividend,
808  UINT64 InDivisor,
809  UINT64 *OutQuotient,
810  UINT64 *OutRemainder);
811 
814  UINT64 InDividend,
815  UINT32 Divisor,
816  UINT64 *OutQuotient,
817  UINT32 *OutRemainder);
818 
821  UINT64 InMultiplicand,
822  UINT32 Multiplier,
823  UINT64 *Outproduct);
824 
827  UINT64 Operand,
828  UINT32 Count,
829  UINT64 *OutResult);
830 
833  UINT64 Operand,
834  UINT32 Count,
835  UINT64 *OutResult);
836 
837 
838 /*
839  * utmisc
840  */
841 const ACPI_EXCEPTION_INFO *
844 
845 BOOLEAN
847  char *Id);
848 
849 #if (defined ACPI_ASL_COMPILER || defined ACPI_EXEC_APP || defined ACPI_NAMES_APP)
850 BOOLEAN
851 AcpiUtIsAmlTable (
853 #endif
854 
857  ACPI_OPERAND_OBJECT *SourceObject,
858  void *TargetObject,
859  ACPI_PKG_CALLBACK WalkCallback,
860  void *Context);
861 
862 /* Values for Base above (16=Hex, 10=Decimal) */
863 
864 #define ACPI_ANY_BASE 0
865 
866 
867 UINT32
869  UINT32 Value);
870 
871 void
873  UINT8 Revision);
874 
875 #ifdef ACPI_DEBUG_OUTPUT
876 void
877 AcpiUtDisplayInitPathname (
878  UINT8 Type,
879  ACPI_NAMESPACE_NODE *ObjHandle,
880  const char *Path);
881 #endif
882 
883 
884 /*
885  * utownerid - Support for Table/Method Owner IDs
886  */
890 
891 void
894 
895 
896 /*
897  * utresrc
898  */
901  ACPI_WALK_STATE *WalkState,
902  UINT8 *Aml,
903  ACPI_SIZE AmlLength,
905  void **Context);
906 
909  ACPI_WALK_STATE *WalkState,
910  void *Aml,
911  UINT8 *ReturnIndex);
912 
913 UINT32
915  void *Aml);
916 
917 UINT16
919  void *Aml);
920 
921 UINT8
923  void *Aml);
924 
925 UINT8
927  void *Aml);
928 
931  ACPI_OPERAND_OBJECT *ObjDesc,
932  UINT8 **EndTag);
933 
934 
935 /*
936  * utstring - String and character utilities
937  */
938 void
940  char *String,
941  UINT16 MaxLength);
942 
943 #if defined ACPI_ASL_COMPILER || defined ACPI_EXEC_APP
944 void
945 UtConvertBackslashes (
946  char *Pathname);
947 #endif
948 
949 void
951  char *Name);
952 
953 #if defined (ACPI_DEBUGGER) || defined (ACPI_APPLICATION) || defined (ACPI_DEBUG_OUTPUT)
954 BOOLEAN
955 AcpiUtSafeStrcpy (
956  char *Dest,
957  ACPI_SIZE DestSize,
958  char *Source);
959 
960 void
961 AcpiUtSafeStrncpy (
962  char *Dest,
963  char *Source,
964  ACPI_SIZE DestSize);
965 
966 BOOLEAN
967 AcpiUtSafeStrcat (
968  char *Dest,
969  ACPI_SIZE DestSize,
970  char *Source);
971 
972 BOOLEAN
973 AcpiUtSafeStrncat (
974  char *Dest,
975  ACPI_SIZE DestSize,
976  char *Source,
977  ACPI_SIZE MaxTransferLength);
978 #endif
979 
980 
981 /*
982  * utmutex - mutex support
983  */
986  void);
987 
988 void
990  void);
991 
994  ACPI_MUTEX_HANDLE MutexId);
995 
998  ACPI_MUTEX_HANDLE MutexId);
999 
1000 
1001 /*
1002  * utalloc - memory allocation and object caching
1003  */
1006  void);
1007 
1010  void);
1011 
1014  ACPI_BUFFER *Buffer);
1015 
1019  ACPI_SIZE RequiredLength);
1020 
1021 #ifdef ACPI_DBG_TRACK_ALLOCATIONS
1022 void *
1023 AcpiUtAllocateAndTrack (
1024  ACPI_SIZE Size,
1025  UINT32 Component,
1026  const char *Module,
1027  UINT32 Line);
1028 
1029 void *
1030 AcpiUtAllocateZeroedAndTrack (
1031  ACPI_SIZE Size,
1032  UINT32 Component,
1033  const char *Module,
1034  UINT32 Line);
1035 
1036 void
1037 AcpiUtFreeAndTrack (
1038  void *Address,
1039  UINT32 Component,
1040  const char *Module,
1041  UINT32 Line);
1042 
1043 void
1044 AcpiUtDumpAllocationInfo (
1045  void);
1046 
1047 void
1048 AcpiUtDumpAllocations (
1049  UINT32 Component,
1050  const char *Module);
1051 
1053 AcpiUtCreateList (
1054  const char *ListName,
1055  UINT16 ObjectSize,
1056  ACPI_MEMORY_LIST **ReturnCache);
1057 
1058 #endif /* ACPI_DBG_TRACK_ALLOCATIONS */
1059 
1060 
1061 /*
1062  * utaddress - address range check
1063  */
1067  ACPI_PHYSICAL_ADDRESS Address,
1068  UINT32 Length,
1069  ACPI_NAMESPACE_NODE *RegionNode);
1070 
1071 void
1074  ACPI_NAMESPACE_NODE *RegionNode);
1075 
1076 UINT32
1079  ACPI_PHYSICAL_ADDRESS Address,
1080  UINT32 Length,
1081  BOOLEAN Warn);
1082 
1083 void
1085  void);
1086 
1087 
1088 /*
1089  * utxferror - various error/warning output functions
1090  */
1094  const char *ModuleName,
1096  char *Pathname,
1097  UINT16 NodeFlags,
1098  const char *Format,
1099  ...);
1100 
1104  const char *ModuleName,
1106  char *Pathname,
1107  UINT16 NodeFlags,
1108  const char *Format,
1109  ...);
1110 
1114  const char *ModuleName,
1116  char *Pathname,
1117  UINT16 NodeFlags,
1118  const char *Format,
1119  ...);
1120 
1121 void
1123  const char *ModuleName,
1125  ACPI_GENERIC_STATE *PrefixScope,
1126  const char *InternalName,
1127  ACPI_STATUS LookupStatus);
1128 
1129 void
1131  const char *ModuleName,
1133  const char *Message,
1135  const char *Path,
1136  ACPI_STATUS LookupStatus);
1137 
1138 
1139 /*
1140  * Utility functions for ACPI names and IDs
1141  */
1144  char *Nameseg);
1145 
1148  char *Hid);
1149 
1150 const char *
1152  UINT8 *Data);
1153 
1154 
1155 /*
1156  * utuuid -- UUID support functions
1157  */
1158 #if (defined ACPI_ASL_COMPILER || defined ACPI_EXEC_APP || defined ACPI_HELP_APP)
1159 void
1160 AcpiUtConvertStringToUuid (
1161  char *InString,
1162  UINT8 *UuidBuffer);
1163 
1165 AcpiUtConvertUuidToString (
1166  char *UuidBuffer,
1167  char *OutString);
1168 #endif
1169 
1170 #endif /* _ACUTILS_H */
BOOLEAN AcpiUtValidObjectType(ACPI_OBJECT_TYPE Type)
Definition: utdecode.c:681
const char * AcpiUtGetMutexName(UINT32 MutexId)
Definition: utdecode.c:479
ObjectType
Definition: metafile.c:80
ACPI_STATUS AcpiUtReleaseReadLock(ACPI_RW_LOCK *Lock)
Definition: utlock.c:143
const char * AcpiUtGetDescriptorName(void *Object)
Definition: utdecode.c:382
void AcpiUtSetIntegerWidth(UINT8 Revision)
Definition: utmisc.c:181
void AcpiUtAddReference(ACPI_OPERAND_OBJECT *Object)
Definition: utdelete.c:751
const char * AcpiAhMatchUuid(UINT8 *Data)
ASMGENDATA Table[]
Definition: genincdata.c:61
ACPI_STATUS AcpiUtValidateResource(ACPI_WALK_STATE *WalkState, void *Aml, UINT8 *ReturnIndex)
Definition: utresrc.c:314
void AcpiUtDeleteGenericState(ACPI_GENERIC_STATE *State)
Definition: utstate.c:340
void AcpiUtTrackStackPtr(void)
UINT8 ACPI_ADR_SPACE_TYPE
Definition: actypes.h:850
ACPI_STATUS AcpiUtInitializeBuffer(ACPI_BUFFER *Buffer, ACPI_SIZE RequiredLength)
Definition: utalloc.c:336
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
ACPI_STATUS AcpiUtCopyEobjectToIobject(ACPI_OBJECT *Obj, ACPI_OPERAND_OBJECT **InternalObj)
Definition: utcopy.c:670
void AcpiUtReleaseOwnerId(ACPI_OWNER_ID *OwnerId)
Definition: utownerid.c:190
UINT8 AcpiUtAsciiCharToHex(int HexChar)
Definition: uthex.c:135
ACPI_STATUS AcpiUtDeleteCaches(void)
Definition: utalloc.c:218
ACPI_STATUS AcpiUtShortMultiply(UINT64 InMultiplicand, UINT32 Multiplier, UINT64 *Outproduct)
Definition: utmath.c:88
UINT32 ACPI_MUTEX_HANDLE
Definition: aclocal.h:52
ACPI_STATUS AcpiUtHardwareInitialize(void)
ACPI_STATUS AcpiUtGetResourceEndTag(ACPI_OPERAND_OBJECT *ObjDesc, UINT8 **EndTag)
Definition: utresrc.c:636
void AcpiUtTraceStr(UINT32 LineNumber, const char *FunctionName, const char *ModuleName, UINT32 ComponentId, const char *String)
ACPI_GENERIC_STATE * AcpiUtCreateGenericState(void)
Definition: utstate.c:130
_In_ ULONG Component
Definition: potypes.h:496
void AcpiUtReportWarning(char *ModuleName, UINT32 LineNumber)
char ACPI_OBJECT_TYPE * Types
Definition: acdebug.h:353
UINT16 AcpiUtGetResourceLength(void *Aml)
Definition: utresrc.c:527
static COORD Position
Definition: mouse.c:34
ACPI_OPERAND_OBJECT * AcpiUtCreateBufferObject(ACPI_SIZE BufferSize)
Definition: utobject.c:258
void AcpiUtStatusExit(UINT32 LineNumber, const char *FunctionName, const char *ModuleName, UINT32 ComponentId, ACPI_STATUS Status)
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
Definition: fsrtlfuncs.h:898
BOOLEAN AcpiUtValidNameseg(char *Signature)
Definition: utascii.c:63
ACPI_STATUS AcpiUtGetObjectSize(ACPI_OPERAND_OBJECT *Obj, ACPI_SIZE *ObjLength)
Definition: utobject.c:762
ACPI_STATUS AcpiUtEvaluateNumericObject(const char *ObjectName, ACPI_NAMESPACE_NODE *DeviceNode, UINT64 *Value)
Definition: uteval.c:221
ACPI_STATUS AcpiUtWalkAmlResources(ACPI_WALK_STATE *WalkState, UINT8 *Aml, ACPI_SIZE AmlLength, ACPI_WALK_AML_CALLBACK UserFunction, void **Context)
Definition: utresrc.c:181
ACPI_STATUS AcpiUtShortShiftLeft(UINT64 Operand, UINT32 Count, UINT64 *OutResult)
Definition: utmath.c:139
ACPI_THREAD_STATE * AcpiUtCreateThreadState(void)
Definition: utstate.c:164
_In_ ULONG _In_ ULONG State
Definition: potypes.h:516
ACPI_STATUS AcpiUtWalkPackageTree(ACPI_OPERAND_OBJECT *SourceObject, void *TargetObject, ACPI_PKG_CALLBACK WalkCallback, void *Context)
Definition: utmisc.c:264
void AcpiUtDeleteObjectDesc(ACPI_OPERAND_OBJECT *Object)
Definition: utobject.c:473
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
const char * AcpiUtGetReferenceName(ACPI_OPERAND_OBJECT *Object)
Definition: utdecode.c:426
void AcpiUtExit(UINT32 LineNumber, const char *FunctionName, const char *ModuleName, UINT32 ComponentId)
const AH_DEVICE_ID * AcpiAhMatchHardwareId(char *Hid)
ACPI_STATUS AcpiUtInterfaceTerminate(void)
Definition: utosi.c:192
void AcpiUtRepairName(char *Name)
Definition: utstring.c:183
void AcpiUtReportInfo(char *ModuleName, UINT32 LineNumber)
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char UINT32 ComponentId
Definition: acpixf.h:1274
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char * ModuleName
Definition: acpixf.h:1274
BOOLEAN AcpiUtIsPciRootBridge(char *Id)
Definition: utmisc.c:66
_In_ PVOID _Out_opt_ PULONG_PTR _Outptr_opt_ PCUNICODE_STRING * ObjectName
Definition: cmfuncs.h:62
void AcpiUtPushGenericState(ACPI_GENERIC_STATE **ListHead, ACPI_GENERIC_STATE *State)
Definition: utstate.c:65
UINT32 ACPI_STATUS
Definition: actypes.h:460
void AcpiUtPtrExit(UINT32 LineNumber, const char *FunctionName, const char *ModuleName, UINT32 ComponentId, UINT8 *Ptr)
ACPI_STATUS AcpiUtBuildSimpleObject(ACPI_OPERAND_OBJECT *Obj, ACPI_OBJECT *UserObj, UINT8 *DataSpace, UINT32 *BufferSpaceUsed)
const ACPI_PREDEFINED_INFO * AcpiUtMatchPredefinedMethod(char *Name)
Definition: utpredef.c:114
_In_ ULONG Revision
Definition: rtlfuncs.h:1103
ACPI_STATUS AcpiUtConvertOctalString(char *String, UINT64 *ReturnValue)
Definition: utstrsuppt.c:90
ACPI_STATUS(* ACPI_WALK_AML_CALLBACK)(UINT8 *Aml, UINT32 Length, UINT32 Offset, UINT8 ResourceIndex, void **Context)
Definition: acutils.h:156
void AcpiUtDeleteInternalObjectList(ACPI_OPERAND_OBJECT **ObjList)
Definition: utdelete.c:384
ACPI_INTERFACE_INFO * AcpiUtGetInterface(ACPI_STRING InterfaceName)
Definition: utosi.c:423
void AcpiUtValueExit(UINT32 LineNumber, const char *FunctionName, const char *ModuleName, UINT32 ComponentId, UINT64 Value)
DWORD Id
const char * AcpiUtGetEventName(UINT32 EventId)
Definition: utdecode.c:175
UINT32 AcpiUtDwordByteSwap(UINT32 Value)
Definition: utmisc.c:136
ACPI_GENERIC_STATE * AcpiUtPopGenericState(ACPI_GENERIC_STATE **ListHead)
Definition: utstate.c:93
UINT32 AcpiUtCheckAddressRange(ACPI_ADR_SPACE_TYPE SpaceId, ACPI_PHYSICAL_ADDRESS Address, UINT32 Length, BOOLEAN Warn)
Definition: utaddress.c:211
#define ACPI_PRINTF_LIKE(c)
Definition: actypes.h:315
ACPI_STATUS AcpiUtUpdateInterfaces(UINT8 Action)
Definition: utosi.c:374
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn BOOLEAN Physical UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING ACPI_OBJECT_LIST ACPI_BUFFER *ReturnObjectBuffer ACPI_DEVICE_INFO **ReturnBuffer ACPI_HANDLE ACPI_HANDLE ACPI_HANDLE *OutHandle ACPI_HANDLE *OutHandle void *Context void *Context ACPI_EVENT_HANDLER Handler UINT32 UINT32 ACPI_GPE_HANDLER void *Context UINT32 ACPI_NOTIFY_HANDLER void *Context ACPI_ADR_SPACE_TYPE SpaceId
Definition: acpixf.h:828
ACPI_STATUS AcpiUtReleaseMutex(ACPI_MUTEX_HANDLE MutexId)
Definition: utmutex.c:348
ACPI_STATUS AcpiUtCreateCaches(void)
Definition: utalloc.c:104
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2430
UINT32 void void ** ReturnValue
Definition: acevents.h:214
void AcpiUtReportError(char *ModuleName, UINT32 LineNumber)
const char * AcpiUtGetRegionName(UINT8 SpaceId)
Definition: utdecode.c:125
ACPI_STATUS AcpiUtExecute_CLS(ACPI_NAMESPACE_NODE *DeviceNode, ACPI_PNP_DEVICE_ID **ReturnId)
Definition: utids.c:406
ACPI_STATUS AcpiUtStrtoul64(char *String, UINT64 *RetInteger)
Definition: utstrtoul64.c:121
void AcpiUtPrintString(char *String, UINT16 MaxLength)
Definition: utstring.c:69
ACPI_STATUS AcpiUtAcquireMutex(ACPI_MUTEX_HANDLE MutexId)
Definition: utmutex.c:256
unsigned int UINT32
char * ACPI_STRING
Definition: actypes.h:462
void * AcpiUtAllocateObjectDescDbg(const char *ModuleName, UINT32 LineNumber, UINT32 ComponentId)
Definition: utobject.c:429
void AcpiUtPrefixedNamespaceError(const char *ModuleName, UINT32 LineNumber, ACPI_GENERIC_STATE *PrefixScope, const char *InternalName, ACPI_STATUS LookupStatus)
Definition: uterror.c:227
ACPI_STATUS AcpiUtBuildPackageObject(ACPI_OPERAND_OBJECT *Obj, UINT8 *Buffer, UINT32 *SpaceUsed)
void AcpiUtDeleteInternalPackageObject(ACPI_OPERAND_OBJECT *Object)
void AcpiUtDebugDumpBuffer(UINT8 *Buffer, UINT32 Count, UINT32 Display, UINT32 ComponentId)
Definition: utbuffer.c:219
ACPI_STATUS AcpiUtInitializeInterfaces(void)
Definition: utosi.c:148
ACPI_STATUS AcpiUtConvertHexString(char *String, UINT64 *ReturnValuePtr)
Definition: utstrsuppt.c:214
unsigned char BOOLEAN
ACPI_STATUS AcpiUtAcquireWriteLock(ACPI_RW_LOCK *Lock)
Definition: utlock.c:185
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK UserFunction
Definition: acpixf.h:1073
static WCHAR Address[46]
Definition: ping.c:68
void AcpiUtReleaseWriteLock(ACPI_RW_LOCK *Lock)
Definition: utlock.c:197
UINT32 ACPI_OBJECT_TYPE
Definition: actypes.h:677
Definition: bufpool.h:45
ACPI_STATUS(* ACPI_PKG_CALLBACK)(UINT8 ObjectType, ACPI_OPERAND_OBJECT *SourceObject, ACPI_GENERIC_STATE *State, void *Context)
Definition: acutils.h:164
ACPI_STATUS AcpiUtExecutePowerMethods(ACPI_NAMESPACE_NODE *DeviceNode, const char **MethodNames, UINT8 MethodCount, UINT8 *OutValues)
Definition: uteval.c:332
ACPI_STATUS AcpiUtCreateUpdateStateAndPush(ACPI_OPERAND_OBJECT *Object, UINT16 Action, ACPI_GENERIC_STATE **StateList)
Definition: utmisc.c:219
ACPI_STATUS AcpiUtConvertDecimalString(char *String, UINT64 *ReturnValuePtr)
Definition: utstrsuppt.c:152
void ACPI_INTERNAL_VAR_XFACE AcpiUtPredefinedBiosError(const char *ModuleName, UINT32 LineNumber, char *Pathname, UINT16 NodeFlags, const char *Format,...)
Definition: uterror.c:177
UINT8 * FreeSpace
Definition: acutils.h:172
void AcpiUtDeleteInternalSimpleObject(ACPI_OPERAND_OBJECT *Object)
char AcpiUtRemoveLeadingZeros(char **String)
Definition: utstrsuppt.c:274
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:406
ACPI_OPERAND_OBJECT * AcpiUtCreateStringObject(ACPI_SIZE StringSize)
Definition: utobject.c:320
ACPI_STATUS AcpiUtInitGlobals(void)
Definition: utinit.c:131
Status
Definition: gdiplustypes.h:24
ACPI_STATUS AcpiUtAddAddressRange(ACPI_ADR_SPACE_TYPE SpaceId, ACPI_PHYSICAL_ADDRESS Address, UINT32 Length, ACPI_NAMESPACE_NODE *RegionNode)
Definition: utaddress.c:78
UINT8 AcpiUtGetResourceHeaderLength(void *Aml)
Definition: utresrc.c:572
#define ACPI_INTERNAL_VAR_XFACE
Definition: acenv.h:338
int Count
Definition: noreturn.cpp:7
ACPI_STATUS AcpiUtShortDivide(UINT64 InDividend, UINT32 Divisor, UINT64 *OutQuotient, UINT32 *OutRemainder)
Definition: utmath.c:337
ACPI_OPERAND_OBJECT * AcpiUtCreateInternalObjectDbg(const char *ModuleName, UINT32 LineNumber, UINT32 ComponentId, ACPI_OBJECT_TYPE Type)
Definition: utobject.c:94
const ACPI_PREDEFINED_INFO * AcpiUtGetNextPredefinedMethod(const ACPI_PREDEFINED_INFO *ThisName)
Definition: utpredef.c:82
const UINT8 AcpiGbl_ResourceAmlSizes[]
Definition: utresrc.c:57
ACPI_GENERIC_STATE * AcpiUtCreatePkgState(void *InternalObject, void *ExternalObject, UINT32 Index)
Definition: utstate.c:255
_In_ WDFCOLLECTION _In_ ULONG Index
ACPI_OPERAND_OBJECT * AcpiUtCreatePackageObject(UINT32 Count)
Definition: utobject.c:174
UINT32 ObjectSpace
Definition: acutils.h:174
void AcpiUtTracePtr(UINT32 LineNumber, const char *FunctionName, const char *ModuleName, UINT32 ComponentId, const void *Pointer)
Definition: video.h:581
UINT16 ACPI_OWNER_ID
Definition: actypes.h:486
ACPI_OPERAND_OBJECT * AcpiUtCreateIntegerObject(UINT64 Value)
Definition: utobject.c:223
const ACPI_EXCEPTION_INFO * AcpiUtValidateException(ACPI_STATUS Status)
Definition: utexcep.c:111
ACPI_STATUS AcpiUtCreateRwLock(ACPI_RW_LOCK *Lock)
Definition: utlock.c:66
ACPI_STATUS AcpiUtRemoveInterface(ACPI_STRING InterfaceName)
Definition: utosi.c:299
Type
Definition: Type.h:6
void AcpiUtStrExit(UINT32 LineNumber, const char *FunctionName, const char *ModuleName, UINT32 ComponentId, const char *String)
UINT32 AcpiUtGetDescriptorLength(void *Aml)
Definition: utresrc.c:606
Definition: Node.h:9
UINT64 AcpiUtImplicitStrtoul64(char *String)
Definition: utstrtoul64.c:259
CHAR Message[80]
Definition: alive.c:5
Definition: ncftp.h:79
ACPI_STATUS AcpiUtShortShiftRight(UINT64 Operand, UINT32 Count, UINT64 *OutResult)
Definition: utmath.c:184
void AcpiUtCheckAndRepairAscii(UINT8 *Name, char *RepairedName, UINT32 Count)
Definition: utascii.c:140
ACPI_STATUS AcpiUtExecute_HID(ACPI_NAMESPACE_NODE *DeviceNode, ACPI_PNP_DEVICE_ID **ReturnId)
Definition: utids.c:72
const AH_PREDEFINED_NAME * AcpiAhMatchPredefinedName(char *Nameseg)
ACPI_STATUS AcpiUtCopyISimpleToIsimple(ACPI_OPERAND_OBJECT *SourceObj, ACPI_OPERAND_OBJECT *DestObj)
ACPI_GENERIC_STATE * AcpiUtCreateControlState(void)
Definition: utstate.c:300
ACPI_STATUS AcpiUtInstallInterface(ACPI_STRING InterfaceName)
Definition: utosi.c:253
void AcpiUtDeleteRwLock(ACPI_RW_LOCK *Lock)
Definition: utlock.c:85
UINT32 NumPackages
Definition: acutils.h:175
void ACPI_INTERNAL_VAR_XFACE AcpiUtPredefinedWarning(const char *ModuleName, UINT32 LineNumber, char *Pathname, UINT16 NodeFlags, const char *Format,...)
Definition: uterror.c:79
void ACPI_INTERNAL_VAR_XFACE AcpiUtPredefinedInfo(const char *ModuleName, UINT32 LineNumber, char *Pathname, UINT16 NodeFlags, const char *Format,...)
Definition: uterror.c:128
void AcpiUtDumpBuffer(UINT8 *Buffer, UINT32 Count, UINT32 Display, UINT32 Offset)
Definition: utbuffer.c:71
int AcpiUtStricmp(char *String1, char *String2)
Definition: utnonansi.c:144
ACPI_STATUS AcpiUtExecute_STA(ACPI_NAMESPACE_NODE *DeviceNode, UINT32 *StatusFlags)
Definition: uteval.c:269
void AcpiUtDeleteAddressLists(void)
Definition: utaddress.c:292
void AcpiUtMutexTerminate(void)
Definition: utmutex.c:150
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
void AcpiUtRemoveHexPrefix(char **String)
Definition: utstrsuppt.c:357
BOOLEAN AcpiUtValidInternalObject(void *Object)
Definition: utobject.c:376
void AcpiUtTrace(UINT32 LineNumber, const char *FunctionName, const char *ModuleName, UINT32 ComponentId)
BOOLEAN AcpiUtDetectOctalPrefix(char **String)
Definition: utstrsuppt.c:382
_In_ ULONG _In_ ULONG Offset
Definition: ntddpcm.h:101
char AcpiUtRemoveWhitespace(char **String)
Definition: utstrsuppt.c:303
ACPI_STATUS AcpiUtCopyIobjectToEobject(ACPI_OPERAND_OBJECT *Obj, ACPI_BUFFER *RetBuffer)
Definition: utcopy.c:414
#define ACPI_FILE
Definition: acenv.h:404
void AcpiUtStrlwr(char *SrcString)
Definition: utnonansi.c:69
PRTL_UNICODE_STRING_BUFFER Path
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 LineNumber
Definition: acpixf.h:1216
ACPI_STATUS AcpiUtAllocateOwnerId(ACPI_OWNER_ID *OwnerId)
Definition: utownerid.c:68
void AcpiUtStrupr(char *SrcString)
Definition: utnonansi.c:105
ACPI_GENERIC_STATE * AcpiUtCreateUpdateState(ACPI_OPERAND_OBJECT *Object, UINT16 Action)
Definition: utstate.c:214
_In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action
Definition: wdfiotarget.h:506
char AcpiUtHexToAsciiChar(UINT64 Integer, UINT32 Position)
Definition: uthex.c:74
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
Definition: utdelete.c:789
void AcpiUtInitStackPtrTrace(void)
_In_ ULONG _Out_opt_ PULONG RequiredLength
Definition: wmifuncs.h:29
unsigned short UINT16
const char * AcpiUtGetTypeName(ACPI_OBJECT_TYPE Type)
Definition: utdecode.c:250
void AcpiUtTraceU32(UINT32 LineNumber, const char *FunctionName, const char *ModuleName, UINT32 ComponentId, UINT32 Integer)
UINT8 AcpiUtGetResourceType(void *Aml)
Definition: utresrc.c:487
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char * FunctionName
Definition: acpixf.h:1274
ACPI_STATUS AcpiUtAsciiToHexByte(char *TwoAsciiChars, UINT8 *ReturnByte)
Definition: uthex.c:100
_In_ const STRING * String2
Definition: rtlfuncs.h:2304
const char * AcpiUtGetNodeName(void *Object)
Definition: utdecode.c:306
struct tagContext Context
Definition: acpixf.h:1034
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWAITLOCK * Lock
Definition: wdfsync.h:124
_In_ LARGE_INTEGER Divisor
Definition: rtlfuncs.h:3044
void AcpiUtSubsystemShutdown(void)
Definition: utinit.c:304
int Display
Definition: x11stubs.h:25
#define const
Definition: zconf.h:230
ACPI_STATUS AcpiUtValidateBuffer(ACPI_BUFFER *Buffer)
Definition: utalloc.c:290
const char * AcpiUtGetArgumentTypeName(UINT32 ArgType)
ACPI_STATUS AcpiUtExecute_CID(ACPI_NAMESPACE_NODE *DeviceNode, ACPI_PNP_DEVICE_ID_LIST **ReturnCidList)
Definition: utids.c:253
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
Definition: ndis.h:3167
ACPI_STATUS AcpiUtCopyIobjectToIobject(ACPI_OPERAND_OBJECT *SourceDesc, ACPI_OPERAND_OBJECT **DestDesc, ACPI_WALK_STATE *WalkState)
Definition: utcopy.c:1037
Definition: File.h:15
ACPI_STATUS AcpiUtUpdateObjectReference(ACPI_OPERAND_OBJECT *Object, UINT16 Action)
Definition: utdelete.c:547
ACPI_STATUS AcpiUtExecute_UID(ACPI_NAMESPACE_NODE *DeviceNode, ACPI_PNP_DEVICE_ID **ReturnId)
Definition: utids.c:160
ACPI_STATUS AcpiUtMutexInitialize(void)
Definition: utmutex.c:75
ACPI_STATUS AcpiUtOsiImplementation(ACPI_WALK_STATE *WalkState)
Definition: utosi.c:470
BOOLEAN AcpiUtDetectHexPrefix(char **String)
Definition: utstrsuppt.c:329
unsigned long long UINT64
_Must_inspect_result_ _In_opt_ PVOID OwnerId
Definition: fsrtlfuncs.h:907
BOOLEAN AcpiUtValidNameChar(char Character, UINT32 Position)
Definition: utascii.c:102
ACPI_STATUS AcpiUtEvaluateObject(ACPI_NAMESPACE_NODE *PrefixNode, const char *Path, UINT32 ExpectedReturnBtypes, ACPI_OPERAND_OBJECT **ReturnDesc)
Definition: uteval.c:73
void AcpiUtGetExpectedReturnTypes(char *Buffer, UINT32 ExpectedBtypes)
Definition: utpredef.c:158
static const WCHAR Signature[]
Definition: parser.c:141
UINT64 AcpiUtExplicitStrtoul64(char *String)
Definition: utstrtoul64.c:347
unsigned char UINT8
void AcpiUtRemoveAddressRange(ACPI_ADR_SPACE_TYPE SpaceId, ACPI_NAMESPACE_NODE *RegionNode)
Definition: utaddress.c:139
const char * AcpiUtGetObjectTypeName(ACPI_OPERAND_OBJECT *ObjDesc)
Definition: utdecode.c:264
void AcpiUtMethodError(const char *ModuleName, UINT32 LineNumber, const char *Message, ACPI_NAMESPACE_NODE *Node, const char *Path, ACPI_STATUS LookupStatus)
Definition: uterror.c:369
const UINT8 AcpiGbl_ResourceAmlSerialBusSizes[]
Definition: utresrc.c:101
ACPI_SIZE Length
Definition: acutils.h:173
struct acpi_pkg_info ACPI_PKG_INFO
ACPI_STATUS AcpiUtDivide(UINT64 InDividend, UINT64 InDivisor, UINT64 *OutQuotient, UINT64 *OutRemainder)
Definition: utmath.c:402
ACPI_STATUS AcpiUtAcquireReadLock(ACPI_RW_LOCK *Lock)
Definition: utlock.c:117
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
Definition: wdfmemory.h:251
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char UINT32 const char BOOLEAN UINT8 * Aml
Definition: acpixf.h:1297
Definition: dlist.c:348
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn BOOLEAN Physical UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING Pathname
Definition: acpixf.h:700