ReactOS  0.4.14-dev-376-gaedba84
acnamesp.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * Name: acnamesp.h - Namespace subcomponent prototypes and defines
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 __ACNAMESP_H__
45 #define __ACNAMESP_H__
46 
47 
48 /* To search the entire name space, pass this as SearchBase */
49 
50 #define ACPI_NS_ALL ((ACPI_HANDLE)0)
51 
52 /*
53  * Elements of AcpiNsProperties are bit significant
54  * and should be one-to-one with values of ACPI_OBJECT_TYPE
55  */
56 #define ACPI_NS_NORMAL 0
57 #define ACPI_NS_NEWSCOPE 1 /* a definition of this type opens a name scope */
58 #define ACPI_NS_LOCAL 2 /* suppress search of enclosing scopes */
59 
60 /* Flags for AcpiNsLookup, AcpiNsSearchAndEnter */
61 
62 #define ACPI_NS_NO_UPSEARCH 0
63 #define ACPI_NS_SEARCH_PARENT 0x0001
64 #define ACPI_NS_DONT_OPEN_SCOPE 0x0002
65 #define ACPI_NS_NO_PEER_SEARCH 0x0004
66 #define ACPI_NS_ERROR_IF_FOUND 0x0008
67 #define ACPI_NS_PREFIX_IS_SCOPE 0x0010
68 #define ACPI_NS_EXTERNAL 0x0020
69 #define ACPI_NS_TEMPORARY 0x0040
70 #define ACPI_NS_OVERRIDE_IF_FOUND 0x0080
71 #define ACPI_NS_EARLY_INIT 0x0100
72 #define ACPI_NS_PREFIX_MUST_EXIST 0x0200
73 
74 /* Flags for AcpiNsWalkNamespace */
75 
76 #define ACPI_NS_WALK_NO_UNLOCK 0
77 #define ACPI_NS_WALK_UNLOCK 0x01
78 #define ACPI_NS_WALK_TEMP_NODES 0x02
79 
80 /* Object is not a package element */
81 
82 #define ACPI_NOT_PACKAGE_ELEMENT ACPI_UINT32_MAX
83 #define ACPI_ALL_PACKAGE_ELEMENTS (ACPI_UINT32_MAX-1)
84 
85 /* Always emit warning message, not dependent on node flags */
86 
87 #define ACPI_WARN_ALWAYS 0
88 
89 
90 /*
91  * nsinit - Namespace initialization
92  */
95  void);
96 
99  UINT32 Flags);
100 
103  ACPI_HANDLE ObjHandle,
104  UINT32 Level,
105  void *Context,
106  void **ReturnValue);
107 
108 /*
109  * nsload - Namespace loading
110  */
113  void);
114 
117  UINT32 TableIndex,
119 
120 
121 /*
122  * nswalk - walk the namespace
123  */
129  UINT32 Flags,
132  void *Context,
133  void **ReturnValue);
134 
139 
145 
146 /*
147  * nsparse - table parsing
148  */
151  UINT32 TableIndex,
152  ACPI_NAMESPACE_NODE *StartNode);
153 
156  UINT32 TableIndex,
157  ACPI_NAMESPACE_NODE *StartNode);
158 
161  UINT32 PassNumber,
162  UINT32 TableIndex,
163  ACPI_NAMESPACE_NODE *StartNode);
164 
165 
166 /*
167  * nsaccess - Top-level namespace access
168  */
171  void);
172 
174 AcpiNsLookup (
175  ACPI_GENERIC_STATE *ScopeInfo,
176  char *Name,
178  ACPI_INTERPRETER_MODE InterpreterMode,
179  UINT32 Flags,
180  ACPI_WALK_STATE *WalkState,
181  ACPI_NAMESPACE_NODE **RetNode);
182 
183 
184 /*
185  * nsalloc - Named object allocation/deallocation
186  */
189  UINT32 Name);
190 
191 void
194 
195 void
198 
199 void
201  ACPI_NAMESPACE_NODE *ParentHandle);
202 
203 void
206 
207 void
210 
211 void
214 
215 int
217  char *Name1,
218  char *Name2);
219 
220 
221 /*
222  * nsconvert - Dynamic object conversion routines
223  */
226  ACPI_OPERAND_OBJECT *OriginalObject,
227  ACPI_OPERAND_OBJECT **ReturnObject);
228 
231  ACPI_OPERAND_OBJECT *OriginalObject,
232  ACPI_OPERAND_OBJECT **ReturnObject);
233 
236  ACPI_OPERAND_OBJECT *OriginalObject,
237  ACPI_OPERAND_OBJECT **ReturnObject);
238 
241  ACPI_NAMESPACE_NODE *Scope,
242  ACPI_OPERAND_OBJECT *OriginalObject,
243  ACPI_OPERAND_OBJECT **ReturnObject);
244 
247  ACPI_NAMESPACE_NODE *Scope,
248  ACPI_OPERAND_OBJECT *OriginalObject,
249  ACPI_OPERAND_OBJECT **ReturnObject);
250 
253  ACPI_NAMESPACE_NODE *Scope,
254  ACPI_OPERAND_OBJECT *OriginalObject,
255  ACPI_OPERAND_OBJECT **ReturnObject);
256 
257 
258 /*
259  * nsdump - Namespace dump/print utilities
260  */
261 void
263  ACPI_HANDLE SearchBase,
264  UINT32 MaxDepth);
265 
266 void
270 
271 void
274  const char *Msg,
275  UINT32 Level,
276  UINT32 Component);
277 
278 void
280  UINT32 NumSegments,
281  const char *Pathname);
282 
285  ACPI_HANDLE ObjHandle,
286  UINT32 Level,
287  void *Context,
288  void **ReturnValue);
289 
290 void
293  UINT8 DisplayType,
296  ACPI_HANDLE StartHandle);
297 
298 void
301  UINT8 DisplayType,
304  ACPI_HANDLE StartHandle);
305 
306 
307 /*
308  * nseval - Namespace evaluation functions
309  */
313 
314 
315 /*
316  * nsarguments - Argument count/type checking for predefined/reserved names
317  */
318 void
320  char *Pathname,
322  UINT32 UserParamCount,
323  const ACPI_PREDEFINED_INFO *Info);
324 
325 void
327  char *Pathname,
329  const ACPI_PREDEFINED_INFO *Predefined);
330 
331 void
334 
335 
336 /*
337  * nspredef - Return value checking for predefined/reserved names
338  */
343  UINT32 UserParamCount,
344  ACPI_STATUS ReturnStatus,
345  ACPI_OPERAND_OBJECT **ReturnObject);
346 
350  ACPI_OPERAND_OBJECT **ReturnObjectPtr,
351  UINT32 ExpectedBtypes,
352  UINT32 PackageIndex);
353 
354 
355 /*
356  * nsprepkg - Validation of predefined name packages
357  */
361  ACPI_OPERAND_OBJECT **ReturnObjectPtr);
362 
363 
364 /*
365  * nsnames - Name and Scope manipulation
366  */
367 UINT32
370 
371 char *
374 
375 UINT32
378  char *FullPath,
379  UINT32 PathSize,
380  BOOLEAN NoTrailing);
381 
382 char *
385  BOOLEAN NoTrailing);
386 
387 char *
389  ACPI_GENERIC_STATE *PrefixScope,
390  const char *InternalPath);
391 
392 char *
394  ACPI_WALK_STATE *WalkState);
395 
400 
405  BOOLEAN NoTrailing);
406 
407 BOOLEAN
409  ACPI_NAMESPACE_NODE *ObjNode,
410  char *SearchFor);
411 
414  ACPI_NAMESPACE_NODE *PrefixNode,
415  const char *ExternalPathname,
416  UINT32 Flags,
417  ACPI_NAMESPACE_NODE **OutNode);
418 
421  ACPI_NAMESPACE_NODE *PrefixNode,
422  const char *ExternalPathname,
423  UINT32 Flags,
424  ACPI_NAMESPACE_NODE **OutNode);
425 
426 ACPI_SIZE
429 
430 
431 /*
432  * nsobject - Object management for namespace nodes
433  */
439 
443 
446  ACPI_OPERAND_OBJECT *ObjDesc);
447 
452  void *Data);
453 
458 
463  void **Data);
464 
465 
466 /*
467  * nsrepair - General return object repair for all
468  * predefined methods/objects
469  */
473  UINT32 ExpectedBtypes,
474  UINT32 PackageIndex,
475  ACPI_OPERAND_OBJECT **ReturnObjectPtr);
476 
480  ACPI_OPERAND_OBJECT *OriginalObject,
481  ACPI_OPERAND_OBJECT **ObjDescPtr);
482 
486  UINT32 ExpectedBtypes,
487  UINT32 PackageIndex,
488  ACPI_OPERAND_OBJECT **ReturnObjectPtr);
489 
490 void
493  UINT8 PackageType,
494  ACPI_OPERAND_OBJECT *ObjDesc);
495 
496 
497 /*
498  * nsrepair2 - Return object repair for specific
499  * predefined methods/objects
500  */
505  ACPI_STATUS ValidateStatus,
506  ACPI_OPERAND_OBJECT **ReturnObjectPtr);
507 
508 
509 /*
510  * nssearch - Namespace searching and entry
511  */
514  UINT32 EntryName,
515  ACPI_WALK_STATE *WalkState,
517  ACPI_INTERPRETER_MODE InterpreterMode,
519  UINT32 Flags,
520  ACPI_NAMESPACE_NODE **RetNode);
521 
524  UINT32 EntryName,
527  ACPI_NAMESPACE_NODE **RetNode);
528 
529 void
531  ACPI_WALK_STATE *WalkState,
532  ACPI_NAMESPACE_NODE *ParentNode,
535 
536 
537 /*
538  * nsutils - Utility functions
539  */
543 
544 UINT32
545 AcpiNsLocal (
547 
548 void
551  const char *Msg);
552 
556 
557 void
560 
563  const char *DottedName,
564  char **ConvertedName);
565 
568  UINT32 InternalNameLength,
569  const char *InternalName,
570  UINT32 *ConvertedNameLength,
571  char **ConvertedName);
572 
576 
577 void
579  void);
580 
581 #endif /* __ACNAMESP_H__ */
void AcpiNsRemoveNode(ACPI_NAMESPACE_NODE *Node)
Definition: nsalloc.c:188
UINT32 AcpiNsLocal(ACPI_OBJECT_TYPE Type)
Definition: nsutils.c:150
ACPI_STATUS AcpiNsComplexRepairs(ACPI_EVALUATE_INFO *Info, ACPI_NAMESPACE_NODE *Node, ACPI_STATUS ValidateStatus, ACPI_OPERAND_OBJECT **ReturnObjectPtr)
Definition: nsrepair2.c:206
ACPI_INTERPRETER_MODE
Definition: aclocal.h:165
ACPI_STATUS AcpiNsConvertToInteger(ACPI_OPERAND_OBJECT *OriginalObject, ACPI_OPERAND_OBJECT **ReturnObject)
Definition: nsconvert.c:70
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 AscendingCallback
Definition: acpixf.h:635
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn BOOLEAN Physical UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK DescendingCallback
Definition: acpixf.h:635
void AcpiNsDumpEntry(ACPI_HANDLE Handle, UINT32 DebugLevel)
ACPI_STATUS AcpiNsConvertToBuffer(ACPI_OPERAND_OBJECT *OriginalObject, ACPI_OPERAND_OBJECT **ReturnObject)
Definition: nsconvert.c:233
void AcpiNsGetInternalNameLength(ACPI_NAMESTRING_INFO *Info)
Definition: nsutils.c:183
ACPI_STATUS AcpiNsLookup(ACPI_GENERIC_STATE *ScopeInfo, char *Name, ACPI_OBJECT_TYPE Type, ACPI_INTERPRETER_MODE InterpreterMode, UINT32 Flags, ACPI_WALK_STATE *WalkState, ACPI_NAMESPACE_NODE **RetNode)
Definition: nsaccess.c:329
void AcpiNsDeleteChildren(ACPI_NAMESPACE_NODE *Parent)
Definition: nsalloc.c:341
ACPI_STATUS AcpiNsSimpleRepair(ACPI_EVALUATE_INFO *Info, UINT32 ExpectedBtypes, UINT32 PackageIndex, ACPI_OPERAND_OBJECT **ReturnObjectPtr)
Definition: nsrepair.c:153
Type
Definition: Type.h:6
ACPI_STATUS AcpiNsInitializeObjects(void)
Definition: nsinit.c:92
ACPI_STATUS AcpiNsGetNodeUnlocked(ACPI_NAMESPACE_NODE *PrefixNode, const char *ExternalPathname, UINT32 Flags, ACPI_NAMESPACE_NODE **OutNode)
Definition: nsutils.c:777
void AcpiNsPrintPathname(UINT32 NumSegments, const char *Pathname)
ACPI_STATUS AcpiNsCheckObjectType(ACPI_EVALUATE_INFO *Info, ACPI_OPERAND_OBJECT **ReturnObjectPtr, UINT32 ExpectedBtypes, UINT32 PackageIndex)
Definition: nspredef.c:244
void AcpiNsDumpObjectPaths(ACPI_OBJECT_TYPE Type, UINT8 DisplayType, UINT32 MaxDepth, ACPI_OWNER_ID OwnerId, ACPI_HANDLE StartHandle)
ACPI_STATUS AcpiNsInitializeDevices(UINT32 Flags)
Definition: nsinit.c:157
ACPI_STATUS AcpiNsGetAttachedData(ACPI_NAMESPACE_NODE *Node, ACPI_OBJECT_HANDLER Handler, void **Data)
Definition: nsobject.c:498
ACPI_STATUS AcpiNsCheckReturnValue(ACPI_NAMESPACE_NODE *Node, ACPI_EVALUATE_INFO *Info, UINT32 UserParamCount, ACPI_STATUS ReturnStatus, ACPI_OPERAND_OBJECT **ReturnObject)
Definition: nspredef.c:108
ACPI_STATUS AcpiNsEvaluate(ACPI_EVALUATE_INFO *Info)
Definition: nseval.c:82
ACPI_STATUS AcpiNsConvertToResource(ACPI_NAMESPACE_NODE *Scope, ACPI_OPERAND_OBJECT *OriginalObject, ACPI_OPERAND_OBJECT **ReturnObject)
Definition: nsconvert.c:420
struct @1591 Msg[]
void AcpiNsCheckArgumentCount(char *Pathname, ACPI_NAMESPACE_NODE *Node, UINT32 UserParamCount, const ACPI_PREDEFINED_INFO *Info)
Definition: nsarguments.c:226
void AcpiNsCheckAcpiCompliance(char *Pathname, ACPI_NAMESPACE_NODE *Node, const ACPI_PREDEFINED_INFO *Predefined)
Definition: nsarguments.c:133
ACPI_STATUS AcpiNsLoadTable(UINT32 TableIndex, ACPI_NAMESPACE_NODE *Node)
Definition: nsload.c:82
ACPI_STATUS AcpiNsConvertToReference(ACPI_NAMESPACE_NODE *Scope, ACPI_OPERAND_OBJECT *OriginalObject, ACPI_OPERAND_OBJECT **ReturnObject)
Definition: nsconvert.c:506
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
Definition: wmitypes.h:55
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 Parent
Definition: acpixf.h:728
int AcpiNsCompareNames(char *Name1, char *Name2)
void AcpiNsRemoveNullElements(ACPI_EVALUATE_INFO *Info, UINT8 PackageType, ACPI_OPERAND_OBJECT *ObjDesc)
Definition: nsrepair.c:494
UINT32 ACPI_STATUS
Definition: actypes.h:460
ACPI_STATUS(* ACPI_WALK_CALLBACK)(ACPI_HANDLE Object, UINT32 NestingLevel, void *Context, void **ReturnValue)
Definition: actypes.h:1224
ULONG DebugLevel
Definition: fbtusb.c:26
ACPI_NAMESPACE_NODE * AcpiNsGetNextNodeTyped(ACPI_OBJECT_TYPE Type, ACPI_NAMESPACE_NODE *Parent, ACPI_NAMESPACE_NODE *Child)
Definition: nswalk.c:112
ACPI_SIZE AcpiNsGetPathnameLength(ACPI_NAMESPACE_NODE *Node)
Definition: nsnames.c:103
void AcpiNsDumpPathname(ACPI_HANDLE Handle, const char *Msg, UINT32 Level, UINT32 Component)
struct TraceInfo Info
ACPI_STATUS AcpiNsWalkNamespace(ACPI_OBJECT_TYPE Type, ACPI_HANDLE StartObject, UINT32 MaxDepth, UINT32 Flags, ACPI_WALK_CALLBACK DescendingCallback, ACPI_WALK_CALLBACK AscendingCallback, void *Context, void **ReturnValue)
Definition: nswalk.c:190
ACPI_OBJECT_TYPE AcpiNsGetType(ACPI_NAMESPACE_NODE *Node)
Definition: nsutils.c:120
ACPI_STATUS AcpiNsConvertToUnicode(ACPI_NAMESPACE_NODE *Scope, ACPI_OPERAND_OBJECT *OriginalObject, ACPI_OPERAND_OBJECT **ReturnObject)
Definition: nsconvert.c:345
void AcpiNsDumpTables(ACPI_HANDLE SearchBase, UINT32 MaxDepth)
ACPI_STATUS AcpiNsInitOnePackage(ACPI_HANDLE ObjHandle, UINT32 Level, void *Context, void **ReturnValue)
Definition: nsinit.c:319
ACPI_NAMESPACE_NODE * AcpiNsCreateNode(UINT32 Name)
Definition: nsalloc.c:66
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
ACPI_STATUS AcpiNsGetNode(ACPI_NAMESPACE_NODE *PrefixNode, const char *ExternalPathname, UINT32 Flags, ACPI_NAMESPACE_NODE **OutNode)
Definition: nsutils.c:863
UINT32 void void ** ReturnValue
Definition: acevents.h:214
char * AcpiNsBuildPrefixedPathname(ACPI_GENERIC_STATE *PrefixScope, const char *InternalPath)
Definition: nsnames.c:429
unsigned int UINT32
ACPI_STATUS AcpiNsSearchAndEnter(UINT32 EntryName, ACPI_WALK_STATE *WalkState, ACPI_NAMESPACE_NODE *Node, ACPI_INTERPRETER_MODE InterpreterMode, ACPI_OBJECT_TYPE Type, UINT32 Flags, ACPI_NAMESPACE_NODE **RetNode)
Definition: nssearch.c:294
unsigned char BOOLEAN
ACPI_STATUS AcpiNsBuildInternalName(ACPI_NAMESTRING_INFO *Info)
Definition: nsutils.c:267
ACPI_STATUS AcpiNsExternalizeName(UINT32 InternalNameLength, const char *InternalName, UINT32 *ConvertedNameLength, char **ConvertedName)
Definition: nsutils.c:470
UINT32 ACPI_OBJECT_TYPE
Definition: actypes.h:676
Definition: bufpool.h:45
ACPI_STATUS AcpiNsRepairNullElement(ACPI_EVALUATE_INFO *Info, UINT32 ExpectedBtypes, UINT32 PackageIndex, ACPI_OPERAND_OBJECT **ReturnObjectPtr)
Definition: nsrepair.c:405
void AcpiNsDumpObjects(ACPI_OBJECT_TYPE Type, UINT8 DisplayType, UINT32 MaxDepth, ACPI_OWNER_ID OwnerId, ACPI_HANDLE StartHandle)
ACPI_STATUS AcpiNsParseTable(UINT32 TableIndex, ACPI_NAMESPACE_NODE *StartNode)
Definition: nsparse.c:307
ACPI_STATUS AcpiNsWrapWithPackage(ACPI_EVALUATE_INFO *Info, ACPI_OPERAND_OBJECT *OriginalObject, ACPI_OPERAND_OBJECT **ObjDescPtr)
Definition: nsrepair.c:597
ACPI_STATUS AcpiNsHandleToPathname(ACPI_HANDLE TargetHandle, ACPI_BUFFER *Buffer, BOOLEAN NoTrailing)
Definition: nsnames.c:193
UINT32 AcpiNsOpensScope(ACPI_OBJECT_TYPE Type)
Definition: nsutils.c:736
UINT32 AcpiNsBuildNormalizedPath(ACPI_NAMESPACE_NODE *Node, char *FullPath, UINT32 PathSize, BOOLEAN NoTrailing)
Definition: nsnames.c:262
ACPI_STATUS AcpiNsSearchOneScope(UINT32 EntryName, ACPI_NAMESPACE_NODE *Node, ACPI_OBJECT_TYPE Type, ACPI_NAMESPACE_NODE **RetNode)
Definition: nssearch.c:98
void AcpiNsPrintNodePathname(ACPI_NAMESPACE_NODE *Node, const char *Msg)
Definition: nsutils.c:75
void AcpiNsDetachObject(ACPI_NAMESPACE_NODE *Node)
Definition: nsobject.c:220
_In_ HANDLE Handle
Definition: extypes.h:390
ACPI_STATUS AcpiNsExecuteTable(UINT32 TableIndex, ACPI_NAMESPACE_NODE *StartNode)
Definition: nsparse.c:81
char * AcpiNsGetExternalPathname(ACPI_NAMESPACE_NODE *Node)
Definition: nsnames.c:76
UINT16 ACPI_OWNER_ID
Definition: actypes.h:486
ACPI_OPERAND_OBJECT * AcpiNsGetAttachedObject(ACPI_NAMESPACE_NODE *Node)
Definition: nsobject.c:308
static IUnknown Object
Definition: main.c:512
void AcpiNsDeleteNamespaceSubtree(ACPI_NAMESPACE_NODE *ParentHandle)
Definition: nsalloc.c:399
ACPI_STATUS AcpiNsDetachData(ACPI_NAMESPACE_NODE *Node, ACPI_OBJECT_HANDLER Handler)
Definition: nsobject.c:446
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 Handler
Definition: acpixf.h:668
ACPI_STATUS AcpiNsHandleToName(ACPI_HANDLE TargetHandle, ACPI_BUFFER *Buffer)
Definition: nsnames.c:139
void AcpiNsInstallNode(ACPI_WALK_STATE *WalkState, ACPI_NAMESPACE_NODE *ParentNode, ACPI_NAMESPACE_NODE *Node, ACPI_OBJECT_TYPE Type)
Definition: nsalloc.c:255
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn BOOLEAN Physical UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE StartObject
Definition: acpixf.h:635
char * AcpiNsGetNormalizedPathname(ACPI_NAMESPACE_NODE *Node, BOOLEAN NoTrailing)
Definition: nsnames.c:373
ACPI_STATUS AcpiNsAttachObject(ACPI_NAMESPACE_NODE *Node, ACPI_OPERAND_OBJECT *Object, ACPI_OBJECT_TYPE Type)
Definition: nsobject.c:76
void AcpiNsCheckArgumentTypes(ACPI_EVALUATE_INFO *Info)
Definition: nsarguments.c:68
ACPI_STATUS AcpiNsLoadNamespace(void)
ACPI_STATUS AcpiNsCheckPackage(ACPI_EVALUATE_INFO *Info, ACPI_OPERAND_OBJECT **ReturnObjectPtr)
Definition: nsprepkg.c:96
void AcpiNsTerminate(void)
Definition: nsutils.c:693
void AcpiNsDeleteNode(ACPI_NAMESPACE_NODE *Node)
Definition: nsalloc.c:117
BOOLEAN AcpiNsPatternMatch(ACPI_NAMESPACE_NODE *ObjNode, char *SearchFor)
ACPI_STATUS AcpiNsRootInitialize(void)
Definition: nsaccess.c:73
ACPI_NAMESPACE_NODE * AcpiNsGetNextNode(ACPI_NAMESPACE_NODE *Parent, ACPI_NAMESPACE_NODE *Child)
Definition: nswalk.c:72
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 Child
Definition: acpixf.h:728
void(* ACPI_OBJECT_HANDLER)(ACPI_HANDLE Object, void *Data)
Definition: actypes.h:1152
void AcpiNsDeleteNamespaceByOwner(ACPI_OWNER_ID OwnerId)
Definition: nsalloc.c:497
ACPI_NAMESPACE_NODE * AcpiNsValidateHandle(ACPI_HANDLE Handle)
Definition: nsutils.c:655
_Must_inspect_result_ _In_ PCUNICODE_STRING Name2
Definition: fsrtlfuncs.h:796
_Must_inspect_result_ _In_opt_ PVOID OwnerId
Definition: fsrtlfuncs.h:907
unsigned char UINT8
ACPI_STATUS AcpiNsInternalizeName(const char *DottedName, char **ConvertedName)
Definition: nsutils.c:405
_In_ HANDLE _In_opt_ HANDLE _Out_opt_ PHANDLE TargetHandle
Definition: obfuncs.h:429
ACPI_STATUS AcpiNsOneCompleteParse(UINT32 PassNumber, UINT32 TableIndex, ACPI_NAMESPACE_NODE *StartNode)
Definition: nsparse.c:194
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn BOOLEAN Physical UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 MaxDepth
Definition: acpixf.h:635
char * AcpiNsNameOfCurrentScope(ACPI_WALK_STATE *WalkState)
ACPI_STATUS AcpiNsConvertToString(ACPI_OPERAND_OBJECT *OriginalObject, ACPI_OPERAND_OBJECT **ReturnObject)
Definition: nsconvert.c:141
ACPI_OPERAND_OBJECT * AcpiNsGetSecondaryObject(ACPI_OPERAND_OBJECT *ObjDesc)
Definition: nsobject.c:346
ACPI_STATUS AcpiNsAttachData(ACPI_NAMESPACE_NODE *Node, ACPI_OBJECT_HANDLER Handler, void *Data)
Definition: nsobject.c:379
ACPI_STATUS AcpiNsDumpOneObject(ACPI_HANDLE ObjHandle, UINT32 Level, void *Context, void **ReturnValue)
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