Debian Codegraph @

tests/aslts/doc/StoreCopyTestPrototype/gr4.asl

raw
1 /*
2 * Some or all of this work - Copyright (c) 2006 - 2021, Intel Corp.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without modification,
6 * are permitted provided that the following conditions are met:
7 *
8 * Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer.
10 * Redistributions in binary form must reproduce the above copyright notice,
11 * this list of conditions and the following disclaimer in the documentation
12 * and/or other materials provided with the distribution.
13 * Neither the name of Intel Corporation nor the names of its contributors
14 * may be used to endorse or promote products derived from this software
15 * without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
25 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
26 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29
30 DefinitionBlock(
31 "gr4.aml", // Output filename
32 "DSDT", // Signature
33 0x02, // DSDT Revision
34 "Intel", // OEMID
35 "Many", // TABLE ID
36 0x00000001 // OEM Revision
37 ) {
38
39 Method(mm04)
40 {
41 Store("Store to NamedX without any conversion", Debug)
42
43 Store("mm04 started", Debug)
44
45
46 Name(i000, 0x12345678)
47 Name(i001, 0x12345678)
48 Name(i002, 0x12345678)
49 Name(i003, 0x12345678)
50 Name(i004, 0x12345678)
51 Name(i005, 0x12345678)
52 Name(i006, 0x12345678)
53 Name(i007, 0x12345678)
54 Name(i008, 0x12345678)
55 Name(i009, 0x12345678)
56 Name(i00a, 0x12345678)
57 Name(i00b, 0x12345678)
58
59 Name(s000, "12345678")
60 Name(s001, "12345678")
61 Name(s002, "12345678")
62 Name(s003, "12345678")
63 Name(s004, "12345678")
64 Name(s005, "12345678")
65 Name(s006, "12345678")
66 Name(s007, "12345678")
67 Name(s008, "12345678")
68 Name(s009, "12345678")
69 Name(s00a, "12345678")
70 Name(s00b, "12345678")
71
72 Name(b000, Buffer() {1,2,3,4,5})
73 Name(b001, Buffer() {1,2,3,4,5})
74 Name(b002, Buffer() {1,2,3,4,5})
75 Name(b003, Buffer() {1,2,3,4,5})
76 Name(b004, Buffer() {1,2,3,4,5})
77 Name(b005, Buffer() {1,2,3,4,5})
78 Name(b006, Buffer() {1,2,3,4,5})
79 Name(b007, Buffer() {1,2,3,4,5})
80 Name(b008, Buffer() {1,2,3,4,5})
81 Name(b009, Buffer() {1,2,3,4,5})
82 Name(b00a, Buffer() {1,2,3,4,5})
83 Name(b00b, Buffer() {1,2,3,4,5})
84
85 Name(p000, Package() {0})
86 Name(p001, Package() {0})
87 Name(p002, Package() {0})
88 Name(p003, Package() {0})
89 Name(p004, Package() {0})
90 Name(p005, Package() {0})
91 Name(p006, Package() {0})
92 Name(p007, Package() {0})
93 Name(p008, Package() {0})
94 Name(p009, Package() {0})
95 Name(p00a, Package() {0})
96 Name(p00b, Package() {0})
97
98 Device(d000) { Name(i900, 0xabcd0017) }
99 Device(d001) { Name(i900, 0xabcd0017) }
100 Device(d002) { Name(i900, 0xabcd0017) }
101 Device(d003) { Name(i900, 0xabcd0017) }
102 Device(d004) { Name(i900, 0xabcd0017) }
103 Device(d005) { Name(i900, 0xabcd0017) }
104 Device(d006) { Name(i900, 0xabcd0017) }
105 Device(d007) { Name(i900, 0xabcd0017) }
106 Device(d008) { Name(i900, 0xabcd0017) }
107 Device(d009) { Name(i900, 0xabcd0017) }
108 Device(d00a) { Name(i900, 0xabcd0017) }
109 Device(d00b) { Name(i900, 0xabcd0017) }
110
111 Event(e000)
112 Event(e001)
113 Event(e002)
114 Event(e003)
115 Event(e004)
116 Event(e005)
117 Event(e006)
118 Event(e007)
119 Event(e008)
120 Event(e009)
121 Event(e00a)
122 Event(e00b)
123
124 Method(m000) { return (0) }
125 Method(m001) { return (0) }
126 Method(m002) { return (0) }
127 Method(m003) { return (0) }
128 Method(m004) { return (0) }
129 Method(m005) { return (0) }
130 Method(m006) { return (0) }
131 Method(m007) { return (0) }
132 Method(m008) { return (0) }
133 Method(m009) { return (0) }
134 Method(m00a) { return (0) }
135 Method(m00b) { return (0) }
136
137 Mutex(mx00, 0)
138 Mutex(mx01, 0)
139 Mutex(mx02, 0)
140 Mutex(mx03, 0)
141 Mutex(mx04, 0)
142 Mutex(mx05, 0)
143 Mutex(mx06, 0)
144 Mutex(mx07, 0)
145 Mutex(mx08, 0)
146 Mutex(mx09, 0)
147 Mutex(mx0a, 0)
148 Mutex(mx0b, 0)
149
150 OperationRegion(r000, SystemMemory, 0x100, 0x100)
151 OperationRegion(r001, SystemMemory, 0x100, 0x100)
152 OperationRegion(r002, SystemMemory, 0x100, 0x100)
153 OperationRegion(r003, SystemMemory, 0x100, 0x100)
154 OperationRegion(r004, SystemMemory, 0x100, 0x100)
155 OperationRegion(r005, SystemMemory, 0x100, 0x100)
156 OperationRegion(r006, SystemMemory, 0x100, 0x100)
157 OperationRegion(r007, SystemMemory, 0x100, 0x100)
158 OperationRegion(r008, SystemMemory, 0x100, 0x100)
159 OperationRegion(r009, SystemMemory, 0x100, 0x100)
160 OperationRegion(r00a, SystemMemory, 0x100, 0x100)
161 OperationRegion(r00b, SystemMemory, 0x100, 0x100)
162
163 PowerResource(pw00, 1, 0) {}
164 PowerResource(pw01, 1, 0) {}
165 PowerResource(pw02, 1, 0) {}
166 PowerResource(pw03, 1, 0) {}
167 PowerResource(pw04, 1, 0) {}
168 PowerResource(pw05, 1, 0) {}
169 PowerResource(pw06, 1, 0) {}
170 PowerResource(pw07, 1, 0) {}
171 PowerResource(pw08, 1, 0) {}
172 PowerResource(pw09, 1, 0) {}
173 PowerResource(pw0a, 1, 0) {}
174 PowerResource(pw0b, 1, 0) {}
175
176 Processor(pr00, 0, 0xFFFFFFFF, 0) {}
177 Processor(pr01, 0, 0xFFFFFFFF, 0) {}
178 Processor(pr02, 0, 0xFFFFFFFF, 0) {}
179 Processor(pr03, 0, 0xFFFFFFFF, 0) {}
180 Processor(pr04, 0, 0xFFFFFFFF, 0) {}
181 Processor(pr05, 0, 0xFFFFFFFF, 0) {}
182 Processor(pr06, 0, 0xFFFFFFFF, 0) {}
183 Processor(pr07, 0, 0xFFFFFFFF, 0) {}
184 Processor(pr08, 0, 0xFFFFFFFF, 0) {}
185 Processor(pr09, 0, 0xFFFFFFFF, 0) {}
186 Processor(pr0a, 0, 0xFFFFFFFF, 0) {}
187 Processor(pr0b, 0, 0xFFFFFFFF, 0) {}
188
189 ThermalZone(tz00) {}
190 ThermalZone(tz01) {}
191 ThermalZone(tz02) {}
192 ThermalZone(tz03) {}
193 ThermalZone(tz04) {}
194 ThermalZone(tz05) {}
195 ThermalZone(tz06) {}
196 ThermalZone(tz07) {}
197 ThermalZone(tz08) {}
198 ThermalZone(tz09) {}
199 ThermalZone(tz0a) {}
200 ThermalZone(tz0b) {}
201
202
203 // i000
204
205 Store(i000, p000)
206 Store(i000, d000)
207 Store(i000, e000)
208 Store(i000, m000)
209 Store(i000, mx00)
210 Store(i000, r000)
211 Store(i000, pw00)
212 Store(i000, pr00)
213 Store(i000, tz00)
214
215 // s000
216
217 Store(s000, p001)
218 Store(s000, d001)
219 Store(s000, e001)
220 Store(s000, m001)
221 Store(s000, mx01)
222 Store(s000, r001)
223 Store(s000, pw01)
224 Store(s000, pr01)
225 Store(s000, tz01)
226
227 // b000
228
229 Store(b000, p002)
230 Store(b000, d002)
231 Store(b000, e002)
232 Store(b000, m002)
233 Store(b000, mx02)
234 Store(b000, r002)
235 Store(b000, pw02)
236 Store(b000, pr02)
237 Store(b000, tz02)
238
239 // p000
240
241 Store(p000, p003)
242 Store(p000, d003)
243 Store(p000, e003)
244 Store(p000, m003)
245 Store(p000, mx03)
246 Store(p000, r003)
247 Store(p000, pw03)
248 Store(p000, pr03)
249 Store(p000, tz03)
250
251 // d000
252
253 Store(d000, p004)
254 Store(d000, d004)
255 Store(d000, e004)
256 Store(d000, m004)
257 Store(d000, mx04)
258 Store(d000, r004)
259 Store(d000, pw04)
260 Store(d000, pr04)
261 Store(d000, tz04)
262
263 // e000
264
265 Store(e000, p005)
266 Store(e000, d005)
267 Store(e000, e005)
268 Store(e000, m005)
269 Store(e000, mx05)
270 Store(e000, r005)
271 Store(e000, pw05)
272 Store(e000, pr05)
273 Store(e000, tz05)
274
275 // m000
276
277 Store(m000, p006)
278 Store(m000, d006)
279 Store(m000, e006)
280 Store(m000, m006)
281 Store(m000, mx06)
282 Store(m000, r006)
283 Store(m000, pw06)
284 Store(m000, pr06)
285 Store(m000, tz06)
286
287 // mx00
288
289 Store(mx00, p007)
290 Store(mx00, d007)
291 Store(mx00, e007)
292 Store(mx00, m007)
293 Store(mx00, mx07)
294 Store(mx00, r007)
295 Store(mx00, pw07)
296 Store(mx00, pr07)
297 Store(mx00, tz07)
298
299 // r000
300
301 Store(r000, p008)
302 Store(r000, d008)
303 Store(r000, e008)
304 Store(r000, m008)
305 Store(r000, mx08)
306 Store(r000, r008)
307 Store(r000, pw08)
308 Store(r000, pr08)
309 Store(r000, tz08)
310
311 // pw00
312
313 Store(pw00, p009)
314 Store(pw00, d009)
315 Store(pw00, e009)
316 Store(pw00, m009)
317 Store(pw00, mx09)
318 Store(pw00, r009)
319 Store(pw00, pw09)
320 Store(pw00, pr09)
321 Store(pw00, tz09)
322
323 // pr00
324
325 Store(pr00, p00a)
326 Store(pr00, d00a)
327 Store(pr00, e00a)
328 Store(pr00, m00a)
329 Store(pr00, mx0a)
330 Store(pr00, r00a)
331 Store(pr00, pw0a)
332 Store(pr00, pr0a)
333 Store(pr00, tz0a)
334
335 // tz00
336
337 Store(tz00, p00b)
338 Store(tz00, d00b)
339 Store(tz00, e00b)
340 Store(tz00, m00b)
341 Store(tz00, mx0b)
342 Store(tz00, r00b)
343 Store(tz00, pw0b)
344 Store(tz00, pr0b)
345 Store(tz00, tz0b)
346
347 Store("mm04 finished", Debug)
348 }
349
350 Method(MAIN)
351 {
352 mm04()
353 }
354 }