acnamesp.h revision 70243
160484Sobrien/******************************************************************************
260484Sobrien *
360484Sobrien * Name: acnamesp.h - Namespace subcomponent prototypes and defines
460484Sobrien *       $Revision: 99 $
560484Sobrien *
660484Sobrien *****************************************************************************/
7218822Sdim
860484Sobrien/******************************************************************************
960484Sobrien *
1060484Sobrien * 1. Copyright Notice
1160484Sobrien *
1260484Sobrien * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
1360484Sobrien * All rights reserved.
1460484Sobrien *
1560484Sobrien * 2. License
1660484Sobrien *
1760484Sobrien * 2.1. This is your license from Intel Corp. under its intellectual property
1860484Sobrien * rights.  You may have additional license terms from the party that provided
1960484Sobrien * you this software, covering your right to use that party's intellectual
2060484Sobrien * property rights.
2160484Sobrien *
2260484Sobrien * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
2360484Sobrien * copy of the source code appearing in this file ("Covered Code") an
2460484Sobrien * irrevocable, perpetual, worldwide license under Intel's copyrights in the
2560484Sobrien * base code distributed originally by Intel ("Original Intel Code") to copy,
2660484Sobrien * make derivatives, distribute, use and display any portion of the Covered
2760484Sobrien * Code in any form, with the right to sublicense such rights; and
2860484Sobrien *
2960484Sobrien * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
3060484Sobrien * license (with the right to sublicense), under only those claims of Intel
3160484Sobrien * patents that are infringed by the Original Intel Code, to make, use, sell,
3260484Sobrien * offer to sell, and import the Covered Code and derivative works thereof
3360484Sobrien * solely to the minimum extent necessary to exercise the above copyright
3460484Sobrien * license, and in no event shall the patent license extend to any additions
3560484Sobrien * to or modifications of the Original Intel Code.  No other license or right
3660484Sobrien * is granted directly or by implication, estoppel or otherwise;
3760484Sobrien *
3860484Sobrien * The above copyright and patent license is granted only if the following
3960484Sobrien * conditions are met:
4060484Sobrien *
4160484Sobrien * 3. Conditions
4260484Sobrien *
4360484Sobrien * 3.1. Redistribution of Source with Rights to Further Distribute Source.
4460484Sobrien * Redistribution of source code of any substantial portion of the Covered
4560484Sobrien * Code or modification with rights to further distribute source must include
4660484Sobrien * the above Copyright Notice, the above License, this list of Conditions,
4760484Sobrien * and the following Disclaimer and Export Compliance provision.  In addition,
4860484Sobrien * Licensee must cause all Covered Code to which Licensee contributes to
4960484Sobrien * contain a file documenting the changes Licensee made to create that Covered
5060484Sobrien * Code and the date of any change.  Licensee must include in that file the
5160484Sobrien * documentation of any changes made by any predecessor Licensee.  Licensee
5260484Sobrien * must include a prominent statement that the modification is derived,
5360484Sobrien * directly or indirectly, from Original Intel Code.
5460484Sobrien *
5560484Sobrien * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
5660484Sobrien * Redistribution of source code of any substantial portion of the Covered
5760484Sobrien * Code or modification without rights to further distribute source must
5860484Sobrien * include the following Disclaimer and Export Compliance provision in the
5960484Sobrien * documentation and/or other materials provided with distribution.  In
6060484Sobrien * addition, Licensee may not authorize further sublicense of source of any
6160484Sobrien * portion of the Covered Code, and must include terms to the effect that the
6260484Sobrien * license from Licensee to its licensee is limited to the intellectual
6360484Sobrien * property embodied in the software Licensee provides to its licensee, and
6460484Sobrien * not to intellectual property embodied in modifications its licensee may
6560484Sobrien * make.
6660484Sobrien *
6760484Sobrien * 3.3. Redistribution of Executable. Redistribution in executable form of any
6860484Sobrien * substantial portion of the Covered Code or modification must reproduce the
6960484Sobrien * above Copyright Notice, and the following Disclaimer and Export Compliance
7060484Sobrien * provision in the documentation and/or other materials provided with the
7160484Sobrien * distribution.
7260484Sobrien *
7360484Sobrien * 3.4. Intel retains all right, title, and interest in and to the Original
7460484Sobrien * Intel Code.
7560484Sobrien *
7660484Sobrien * 3.5. Neither the name Intel nor any other trademark owned or controlled by
7760484Sobrien * Intel shall be used in advertising or otherwise to promote the sale, use or
7860484Sobrien * other dealings in products derived from or relating to the Covered Code
7960484Sobrien * without prior written authorization from Intel.
8060484Sobrien *
8160484Sobrien * 4. Disclaimer and Export Compliance
8260484Sobrien *
8360484Sobrien * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
8460484Sobrien * HERE.  ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
8560484Sobrien * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT,  ASSISTANCE,
8660484Sobrien * INSTALLATION, TRAINING OR OTHER SERVICES.  INTEL WILL NOT PROVIDE ANY
8760484Sobrien * UPDATES, ENHANCEMENTS OR EXTENSIONS.  INTEL SPECIFICALLY DISCLAIMS ANY
8860484Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
8960484Sobrien * PARTICULAR PURPOSE.
9060484Sobrien *
9160484Sobrien * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
9260484Sobrien * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
9360484Sobrien * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
9460484Sobrien * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
9560484Sobrien * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
9660484Sobrien * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.  THESE LIMITATIONS
9760484Sobrien * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
9860484Sobrien * LIMITED REMEDY.
99218822Sdim *
10060484Sobrien * 4.3. Licensee shall not export, either directly or indirectly, any of this
10160484Sobrien * software or system incorporating such software without first obtaining any
10260484Sobrien * required license or other approval from the U. S. Department of Commerce or
10360484Sobrien * any other agency or department of the United States Government.  In the
10460484Sobrien * event Licensee exports any such software from the United States or
10560484Sobrien * re-exports any such software from a foreign destination, Licensee shall
10660484Sobrien * ensure that the distribution and export/re-export of the software is in
10760484Sobrien * compliance with all laws, regulations, orders, or other restrictions of the
10860484Sobrien * U.S. Export Administration Regulations. Licensee agrees that neither it nor
10960484Sobrien * any of its subsidiaries will export/re-export any technical data, process,
11060484Sobrien * software, or service, directly or indirectly, to any country for which the
11160484Sobrien * United States government or any agency thereof requires an export license,
11260484Sobrien * other governmental approval, or letter of assurance, without first obtaining
11360484Sobrien * such license, approval or letter.
11460484Sobrien *
11560484Sobrien *****************************************************************************/
11660484Sobrien
11760484Sobrien#ifndef __ACNAMESP_H__
11860484Sobrien#define __ACNAMESP_H__
11960484Sobrien
12060484Sobrien
12160484Sobrien/* To search the entire name space, pass this as SearchBase */
12260484Sobrien
12360484Sobrien#define NS_ALL                  ((ACPI_HANDLE)0)
12460484Sobrien
12560484Sobrien/*
12660484Sobrien * Elements of AcpiNsProperties are bit significant
12760484Sobrien * and should be one-to-one with values of ACPI_OBJECT_TYPE
12860484Sobrien */
12960484Sobrien#define NSP_NORMAL              0
13060484Sobrien#define NSP_NEWSCOPE            1   /* a definition of this type opens a name scope */
13160484Sobrien#define NSP_LOCAL               2   /* suppress search of enclosing scopes */
13260484Sobrien
13360484Sobrien
13460484Sobrien/* Definitions of the predefined namespace names  */
13560484Sobrien
13660484Sobrien#define ACPI_UNKNOWN_NAME       (UINT32) 0x3F3F3F3F     /* Unknown name is  "????" */
13760484Sobrien#define ACPI_ROOT_NAME          (UINT32) 0x2F202020     /* Root name is     "/   " */
13860484Sobrien#define ACPI_SYS_BUS_NAME       (UINT32) 0x5F53425F     /* Sys bus name is  "_SB_" */
13960484Sobrien
14060484Sobrien#define NS_ROOT_PATH            "/"
14160484Sobrien#define NS_SYSTEM_BUS           "_SB_"
14260484Sobrien
14360484Sobrien
14460484Sobrien/* Flags for AcpiNsLookup, AcpiNsSearchAndEnter */
14560484Sobrien
14660484Sobrien#define NS_NO_UPSEARCH          0
14760484Sobrien#define NS_SEARCH_PARENT        0x01
14889857Sobrien#define NS_DONT_OPEN_SCOPE      0x02
14960484Sobrien#define NS_NO_PEER_SEARCH       0x04
15060484Sobrien
15160484Sobrien#define NS_WALK_UNLOCK          TRUE
15260484Sobrien#define NS_WALK_NO_UNLOCK       FALSE
15360484Sobrien
154218822Sdim
15560484SobrienACPI_STATUS
15660484SobrienAcpiNsLoadNamespace (
15760484Sobrien    void);
15860484Sobrien
15960484SobrienACPI_STATUS
16060484SobrienAcpiNsInitializeObjects (
16160484Sobrien    void);
16260484Sobrien
16360484SobrienACPI_STATUS
16460484SobrienAcpiNsInitializeDevices (
16560484Sobrien    UINT32                  Flags);
16660484Sobrien
16760484Sobrien
16860484Sobrien/* Namespace init - nsxfinit */
16960484Sobrien
17060484SobrienACPI_STATUS
17160484SobrienAcpiNsInitOneDevice (
17260484Sobrien    ACPI_HANDLE             ObjHandle,
17360484Sobrien    UINT32                  NestingLevel,
174218822Sdim    void                    *Context,
17560484Sobrien    void                    **ReturnValue);
17660484Sobrien
17760484SobrienACPI_STATUS
17860484SobrienAcpiNsInitOneObject (
17960484Sobrien    ACPI_HANDLE             ObjHandle,
18060484Sobrien    UINT32                  Level,
18160484Sobrien    void                    *Context,
18260484Sobrien    void                    **ReturnValue);
183218822Sdim
18460484Sobrien
18560484SobrienACPI_STATUS
18660484SobrienAcpiNsWalkNamespace (
18760484Sobrien    OBJECT_TYPE_INTERNAL    Type,
18860484Sobrien    ACPI_HANDLE             StartObject,
18960484Sobrien    UINT32                  MaxDepth,
19060484Sobrien    BOOLEAN                 UnlockBeforeCallback,
19160484Sobrien    WALK_CALLBACK           UserFunction,
19260484Sobrien    void                    *Context,
19360484Sobrien    void                    **ReturnValue);
194218822Sdim
19560484Sobrien
196218822SdimACPI_NAMESPACE_NODE *
19760484SobrienAcpiNsGetNextObject (
19860484Sobrien    OBJECT_TYPE_INTERNAL    Type,
19960484Sobrien    ACPI_NAMESPACE_NODE     *Parent,
20060484Sobrien    ACPI_NAMESPACE_NODE     *Child);
20160484Sobrien
20260484Sobrien
20360484SobrienACPI_STATUS
20460484SobrienAcpiNsDeleteNamespaceByOwner (
20560484Sobrien    UINT16                  TableId);
20660484Sobrien
20760484Sobrien
20860484Sobrien/* Namespace loading - nsload */
20960484Sobrien
21060484SobrienACPI_STATUS
21160484SobrienAcpiNsOneCompleteParse (
21260484Sobrien    UINT32                  PassNumber,
21360484Sobrien    ACPI_TABLE_DESC         *TableDesc);
21460484Sobrien
21560484SobrienACPI_STATUS
21660484SobrienAcpiNsParseTable (
21760484Sobrien    ACPI_TABLE_DESC         *TableDesc,
21860484Sobrien    ACPI_NAMESPACE_NODE     *Scope);
21960484Sobrien
22060484SobrienACPI_STATUS
22160484SobrienAcpiNsLoadTable (
22260484Sobrien    ACPI_TABLE_DESC         *TableDesc,
22360484Sobrien    ACPI_NAMESPACE_NODE     *Node);
22460484Sobrien
22560484SobrienACPI_STATUS
22660484SobrienAcpiNsLoadTableByType (
22760484Sobrien    ACPI_TABLE_TYPE         TableType);
22860484Sobrien
22960484Sobrien
23060484Sobrien/*
23160484Sobrien * Top-level namespace access - nsaccess
23260484Sobrien */
23360484Sobrien
23460484Sobrien
23560484SobrienACPI_STATUS
23660484SobrienAcpiNsRootInitialize (
23760484Sobrien    void);
23860484Sobrien
23960484SobrienACPI_STATUS
24060484SobrienAcpiNsLookup (
24160484Sobrien    ACPI_GENERIC_STATE      *ScopeInfo,
24260484Sobrien    NATIVE_CHAR             *Name,
24360484Sobrien    OBJECT_TYPE_INTERNAL    Type,
24460484Sobrien    OPERATING_MODE          InterpreterMode,
24560484Sobrien    UINT32                  Flags,
24660484Sobrien    ACPI_WALK_STATE         *WalkState,
24760484Sobrien    ACPI_NAMESPACE_NODE     **RetNode);
24860484Sobrien
24960484Sobrien
25060484Sobrien/*
25160484Sobrien * Named object allocation/deallocation - nsalloc
25260484Sobrien */
25360484Sobrien
25460484Sobrien
25560484SobrienACPI_NAMESPACE_NODE *
25660484SobrienAcpiNsCreateNode (
25760484Sobrien    UINT32                  AcpiName);
258218822Sdim
25960484Sobrienvoid
26060484SobrienAcpiNsDeleteNode (
26160484Sobrien    ACPI_NAMESPACE_NODE     *Node);
262218822Sdim
263218822SdimACPI_STATUS
264218822SdimAcpiNsDeleteNamespaceSubtree (
26560484Sobrien    ACPI_NAMESPACE_NODE     *ParentHandle);
26660484Sobrien
26760484Sobrienvoid
268218822SdimAcpiNsDetachObject (
26960484Sobrien    ACPI_NAMESPACE_NODE     *Node);
270218822Sdim
27160484Sobrienvoid
272218822SdimAcpiNsDeleteChildren (
27360484Sobrien    ACPI_NAMESPACE_NODE     *Parent);
274218822Sdim
27560484Sobrien
27660484Sobrien/*
277218822Sdim * Namespace modification - nsmodify
278218822Sdim */
27960484Sobrien
28060484SobrienACPI_STATUS
28160484SobrienAcpiNsUnloadNamespace (
282218822Sdim    ACPI_HANDLE             Handle);
28360484Sobrien
28460484SobrienACPI_STATUS
28560484SobrienAcpiNsDeleteSubtree (
286218822Sdim    ACPI_HANDLE             StartHandle);
28760484Sobrien
28860484Sobrien
28960484Sobrien/*
29089857Sobrien * Namespace dump/print utilities - nsdump
29160484Sobrien */
29260484Sobrien
29360484Sobrienvoid
29460484SobrienAcpiNsDumpTables (
29560484Sobrien    ACPI_HANDLE             SearchBase,
29660484Sobrien    UINT32                  MaxDepth);
29760484Sobrien
29860484Sobrienvoid
29960484SobrienAcpiNsDumpEntry (
30060484Sobrien    ACPI_HANDLE             Handle,
30160484Sobrien    UINT32                  DebugLevel);
30260484Sobrien
30360484SobrienACPI_STATUS
30460484SobrienAcpiNsDumpPathname (
30560484Sobrien    ACPI_HANDLE             Handle,
30660484Sobrien    NATIVE_CHAR             *Msg,
30760484Sobrien    UINT32                  Level,
30860484Sobrien    UINT32                  Component);
30960484Sobrien
31060484Sobrienvoid
31160484SobrienAcpiNsDumpRootDevices (
31260484Sobrien    void);
31360484Sobrien
31460484Sobrienvoid
31560484SobrienAcpiNsDumpObjects (
31660484Sobrien    OBJECT_TYPE_INTERNAL    Type,
31760484Sobrien    UINT32                  MaxDepth,
31860484Sobrien    UINT32                  OwnderId,
31960484Sobrien    ACPI_HANDLE             StartHandle);
32060484Sobrien
32160484Sobrien
32260484Sobrien/*
32360484Sobrien * Namespace evaluation functions - nseval
32460484Sobrien */
32560484Sobrien
32660484SobrienACPI_STATUS
32760484SobrienAcpiNsEvaluateByHandle (
32860484Sobrien    ACPI_NAMESPACE_NODE     *PrefixNode,
32960484Sobrien    ACPI_OPERAND_OBJECT     **Params,
33060484Sobrien    ACPI_OPERAND_OBJECT     **ReturnObject);
33160484Sobrien
33260484SobrienACPI_STATUS
33360484SobrienAcpiNsEvaluateByName (
33460484Sobrien    NATIVE_CHAR             *Pathname,
33560484Sobrien    ACPI_OPERAND_OBJECT     **Params,
33660484Sobrien    ACPI_OPERAND_OBJECT     **ReturnObject);
33760484Sobrien
33860484SobrienACPI_STATUS
33960484SobrienAcpiNsEvaluateRelative (
34060484Sobrien    ACPI_NAMESPACE_NODE     *PrefixNode,
34160484Sobrien    NATIVE_CHAR             *Pathname,
34260484Sobrien    ACPI_OPERAND_OBJECT     **Params,
34360484Sobrien    ACPI_OPERAND_OBJECT     **ReturnObject);
34460484Sobrien
34560484SobrienACPI_STATUS
34660484SobrienAcpiNsExecuteControlMethod (
34760484Sobrien    ACPI_NAMESPACE_NODE     *MethodNode,
34860484Sobrien    ACPI_OPERAND_OBJECT     **Params,
34960484Sobrien    ACPI_OPERAND_OBJECT     **ReturnObjDesc);
35060484Sobrien
35160484SobrienACPI_STATUS
35260484SobrienAcpiNsGetObjectValue (
35360484Sobrien    ACPI_NAMESPACE_NODE     *ObjectNode,
35460484Sobrien    ACPI_OPERAND_OBJECT     **ReturnObjDesc);
35560484Sobrien
35660484Sobrien
35760484Sobrien/*
35860484Sobrien * Parent/Child/Peer utility functions - nsfamily
35960484Sobrien */
36060484Sobrien
36160484SobrienACPI_NAME
36260484SobrienAcpiNsFindParentName (
36360484Sobrien    ACPI_NAMESPACE_NODE     *NodeToSearch);
36460484Sobrien
36560484SobrienBOOLEAN
36660484SobrienAcpiNsExistDownstreamSibling (
36760484Sobrien    ACPI_NAMESPACE_NODE     *ThisNode);
36860484Sobrien
36960484Sobrien
37060484Sobrien/*
37160484Sobrien * Scope manipulation - nsscope
37260484Sobrien */
37360484Sobrien
37460484SobrienUINT32
37560484SobrienAcpiNsOpensScope (
37660484Sobrien    OBJECT_TYPE_INTERNAL    Type);
37760484Sobrien
37860484SobrienNATIVE_CHAR *
37960484SobrienAcpiNsGetTablePathname (
38060484Sobrien    ACPI_NAMESPACE_NODE     *Node);
38160484Sobrien
38260484SobrienNATIVE_CHAR *
38360484SobrienAcpiNsNameOfCurrentScope (
38460484Sobrien    ACPI_WALK_STATE         *WalkState);
38560484Sobrien
38660484SobrienACPI_STATUS
38760484SobrienAcpiNsHandleToPathname (
38860484Sobrien    ACPI_HANDLE             ObjHandle,
38960484Sobrien    UINT32                  *BufSize,
39060484Sobrien    NATIVE_CHAR             *UserBuffer);
39160484Sobrien
39260484SobrienBOOLEAN
39360484SobrienAcpiNsPatternMatch (
39460484Sobrien    ACPI_NAMESPACE_NODE     *ObjNode,
39560484Sobrien    NATIVE_CHAR             *SearchFor);
39660484Sobrien
39760484SobrienACPI_STATUS
39860484SobrienAcpiNsNameCompare (
39960484Sobrien    ACPI_HANDLE             ObjHandle,
40060484Sobrien    UINT32                  Level,
40160484Sobrien    void                    *Context,
40260484Sobrien    void                    **ReturnValue);
40360484Sobrien
40460484SobrienACPI_STATUS
40560484SobrienAcpiNsGetNode (
40660484Sobrien    NATIVE_CHAR             *Pathname,
40760484Sobrien    ACPI_NAMESPACE_NODE     *InPrefixNode,
40860484Sobrien    ACPI_NAMESPACE_NODE     **OutNode);
40960484Sobrien
41060484Sobrien/*
41160484Sobrien * Object management for NTEs - nsobject
41260484Sobrien */
41360484Sobrien
41460484SobrienACPI_STATUS
41560484SobrienAcpiNsAttachObject (
41660484Sobrien    ACPI_NAMESPACE_NODE     *Node,
41760484Sobrien    ACPI_OPERAND_OBJECT     *Object,
41860484Sobrien    OBJECT_TYPE_INTERNAL    Type);
41960484Sobrien
42060484Sobrien
42160484Sobrienvoid *
42260484SobrienAcpiNsCompareValue (
42360484Sobrien    ACPI_HANDLE             ObjHandle,
42460484Sobrien    UINT32                  Level,
42560484Sobrien    void                    *ObjDesc);
42660484Sobrien
42760484Sobrien
42860484Sobrien/*
42960484Sobrien * Namespace searching and entry - nssearch
43060484Sobrien */
43160484Sobrien
432218822SdimACPI_STATUS
433218822SdimAcpiNsSearchAndEnter (
43460484Sobrien    UINT32                  EntryName,
43560484Sobrien    ACPI_WALK_STATE         *WalkState,
43660484Sobrien    ACPI_NAMESPACE_NODE     *Node,
43760484Sobrien    OPERATING_MODE          InterpreterMode,
43860484Sobrien    OBJECT_TYPE_INTERNAL    Type,
43960484Sobrien    UINT32                  Flags,
44060484Sobrien    ACPI_NAMESPACE_NODE     **RetNode);
44160484Sobrien
442218822SdimACPI_STATUS
44360484SobrienAcpiNsSearchNode (
44460484Sobrien    UINT32                  EntryName,
44560484Sobrien    ACPI_NAMESPACE_NODE     *Node,
44660484Sobrien    OBJECT_TYPE_INTERNAL    Type,
44760484Sobrien    ACPI_NAMESPACE_NODE     **RetNode);
44860484Sobrien
44960484Sobrienvoid
45060484SobrienAcpiNsInstallNode (
45160484Sobrien    ACPI_WALK_STATE         *WalkState,
452218822Sdim    ACPI_NAMESPACE_NODE     *ParentNode,    /* Parent */
45360484Sobrien    ACPI_NAMESPACE_NODE     *Node,      /* New Child*/
45460484Sobrien    OBJECT_TYPE_INTERNAL    Type);
45560484Sobrien
45660484Sobrien
45760484Sobrien/*
45860484Sobrien * Utility functions - nsutils
45960484Sobrien */
46060484Sobrien
46160484SobrienBOOLEAN
46260484SobrienAcpiNsValidRootPrefix (
46360484Sobrien    NATIVE_CHAR             Prefix);
46460484Sobrien
46560484SobrienBOOLEAN
46660484SobrienAcpiNsValidPathSeparator (
46760484Sobrien    NATIVE_CHAR             Sep);
46860484Sobrien
46960484SobrienOBJECT_TYPE_INTERNAL
47060484SobrienAcpiNsGetType (
47160484Sobrien    ACPI_HANDLE             ObjHandle);
47260484Sobrien
47360484Sobrienvoid *
47460484SobrienAcpiNsGetAttachedObject (
475218822Sdim    ACPI_HANDLE             ObjHandle);
47660484Sobrien
47760484SobrienUINT32
47860484SobrienAcpiNsLocal (
47960484Sobrien    OBJECT_TYPE_INTERNAL    Type);
48060484Sobrien
48160484SobrienACPI_STATUS
48260484SobrienAcpiNsInternalizeName (
48360484Sobrien    NATIVE_CHAR             *DottedName,
48460484Sobrien    NATIVE_CHAR             **ConvertedName);
48560484Sobrien
48660484SobrienACPI_STATUS
48760484SobrienAcpiNsExternalizeName (
48860484Sobrien    UINT32                  InternalNameLength,
48960484Sobrien    NATIVE_CHAR             *InternalName,
49060484Sobrien    UINT32                  *ConvertedNameLength,
49160484Sobrien    NATIVE_CHAR             **ConvertedName);
49260484Sobrien
49360484SobrienACPI_NAMESPACE_NODE *
49460484SobrienAcpiNsConvertHandleToEntry (
49560484Sobrien    ACPI_HANDLE             Handle);
49660484Sobrien
49760484SobrienACPI_HANDLE
49860484SobrienAcpiNsConvertEntryToHandle(
49960484Sobrien    ACPI_NAMESPACE_NODE     *Node);
50060484Sobrien
50160484Sobrienvoid
50289857SobrienAcpiNsTerminate (
50360484Sobrien    void);
50460484Sobrien
50560484SobrienACPI_NAMESPACE_NODE *
50660484SobrienAcpiNsGetParentObject (
50760484Sobrien    ACPI_NAMESPACE_NODE     *Node);
50860484Sobrien
50960484Sobrien
51060484SobrienACPI_NAMESPACE_NODE *
51160484SobrienAcpiNsGetNextValidObject (
51260484Sobrien    ACPI_NAMESPACE_NODE     *Node);
51360484Sobrien
51460484Sobrien
51560484Sobrien#endif /* __ACNAMESP_H__ */
51660484Sobrien