acnamesp.h 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627
  1. /******************************************************************************
  2. *
  3. * Name: acnamesp.h - Namespace subcomponent prototypes and defines
  4. *
  5. *****************************************************************************/
  6. /******************************************************************************
  7. *
  8. * 1. Copyright Notice
  9. *
  10. * Some or all of this work - Copyright (c) 1999 - 2016, Intel Corp.
  11. * All rights reserved.
  12. *
  13. * 2. License
  14. *
  15. * 2.1. This is your license from Intel Corp. under its intellectual property
  16. * rights. You may have additional license terms from the party that provided
  17. * you this software, covering your right to use that party's intellectual
  18. * property rights.
  19. *
  20. * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
  21. * copy of the source code appearing in this file ("Covered Code") an
  22. * irrevocable, perpetual, worldwide license under Intel's copyrights in the
  23. * base code distributed originally by Intel ("Original Intel Code") to copy,
  24. * make derivatives, distribute, use and display any portion of the Covered
  25. * Code in any form, with the right to sublicense such rights; and
  26. *
  27. * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
  28. * license (with the right to sublicense), under only those claims of Intel
  29. * patents that are infringed by the Original Intel Code, to make, use, sell,
  30. * offer to sell, and import the Covered Code and derivative works thereof
  31. * solely to the minimum extent necessary to exercise the above copyright
  32. * license, and in no event shall the patent license extend to any additions
  33. * to or modifications of the Original Intel Code. No other license or right
  34. * is granted directly or by implication, estoppel or otherwise;
  35. *
  36. * The above copyright and patent license is granted only if the following
  37. * conditions are met:
  38. *
  39. * 3. Conditions
  40. *
  41. * 3.1. Redistribution of Source with Rights to Further Distribute Source.
  42. * Redistribution of source code of any substantial portion of the Covered
  43. * Code or modification with rights to further distribute source must include
  44. * the above Copyright Notice, the above License, this list of Conditions,
  45. * and the following Disclaimer and Export Compliance provision. In addition,
  46. * Licensee must cause all Covered Code to which Licensee contributes to
  47. * contain a file documenting the changes Licensee made to create that Covered
  48. * Code and the date of any change. Licensee must include in that file the
  49. * documentation of any changes made by any predecessor Licensee. Licensee
  50. * must include a prominent statement that the modification is derived,
  51. * directly or indirectly, from Original Intel Code.
  52. *
  53. * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
  54. * Redistribution of source code of any substantial portion of the Covered
  55. * Code or modification without rights to further distribute source must
  56. * include the following Disclaimer and Export Compliance provision in the
  57. * documentation and/or other materials provided with distribution. In
  58. * addition, Licensee may not authorize further sublicense of source of any
  59. * portion of the Covered Code, and must include terms to the effect that the
  60. * license from Licensee to its licensee is limited to the intellectual
  61. * property embodied in the software Licensee provides to its licensee, and
  62. * not to intellectual property embodied in modifications its licensee may
  63. * make.
  64. *
  65. * 3.3. Redistribution of Executable. Redistribution in executable form of any
  66. * substantial portion of the Covered Code or modification must reproduce the
  67. * above Copyright Notice, and the following Disclaimer and Export Compliance
  68. * provision in the documentation and/or other materials provided with the
  69. * distribution.
  70. *
  71. * 3.4. Intel retains all right, title, and interest in and to the Original
  72. * Intel Code.
  73. *
  74. * 3.5. Neither the name Intel nor any other trademark owned or controlled by
  75. * Intel shall be used in advertising or otherwise to promote the sale, use or
  76. * other dealings in products derived from or relating to the Covered Code
  77. * without prior written authorization from Intel.
  78. *
  79. * 4. Disclaimer and Export Compliance
  80. *
  81. * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
  82. * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
  83. * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
  84. * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
  85. * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
  86. * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
  87. * PARTICULAR PURPOSE.
  88. *
  89. * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
  90. * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
  91. * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
  92. * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
  93. * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
  94. * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
  95. * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
  96. * LIMITED REMEDY.
  97. *
  98. * 4.3. Licensee shall not export, either directly or indirectly, any of this
  99. * software or system incorporating such software without first obtaining any
  100. * required license or other approval from the U. S. Department of Commerce or
  101. * any other agency or department of the United States Government. In the
  102. * event Licensee exports any such software from the United States or
  103. * re-exports any such software from a foreign destination, Licensee shall
  104. * ensure that the distribution and export/re-export of the software is in
  105. * compliance with all laws, regulations, orders, or other restrictions of the
  106. * U.S. Export Administration Regulations. Licensee agrees that neither it nor
  107. * any of its subsidiaries will export/re-export any technical data, process,
  108. * software, or service, directly or indirectly, to any country for which the
  109. * United States government or any agency thereof requires an export license,
  110. * other governmental approval, or letter of assurance, without first obtaining
  111. * such license, approval or letter.
  112. *
  113. *****************************************************************************/
  114. #ifndef __ACNAMESP_H__
  115. #define __ACNAMESP_H__
  116. /* To search the entire name space, pass this as SearchBase */
  117. #define ACPI_NS_ALL ((ACPI_HANDLE)0)
  118. /*
  119. * Elements of AcpiNsProperties are bit significant
  120. * and should be one-to-one with values of ACPI_OBJECT_TYPE
  121. */
  122. #define ACPI_NS_NORMAL 0
  123. #define ACPI_NS_NEWSCOPE 1 /* a definition of this type opens a name scope */
  124. #define ACPI_NS_LOCAL 2 /* suppress search of enclosing scopes */
  125. /* Flags for AcpiNsLookup, AcpiNsSearchAndEnter */
  126. #define ACPI_NS_NO_UPSEARCH 0
  127. #define ACPI_NS_SEARCH_PARENT 0x01
  128. #define ACPI_NS_DONT_OPEN_SCOPE 0x02
  129. #define ACPI_NS_NO_PEER_SEARCH 0x04
  130. #define ACPI_NS_ERROR_IF_FOUND 0x08
  131. #define ACPI_NS_PREFIX_IS_SCOPE 0x10
  132. #define ACPI_NS_EXTERNAL 0x20
  133. #define ACPI_NS_TEMPORARY 0x40
  134. #define ACPI_NS_OVERRIDE_IF_FOUND 0x80
  135. /* Flags for AcpiNsWalkNamespace */
  136. #define ACPI_NS_WALK_NO_UNLOCK 0
  137. #define ACPI_NS_WALK_UNLOCK 0x01
  138. #define ACPI_NS_WALK_TEMP_NODES 0x02
  139. /* Object is not a package element */
  140. #define ACPI_NOT_PACKAGE_ELEMENT ACPI_UINT32_MAX
  141. #define ACPI_ALL_PACKAGE_ELEMENTS (ACPI_UINT32_MAX-1)
  142. /* Always emit warning message, not dependent on node flags */
  143. #define ACPI_WARN_ALWAYS 0
  144. /*
  145. * nsinit - Namespace initialization
  146. */
  147. ACPI_STATUS
  148. AcpiNsInitializeObjects (
  149. void);
  150. ACPI_STATUS
  151. AcpiNsInitializeDevices (
  152. UINT32 Flags);
  153. /*
  154. * nsload - Namespace loading
  155. */
  156. ACPI_STATUS
  157. AcpiNsLoadNamespace (
  158. void);
  159. ACPI_STATUS
  160. AcpiNsLoadTable (
  161. UINT32 TableIndex,
  162. ACPI_NAMESPACE_NODE *Node);
  163. /*
  164. * nswalk - walk the namespace
  165. */
  166. ACPI_STATUS
  167. AcpiNsWalkNamespace (
  168. ACPI_OBJECT_TYPE Type,
  169. ACPI_HANDLE StartObject,
  170. UINT32 MaxDepth,
  171. UINT32 Flags,
  172. ACPI_WALK_CALLBACK DescendingCallback,
  173. ACPI_WALK_CALLBACK AscendingCallback,
  174. void *Context,
  175. void **ReturnValue);
  176. ACPI_NAMESPACE_NODE *
  177. AcpiNsGetNextNode (
  178. ACPI_NAMESPACE_NODE *Parent,
  179. ACPI_NAMESPACE_NODE *Child);
  180. ACPI_NAMESPACE_NODE *
  181. AcpiNsGetNextNodeTyped (
  182. ACPI_OBJECT_TYPE Type,
  183. ACPI_NAMESPACE_NODE *Parent,
  184. ACPI_NAMESPACE_NODE *Child);
  185. /*
  186. * nsparse - table parsing
  187. */
  188. ACPI_STATUS
  189. AcpiNsParseTable (
  190. UINT32 TableIndex,
  191. ACPI_NAMESPACE_NODE *StartNode);
  192. ACPI_STATUS
  193. AcpiNsOneCompleteParse (
  194. UINT32 PassNumber,
  195. UINT32 TableIndex,
  196. ACPI_NAMESPACE_NODE *StartNode);
  197. /*
  198. * nsaccess - Top-level namespace access
  199. */
  200. ACPI_STATUS
  201. AcpiNsRootInitialize (
  202. void);
  203. ACPI_STATUS
  204. AcpiNsLookup (
  205. ACPI_GENERIC_STATE *ScopeInfo,
  206. char *Name,
  207. ACPI_OBJECT_TYPE Type,
  208. ACPI_INTERPRETER_MODE InterpreterMode,
  209. UINT32 Flags,
  210. ACPI_WALK_STATE *WalkState,
  211. ACPI_NAMESPACE_NODE **RetNode);
  212. /*
  213. * nsalloc - Named object allocation/deallocation
  214. */
  215. ACPI_NAMESPACE_NODE *
  216. AcpiNsCreateNode (
  217. UINT32 Name);
  218. void
  219. AcpiNsDeleteNode (
  220. ACPI_NAMESPACE_NODE *Node);
  221. void
  222. AcpiNsRemoveNode (
  223. ACPI_NAMESPACE_NODE *Node);
  224. void
  225. AcpiNsDeleteNamespaceSubtree (
  226. ACPI_NAMESPACE_NODE *ParentHandle);
  227. void
  228. AcpiNsDeleteNamespaceByOwner (
  229. ACPI_OWNER_ID OwnerId);
  230. void
  231. AcpiNsDetachObject (
  232. ACPI_NAMESPACE_NODE *Node);
  233. void
  234. AcpiNsDeleteChildren (
  235. ACPI_NAMESPACE_NODE *Parent);
  236. int
  237. AcpiNsCompareNames (
  238. char *Name1,
  239. char *Name2);
  240. /*
  241. * nsconvert - Dynamic object conversion routines
  242. */
  243. ACPI_STATUS
  244. AcpiNsConvertToInteger (
  245. ACPI_OPERAND_OBJECT *OriginalObject,
  246. ACPI_OPERAND_OBJECT **ReturnObject);
  247. ACPI_STATUS
  248. AcpiNsConvertToString (
  249. ACPI_OPERAND_OBJECT *OriginalObject,
  250. ACPI_OPERAND_OBJECT **ReturnObject);
  251. ACPI_STATUS
  252. AcpiNsConvertToBuffer (
  253. ACPI_OPERAND_OBJECT *OriginalObject,
  254. ACPI_OPERAND_OBJECT **ReturnObject);
  255. ACPI_STATUS
  256. AcpiNsConvertToUnicode (
  257. ACPI_NAMESPACE_NODE *Scope,
  258. ACPI_OPERAND_OBJECT *OriginalObject,
  259. ACPI_OPERAND_OBJECT **ReturnObject);
  260. ACPI_STATUS
  261. AcpiNsConvertToResource (
  262. ACPI_NAMESPACE_NODE *Scope,
  263. ACPI_OPERAND_OBJECT *OriginalObject,
  264. ACPI_OPERAND_OBJECT **ReturnObject);
  265. ACPI_STATUS
  266. AcpiNsConvertToReference (
  267. ACPI_NAMESPACE_NODE *Scope,
  268. ACPI_OPERAND_OBJECT *OriginalObject,
  269. ACPI_OPERAND_OBJECT **ReturnObject);
  270. /*
  271. * nsdump - Namespace dump/print utilities
  272. */
  273. void
  274. AcpiNsDumpTables (
  275. ACPI_HANDLE SearchBase,
  276. UINT32 MaxDepth);
  277. void
  278. AcpiNsDumpEntry (
  279. ACPI_HANDLE Handle,
  280. UINT32 DebugLevel);
  281. void
  282. AcpiNsDumpPathname (
  283. ACPI_HANDLE Handle,
  284. const char *Msg,
  285. UINT32 Level,
  286. UINT32 Component);
  287. void
  288. AcpiNsPrintPathname (
  289. UINT32 NumSegments,
  290. const char *Pathname);
  291. ACPI_STATUS
  292. AcpiNsDumpOneObject (
  293. ACPI_HANDLE ObjHandle,
  294. UINT32 Level,
  295. void *Context,
  296. void **ReturnValue);
  297. void
  298. AcpiNsDumpObjects (
  299. ACPI_OBJECT_TYPE Type,
  300. UINT8 DisplayType,
  301. UINT32 MaxDepth,
  302. ACPI_OWNER_ID OwnerId,
  303. ACPI_HANDLE StartHandle);
  304. void
  305. AcpiNsDumpObjectPaths (
  306. ACPI_OBJECT_TYPE Type,
  307. UINT8 DisplayType,
  308. UINT32 MaxDepth,
  309. ACPI_OWNER_ID OwnerId,
  310. ACPI_HANDLE StartHandle);
  311. /*
  312. * nseval - Namespace evaluation functions
  313. */
  314. ACPI_STATUS
  315. AcpiNsEvaluate (
  316. ACPI_EVALUATE_INFO *Info);
  317. void
  318. AcpiNsExecModuleCodeList (
  319. void);
  320. /*
  321. * nsarguments - Argument count/type checking for predefined/reserved names
  322. */
  323. void
  324. AcpiNsCheckArgumentCount (
  325. char *Pathname,
  326. ACPI_NAMESPACE_NODE *Node,
  327. UINT32 UserParamCount,
  328. const ACPI_PREDEFINED_INFO *Info);
  329. void
  330. AcpiNsCheckAcpiCompliance (
  331. char *Pathname,
  332. ACPI_NAMESPACE_NODE *Node,
  333. const ACPI_PREDEFINED_INFO *Predefined);
  334. void
  335. AcpiNsCheckArgumentTypes (
  336. ACPI_EVALUATE_INFO *Info);
  337. /*
  338. * nspredef - Return value checking for predefined/reserved names
  339. */
  340. ACPI_STATUS
  341. AcpiNsCheckReturnValue (
  342. ACPI_NAMESPACE_NODE *Node,
  343. ACPI_EVALUATE_INFO *Info,
  344. UINT32 UserParamCount,
  345. ACPI_STATUS ReturnStatus,
  346. ACPI_OPERAND_OBJECT **ReturnObject);
  347. ACPI_STATUS
  348. AcpiNsCheckObjectType (
  349. ACPI_EVALUATE_INFO *Info,
  350. ACPI_OPERAND_OBJECT **ReturnObjectPtr,
  351. UINT32 ExpectedBtypes,
  352. UINT32 PackageIndex);
  353. /*
  354. * nsprepkg - Validation of predefined name packages
  355. */
  356. ACPI_STATUS
  357. AcpiNsCheckPackage (
  358. ACPI_EVALUATE_INFO *Info,
  359. ACPI_OPERAND_OBJECT **ReturnObjectPtr);
  360. /*
  361. * nsnames - Name and Scope manipulation
  362. */
  363. UINT32
  364. AcpiNsOpensScope (
  365. ACPI_OBJECT_TYPE Type);
  366. char *
  367. AcpiNsGetExternalPathname (
  368. ACPI_NAMESPACE_NODE *Node);
  369. UINT32
  370. AcpiNsBuildNormalizedPath (
  371. ACPI_NAMESPACE_NODE *Node,
  372. char *FullPath,
  373. UINT32 PathSize,
  374. BOOLEAN NoTrailing);
  375. char *
  376. AcpiNsGetNormalizedPathname (
  377. ACPI_NAMESPACE_NODE *Node,
  378. BOOLEAN NoTrailing);
  379. char *
  380. AcpiNsNameOfCurrentScope (
  381. ACPI_WALK_STATE *WalkState);
  382. ACPI_STATUS
  383. AcpiNsHandleToPathname (
  384. ACPI_HANDLE TargetHandle,
  385. ACPI_BUFFER *Buffer,
  386. BOOLEAN NoTrailing);
  387. BOOLEAN
  388. AcpiNsPatternMatch (
  389. ACPI_NAMESPACE_NODE *ObjNode,
  390. char *SearchFor);
  391. ACPI_STATUS
  392. AcpiNsGetNode (
  393. ACPI_NAMESPACE_NODE *PrefixNode,
  394. const char *ExternalPathname,
  395. UINT32 Flags,
  396. ACPI_NAMESPACE_NODE **OutNode);
  397. ACPI_SIZE
  398. AcpiNsGetPathnameLength (
  399. ACPI_NAMESPACE_NODE *Node);
  400. /*
  401. * nsobject - Object management for namespace nodes
  402. */
  403. ACPI_STATUS
  404. AcpiNsAttachObject (
  405. ACPI_NAMESPACE_NODE *Node,
  406. ACPI_OPERAND_OBJECT *Object,
  407. ACPI_OBJECT_TYPE Type);
  408. ACPI_OPERAND_OBJECT *
  409. AcpiNsGetAttachedObject (
  410. ACPI_NAMESPACE_NODE *Node);
  411. ACPI_OPERAND_OBJECT *
  412. AcpiNsGetSecondaryObject (
  413. ACPI_OPERAND_OBJECT *ObjDesc);
  414. ACPI_STATUS
  415. AcpiNsAttachData (
  416. ACPI_NAMESPACE_NODE *Node,
  417. ACPI_OBJECT_HANDLER Handler,
  418. void *Data);
  419. ACPI_STATUS
  420. AcpiNsDetachData (
  421. ACPI_NAMESPACE_NODE *Node,
  422. ACPI_OBJECT_HANDLER Handler);
  423. ACPI_STATUS
  424. AcpiNsGetAttachedData (
  425. ACPI_NAMESPACE_NODE *Node,
  426. ACPI_OBJECT_HANDLER Handler,
  427. void **Data);
  428. /*
  429. * nsrepair - General return object repair for all
  430. * predefined methods/objects
  431. */
  432. ACPI_STATUS
  433. AcpiNsSimpleRepair (
  434. ACPI_EVALUATE_INFO *Info,
  435. UINT32 ExpectedBtypes,
  436. UINT32 PackageIndex,
  437. ACPI_OPERAND_OBJECT **ReturnObjectPtr);
  438. ACPI_STATUS
  439. AcpiNsWrapWithPackage (
  440. ACPI_EVALUATE_INFO *Info,
  441. ACPI_OPERAND_OBJECT *OriginalObject,
  442. ACPI_OPERAND_OBJECT **ObjDescPtr);
  443. ACPI_STATUS
  444. AcpiNsRepairNullElement (
  445. ACPI_EVALUATE_INFO *Info,
  446. UINT32 ExpectedBtypes,
  447. UINT32 PackageIndex,
  448. ACPI_OPERAND_OBJECT **ReturnObjectPtr);
  449. void
  450. AcpiNsRemoveNullElements (
  451. ACPI_EVALUATE_INFO *Info,
  452. UINT8 PackageType,
  453. ACPI_OPERAND_OBJECT *ObjDesc);
  454. /*
  455. * nsrepair2 - Return object repair for specific
  456. * predefined methods/objects
  457. */
  458. ACPI_STATUS
  459. AcpiNsComplexRepairs (
  460. ACPI_EVALUATE_INFO *Info,
  461. ACPI_NAMESPACE_NODE *Node,
  462. ACPI_STATUS ValidateStatus,
  463. ACPI_OPERAND_OBJECT **ReturnObjectPtr);
  464. /*
  465. * nssearch - Namespace searching and entry
  466. */
  467. ACPI_STATUS
  468. AcpiNsSearchAndEnter (
  469. UINT32 EntryName,
  470. ACPI_WALK_STATE *WalkState,
  471. ACPI_NAMESPACE_NODE *Node,
  472. ACPI_INTERPRETER_MODE InterpreterMode,
  473. ACPI_OBJECT_TYPE Type,
  474. UINT32 Flags,
  475. ACPI_NAMESPACE_NODE **RetNode);
  476. ACPI_STATUS
  477. AcpiNsSearchOneScope (
  478. UINT32 EntryName,
  479. ACPI_NAMESPACE_NODE *Node,
  480. ACPI_OBJECT_TYPE Type,
  481. ACPI_NAMESPACE_NODE **RetNode);
  482. void
  483. AcpiNsInstallNode (
  484. ACPI_WALK_STATE *WalkState,
  485. ACPI_NAMESPACE_NODE *ParentNode,
  486. ACPI_NAMESPACE_NODE *Node,
  487. ACPI_OBJECT_TYPE Type);
  488. /*
  489. * nsutils - Utility functions
  490. */
  491. ACPI_OBJECT_TYPE
  492. AcpiNsGetType (
  493. ACPI_NAMESPACE_NODE *Node);
  494. UINT32
  495. AcpiNsLocal (
  496. ACPI_OBJECT_TYPE Type);
  497. void
  498. AcpiNsPrintNodePathname (
  499. ACPI_NAMESPACE_NODE *Node,
  500. const char *Msg);
  501. ACPI_STATUS
  502. AcpiNsBuildInternalName (
  503. ACPI_NAMESTRING_INFO *Info);
  504. void
  505. AcpiNsGetInternalNameLength (
  506. ACPI_NAMESTRING_INFO *Info);
  507. ACPI_STATUS
  508. AcpiNsInternalizeName (
  509. const char *DottedName,
  510. char **ConvertedName);
  511. ACPI_STATUS
  512. AcpiNsExternalizeName (
  513. UINT32 InternalNameLength,
  514. const char *InternalName,
  515. UINT32 *ConvertedNameLength,
  516. char **ConvertedName);
  517. ACPI_NAMESPACE_NODE *
  518. AcpiNsValidateHandle (
  519. ACPI_HANDLE Handle);
  520. void
  521. AcpiNsTerminate (
  522. void);
  523. #endif /* __ACNAMESP_H__ */