Print this page
update to acpica-unix2-20140114
acpica-unix2-20130823
PANKOVs restructure
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/sys/acpi/actables.h
+++ new/usr/src/common/acpica/include/actables.h
1 1 /******************************************************************************
2 2 *
3 3 * Name: actables.h - ACPI table management
4 4 *
5 5 *****************************************************************************/
6 6
7 7 /*
8 - * Copyright (C) 2000 - 2011, Intel Corp.
8 + * Copyright (C) 2000 - 2014, Intel Corp.
9 9 * All rights reserved.
10 10 *
11 11 * Redistribution and use in source and binary forms, with or without
12 12 * modification, are permitted provided that the following conditions
13 13 * are met:
14 14 * 1. Redistributions of source code must retain the above copyright
15 15 * notice, this list of conditions, and the following disclaimer,
16 16 * without modification.
17 17 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 18 * substantially similar to the "NO WARRANTY" disclaimer below
19 19 * ("Disclaimer") and any redistribution must be conditioned upon
20 20 * including a substantially similar Disclaimer requirement for further
21 21 * binary redistribution.
22 22 * 3. Neither the names of the above-listed copyright holders nor the names
23 23 * of any contributors may be used to endorse or promote products derived
24 24 * from this software without specific prior written permission.
25 25 *
26 26 * Alternatively, this software may be distributed under the terms of the
27 27 * GNU General Public License ("GPL") version 2 as published by the Free
28 28 * Software Foundation.
29 29 *
30 30 * NO WARRANTY
31 31 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 32 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 33 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34 34 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 35 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 36 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 41 * POSSIBILITY OF SUCH DAMAGES.
42 42 */
↓ open down ↓ |
24 lines elided |
↑ open up ↑ |
43 43
44 44 #ifndef __ACTABLES_H__
45 45 #define __ACTABLES_H__
46 46
47 47
48 48 ACPI_STATUS
49 49 AcpiAllocateRootTable (
50 50 UINT32 InitialTableCount);
51 51
52 52 /*
53 + * tbxfroot - Root pointer utilities
54 + */
55 +ACPI_STATUS
56 +AcpiTbValidateRsdp (
57 + ACPI_TABLE_RSDP *Rsdp);
58 +
59 +UINT8 *
60 +AcpiTbScanMemoryForRsdp (
61 + UINT8 *StartAddress,
62 + UINT32 Length);
63 +
64 +
65 +/*
53 66 * tbfadt - FADT parse/convert/validate
54 67 */
55 68 void
56 69 AcpiTbParseFadt (
57 70 UINT32 TableIndex);
58 71
59 72 void
60 73 AcpiTbCreateLocalFadt (
61 74 ACPI_TABLE_HEADER *Table,
62 75 UINT32 Length);
63 76
64 77
65 78 /*
66 79 * tbfind - find ACPI table
67 80 */
68 81 ACPI_STATUS
69 82 AcpiTbFindTable (
70 83 char *Signature,
71 84 char *OemId,
72 85 char *OemTableId,
73 86 UINT32 *TableIndex);
74 87
75 88
76 89 /*
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
77 90 * tbinstal - Table removal and deletion
78 91 */
79 92 ACPI_STATUS
80 93 AcpiTbResizeRootTableList (
81 94 void);
82 95
83 96 ACPI_STATUS
84 97 AcpiTbVerifyTable (
85 98 ACPI_TABLE_DESC *TableDesc);
86 99
100 +ACPI_TABLE_HEADER *
101 +AcpiTbTableOverride (
102 + ACPI_TABLE_HEADER *TableHeader,
103 + ACPI_TABLE_DESC *TableDesc);
104 +
87 105 ACPI_STATUS
88 106 AcpiTbAddTable (
89 107 ACPI_TABLE_DESC *TableDesc,
90 108 UINT32 *TableIndex);
91 109
92 110 ACPI_STATUS
93 111 AcpiTbStoreTable (
94 112 ACPI_PHYSICAL_ADDRESS Address,
95 113 ACPI_TABLE_HEADER *Table,
96 114 UINT32 Length,
97 115 UINT8 Flags,
98 116 UINT32 *TableIndex);
99 117
100 118 void
101 119 AcpiTbDeleteTable (
102 120 ACPI_TABLE_DESC *TableDesc);
103 121
104 122 void
105 123 AcpiTbTerminate (
106 124 void);
107 125
108 126 ACPI_STATUS
109 127 AcpiTbDeleteNamespaceByOwner (
110 128 UINT32 TableIndex);
111 129
112 130 ACPI_STATUS
113 131 AcpiTbAllocateOwnerId (
114 132 UINT32 TableIndex);
115 133
116 134 ACPI_STATUS
117 135 AcpiTbReleaseOwnerId (
118 136 UINT32 TableIndex);
119 137
120 138 ACPI_STATUS
121 139 AcpiTbGetOwnerId (
122 140 UINT32 TableIndex,
123 141 ACPI_OWNER_ID *OwnerId);
124 142
125 143 BOOLEAN
126 144 AcpiTbIsTableLoaded (
127 145 UINT32 TableIndex);
128 146
129 147 void
130 148 AcpiTbSetTableLoadedFlag (
131 149 UINT32 TableIndex,
132 150 BOOLEAN IsLoaded);
133 151
134 152
135 153 /*
136 154 * tbutils - table manager utilities
137 155 */
138 156 ACPI_STATUS
139 157 AcpiTbInitializeFacs (
140 158 void);
141 159
142 160 BOOLEAN
143 161 AcpiTbTablesLoaded (
144 162 void);
145 163
146 164 void
147 165 AcpiTbPrintTableHeader(
148 166 ACPI_PHYSICAL_ADDRESS Address,
149 167 ACPI_TABLE_HEADER *Header);
150 168
151 169 UINT8
152 170 AcpiTbChecksum (
153 171 UINT8 *Buffer,
154 172 UINT32 Length);
155 173
156 174 ACPI_STATUS
157 175 AcpiTbVerifyChecksum (
158 176 ACPI_TABLE_HEADER *Table,
159 177 UINT32 Length);
160 178
161 179 void
162 180 AcpiTbCheckDsdtHeader (
163 181 void);
164 182
165 183 ACPI_TABLE_HEADER *
166 184 AcpiTbCopyDsdt (
167 185 UINT32 TableIndex);
168 186
169 187 void
170 188 AcpiTbInstallTable (
171 189 ACPI_PHYSICAL_ADDRESS Address,
172 190 char *Signature,
173 191 UINT32 TableIndex);
174 192
175 193 ACPI_STATUS
176 194 AcpiTbParseRootTable (
177 195 ACPI_PHYSICAL_ADDRESS RsdpAddress);
178 196
179 197 #endif /* __ACTABLES_H__ */
↓ open down ↓ |
83 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX