acnames.h revision 281075
1203287Srnoland/******************************************************************************
2203287Srnoland *
3203287Srnoland * Name: acnames.h - Global names and strings
4203287Srnoland *
5203287Srnoland *****************************************************************************/
6203287Srnoland
7203287Srnoland/*
8203287Srnoland * Copyright (C) 2000 - 2015, Intel Corp.
9203287Srnoland * All rights reserved.
10203287Srnoland *
11203287Srnoland * Redistribution and use in source and binary forms, with or without
12203287Srnoland * modification, are permitted provided that the following conditions
13203287Srnoland * are met:
14203287Srnoland * 1. Redistributions of source code must retain the above copyright
15203287Srnoland *    notice, this list of conditions, and the following disclaimer,
16203287Srnoland *    without modification.
17203287Srnoland * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18203287Srnoland *    substantially similar to the "NO WARRANTY" disclaimer below
19203287Srnoland *    ("Disclaimer") and any redistribution must be conditioned upon
20203287Srnoland *    including a substantially similar Disclaimer requirement for further
21203287Srnoland *    binary redistribution.
22203287Srnoland * 3. Neither the names of the above-listed copyright holders nor the names
23203287Srnoland *    of any contributors may be used to endorse or promote products derived
24203287Srnoland *    from this software without specific prior written permission.
25203287Srnoland *
26203287Srnoland * Alternatively, this software may be distributed under the terms of the
27203287Srnoland * GNU General Public License ("GPL") version 2 as published by the Free
28203287Srnoland * Software Foundation.
29203287Srnoland *
30203287Srnoland * NO WARRANTY
31203287Srnoland * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32203287Srnoland * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33203287Srnoland * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34203287Srnoland * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35203287Srnoland * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36203287Srnoland * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37203287Srnoland * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38203287Srnoland * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39203287Srnoland * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40203287Srnoland * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41203287Srnoland * POSSIBILITY OF SUCH DAMAGES.
42203287Srnoland */
43203287Srnoland
44203287Srnoland#ifndef __ACNAMES_H__
45203287Srnoland#define __ACNAMES_H__
46203287Srnoland
47203287Srnoland/* Method names - these methods can appear anywhere in the namespace */
48203287Srnoland
49203287Srnoland#define METHOD_NAME__ADR        "_ADR"
50203287Srnoland#define METHOD_NAME__AEI        "_AEI"
51203287Srnoland#define METHOD_NAME__BBN        "_BBN"
52203287Srnoland#define METHOD_NAME__CBA        "_CBA"
53203287Srnoland#define METHOD_NAME__CID        "_CID"
54203287Srnoland#define METHOD_NAME__CRS        "_CRS"
55203287Srnoland#define METHOD_NAME__DDN        "_DDN"
56203287Srnoland#define METHOD_NAME__HID        "_HID"
57203287Srnoland#define METHOD_NAME__INI        "_INI"
58203287Srnoland#define METHOD_NAME__PLD        "_PLD"
59203287Srnoland#define METHOD_NAME__DSD        "_DSD"
60203287Srnoland#define METHOD_NAME__PRS        "_PRS"
61203287Srnoland#define METHOD_NAME__PRT        "_PRT"
62203287Srnoland#define METHOD_NAME__PRW        "_PRW"
63203287Srnoland#define METHOD_NAME__PS0        "_PS0"
64203287Srnoland#define METHOD_NAME__PS1        "_PS1"
65203287Srnoland#define METHOD_NAME__PS2        "_PS2"
66203287Srnoland#define METHOD_NAME__PS3        "_PS3"
67203287Srnoland#define METHOD_NAME__REG        "_REG"
68203287Srnoland#define METHOD_NAME__SB_        "_SB_"
69203287Srnoland#define METHOD_NAME__SEG        "_SEG"
70203287Srnoland#define METHOD_NAME__SRS        "_SRS"
71203287Srnoland#define METHOD_NAME__STA        "_STA"
72203287Srnoland#define METHOD_NAME__SUB        "_SUB"
73203287Srnoland#define METHOD_NAME__UID        "_UID"
74203287Srnoland
75203287Srnoland/* Method names - these methods must appear at the namespace root */
76203287Srnoland
77203287Srnoland#define METHOD_PATHNAME__PTS    "\\_PTS"
78203287Srnoland#define METHOD_PATHNAME__SST    "\\_SI._SST"
79203287Srnoland#define METHOD_PATHNAME__WAK    "\\_WAK"
80203287Srnoland
81203287Srnoland/* Definitions of the predefined namespace names  */
82203287Srnoland
83203287Srnoland#define ACPI_UNKNOWN_NAME       (UINT32) 0x3F3F3F3F     /* Unknown name is "????" */
84203287Srnoland#define ACPI_ROOT_NAME          (UINT32) 0x5F5F5F5C     /* Root name is    "\___" */
85203287Srnoland
86203287Srnoland#define ACPI_PREFIX_MIXED       (UINT32) 0x69706341     /* "Acpi" */
87203287Srnoland#define ACPI_PREFIX_LOWER       (UINT32) 0x69706361     /* "acpi" */
88203287Srnoland
89203287Srnoland#define ACPI_NS_ROOT_PATH       "\\"
90203287Srnoland
91203287Srnoland#endif  /* __ACNAMES_H__  */
92203287Srnoland