acnames.h revision 1.1.1.2 1 1.1 jruoho /******************************************************************************
2 1.1 jruoho *
3 1.1 jruoho * Name: acnames.h - Global names and strings
4 1.1 jruoho *
5 1.1 jruoho *****************************************************************************/
6 1.1 jruoho
7 1.1.1.2 jruoho /*
8 1.1.1.2 jruoho * Copyright (C) 2000 - 2011, Intel Corp.
9 1.1 jruoho * All rights reserved.
10 1.1 jruoho *
11 1.1.1.2 jruoho * Redistribution and use in source and binary forms, with or without
12 1.1.1.2 jruoho * modification, are permitted provided that the following conditions
13 1.1.1.2 jruoho * are met:
14 1.1.1.2 jruoho * 1. Redistributions of source code must retain the above copyright
15 1.1.1.2 jruoho * notice, this list of conditions, and the following disclaimer,
16 1.1.1.2 jruoho * without modification.
17 1.1.1.2 jruoho * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 1.1.1.2 jruoho * substantially similar to the "NO WARRANTY" disclaimer below
19 1.1.1.2 jruoho * ("Disclaimer") and any redistribution must be conditioned upon
20 1.1.1.2 jruoho * including a substantially similar Disclaimer requirement for further
21 1.1.1.2 jruoho * binary redistribution.
22 1.1.1.2 jruoho * 3. Neither the names of the above-listed copyright holders nor the names
23 1.1.1.2 jruoho * of any contributors may be used to endorse or promote products derived
24 1.1.1.2 jruoho * from this software without specific prior written permission.
25 1.1.1.2 jruoho *
26 1.1.1.2 jruoho * Alternatively, this software may be distributed under the terms of the
27 1.1.1.2 jruoho * GNU General Public License ("GPL") version 2 as published by the Free
28 1.1.1.2 jruoho * Software Foundation.
29 1.1.1.2 jruoho *
30 1.1.1.2 jruoho * NO WARRANTY
31 1.1.1.2 jruoho * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 1.1.1.2 jruoho * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 1.1.1.2 jruoho * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34 1.1.1.2 jruoho * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 1.1.1.2 jruoho * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 1.1.1.2 jruoho * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 1.1.1.2 jruoho * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 1.1.1.2 jruoho * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 1.1.1.2 jruoho * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 1.1.1.2 jruoho * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 1.1.1.2 jruoho * POSSIBILITY OF SUCH DAMAGES.
42 1.1.1.2 jruoho */
43 1.1 jruoho
44 1.1 jruoho #ifndef __ACNAMES_H__
45 1.1 jruoho #define __ACNAMES_H__
46 1.1 jruoho
47 1.1 jruoho /* Method names - these methods can appear anywhere in the namespace */
48 1.1 jruoho
49 1.1 jruoho #define METHOD_NAME__HID "_HID"
50 1.1 jruoho #define METHOD_NAME__CID "_CID"
51 1.1 jruoho #define METHOD_NAME__UID "_UID"
52 1.1 jruoho #define METHOD_NAME__ADR "_ADR"
53 1.1 jruoho #define METHOD_NAME__INI "_INI"
54 1.1 jruoho #define METHOD_NAME__STA "_STA"
55 1.1 jruoho #define METHOD_NAME__REG "_REG"
56 1.1 jruoho #define METHOD_NAME__SEG "_SEG"
57 1.1 jruoho #define METHOD_NAME__BBN "_BBN"
58 1.1 jruoho #define METHOD_NAME__PRT "_PRT"
59 1.1 jruoho #define METHOD_NAME__CRS "_CRS"
60 1.1 jruoho #define METHOD_NAME__PRS "_PRS"
61 1.1 jruoho #define METHOD_NAME__PRW "_PRW"
62 1.1 jruoho #define METHOD_NAME__SRS "_SRS"
63 1.1 jruoho
64 1.1 jruoho /* Method names - these methods must appear at the namespace root */
65 1.1 jruoho
66 1.1 jruoho #define METHOD_NAME__BFS "\\_BFS"
67 1.1 jruoho #define METHOD_NAME__GTS "\\_GTS"
68 1.1 jruoho #define METHOD_NAME__PTS "\\_PTS"
69 1.1 jruoho #define METHOD_NAME__SST "\\_SI._SST"
70 1.1 jruoho #define METHOD_NAME__WAK "\\_WAK"
71 1.1 jruoho
72 1.1 jruoho /* Definitions of the predefined namespace names */
73 1.1 jruoho
74 1.1 jruoho #define ACPI_UNKNOWN_NAME (UINT32) 0x3F3F3F3F /* Unknown name is "????" */
75 1.1 jruoho #define ACPI_ROOT_NAME (UINT32) 0x5F5F5F5C /* Root name is "\___" */
76 1.1 jruoho
77 1.1 jruoho #define ACPI_PREFIX_MIXED (UINT32) 0x69706341 /* "Acpi" */
78 1.1 jruoho #define ACPI_PREFIX_LOWER (UINT32) 0x69706361 /* "acpi" */
79 1.1 jruoho
80 1.1 jruoho #define ACPI_NS_ROOT_PATH "\\"
81 1.1 jruoho #define ACPI_NS_SYSTEM_BUS "_SB_"
82 1.1 jruoho
83 1.1 jruoho #endif /* __ACNAMES_H__ */
84 1.1 jruoho
85 1.1 jruoho
86