ia64/xen-unstable

view tools/firmware/acpi/acpi_dsdt.asl @ 6392:bca2fd76995e

Add EXT3 as built-in filesystem for x86/64 domU.
author kaf24@firebug.cl.cam.ac.uk
date Wed Aug 24 15:21:48 2005 +0000 (2005-08-24)
parents bc8bb3a26ccc
children f8d20c3e4225
line source
1 //**********************************************************************//
2 //*
3 //* Copyright (c) 2004, Intel Corporation.
4 //*
5 //* This program is free software; you can redistribute it and/or modify it
6 //* under the terms and conditions of the GNU General Public License,
7 //* version 2, as published by the Free Software Foundation.
8 //*
9 //* This program is distributed in the hope it will be useful, but WITHOUT
10 //* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 //* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 //* more details.
13 //*
14 //* You should have received a copy of the GNU General Public License along with
15 //* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16 //* Place - Suite 330, Boston, MA 02111-1307 USA.
18 //**
19 //** DSDT for Xen with Qemu device model
20 //**
21 //**
23 DefinitionBlock ("DSDT.aml", "DSDT", 1, "INTEL ", "XEN ", 2)
24 {
25 Name (\PMBS, 0x0C00)
26 Name (\PMLN, 0x08)
27 Name (\IOB1, 0x00)
28 Name (\IOL1, 0x00)
29 Name (\APCB, 0xFEC00000)
30 Name (\APCL, 0x00010000)
31 Name (\PUID, 0x00)
32 Scope (\_PR)
33 {
34 Processor (CPU0, 0x00, 0x00000000, 0x00) {}
35 Processor (CPU1, 0x01, 0x00000000, 0x00) {}
36 Processor (CPU2, 0x02, 0x00000000, 0x00) {}
37 Processor (CPU3, 0x03, 0x00000000, 0x00) {}
38 }
40 Scope (\_SB)
41 {
42 Device (PCI0)
43 {
44 Name (_HID, EisaId ("PNP0A03"))
45 Name (_UID, 0x00)
46 Name (_ADR, 0x00)
47 Name (_BBN, 0x00)
48 Method (_CRS, 0, NotSerialized)
49 {
50 Name (PRT0, ResourceTemplate ()
51 {
52 /* bus number is from 0 - 255*/
53 WordBusNumber (ResourceConsumer, MinFixed, MaxFixed, SubDecode,
54 0x0000,
55 0x0000,
56 0x00FF,
57 0x0000,
58 0x0100)
59 IO (Decode16, 0x0CF8, 0x0CF8, 0x01, 0x08)
60 WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
61 0x0000,
62 0x0000,
63 0x0CF7,
64 0x0000,
65 0x0CF8)
66 WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
67 0x0000,
68 0x0D00,
69 0x0FFF,
70 0x0000,
71 0x0300)
72 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadOnly,
73 0x00000000,
74 0x000A0000,
75 0x000FFFFF,
76 0x00000000,
77 0x00060000)
78 })
79 Return (PRT0)
80 }
82 Name (AIR0, Package (0x06)
83 {
84 Package (0x04)
85 {
86 0x001FFFFF,
87 0x02,
88 0x00,
89 0x17
90 },
92 Package (0x04)
93 {
94 0x001FFFFF,
95 0x03,
96 0x00,
97 0x13
98 },
100 Package (0x04)
101 {
102 0x001DFFFF,
103 0x01,
104 0x00,
105 0x13
106 },
108 Package (0x04)
109 {
110 0x001DFFFF,
111 0x00,
112 0x00,
113 0x10
114 },
116 Package (0x04)
117 {
118 0x001DFFFF,
119 0x02,
120 0x00,
121 0x12
122 },
124 Package (0x04)
125 {
126 0x001DFFFF,
127 0x03,
128 0x00,
129 0x17
130 }
131 })
132 Method (_PRT, 0, NotSerialized)
133 {
134 Return (AIR0)
135 }
137 Device (ISA)
138 {
139 Name (_ADR, 0x00010000) /*TODO, device id, PCI bus num, ...*/
141 Device (SYSR)
142 {
143 Name (_HID, EisaId ("PNP0C02"))
144 Name (_UID, 0x01)
145 Name (CRS, ResourceTemplate ()
146 {
147 /* TODO: list hidden resources */
148 IO (Decode16, 0x0010, 0x0010, 0x00, 0x10)
149 IO (Decode16, 0x0022, 0x0022, 0x00, 0x0C)
150 IO (Decode16, 0x0030, 0x0030, 0x00, 0x10)
151 IO (Decode16, 0x0044, 0x0044, 0x00, 0x1C)
152 IO (Decode16, 0x0062, 0x0062, 0x00, 0x02)
153 IO (Decode16, 0x0065, 0x0065, 0x00, 0x0B)
154 IO (Decode16, 0x0072, 0x0072, 0x00, 0x0E)
155 IO (Decode16, 0x0080, 0x0080, 0x00, 0x01)
156 IO (Decode16, 0x0084, 0x0084, 0x00, 0x03)
157 IO (Decode16, 0x0088, 0x0088, 0x00, 0x01)
158 IO (Decode16, 0x008C, 0x008C, 0x00, 0x03)
159 IO (Decode16, 0x0090, 0x0090, 0x00, 0x10)
160 IO (Decode16, 0x00A2, 0x00A2, 0x00, 0x1C)
161 IO (Decode16, 0x00E0, 0x00E0, 0x00, 0x10)
162 IO (Decode16, 0x08A0, 0x08A0, 0x00, 0x04)
163 IO (Decode16, 0x0CC0, 0x0CC0, 0x00, 0x10)
164 IO (Decode16, 0x04D0, 0x04D0, 0x00, 0x02)
165 })
166 Method (_CRS, 0, NotSerialized)
167 {
168 Return (CRS)
169 }
170 }
172 Device (PIC)
173 {
174 Name (_HID, EisaId ("PNP0000"))
175 Name (_CRS, ResourceTemplate ()
176 {
177 IO (Decode16, 0x0020, 0x0020, 0x01, 0x02)
178 IO (Decode16, 0x00A0, 0x00A0, 0x01, 0x02)
179 IRQNoFlags () {2}
180 })
181 }
183 Device (DMA0)
184 {
185 Name (_HID, EisaId ("PNP0200"))
186 Name (_CRS, ResourceTemplate ()
187 {
188 DMA (Compatibility, BusMaster, Transfer8) {4}
189 IO (Decode16, 0x0000, 0x0000, 0x00, 0x10)
190 IO (Decode16, 0x0081, 0x0081, 0x00, 0x03)
191 IO (Decode16, 0x0087, 0x0087, 0x00, 0x01)
192 IO (Decode16, 0x0089, 0x0089, 0x00, 0x03)
193 IO (Decode16, 0x008F, 0x008F, 0x00, 0x01)
194 IO (Decode16, 0x00C0, 0x00C0, 0x00, 0x20)
195 IO (Decode16, 0x0480, 0x0480, 0x00, 0x10)
196 })
197 }
199 Device (TMR)
200 {
201 Name (_HID, EisaId ("PNP0100"))
202 Name (_CRS, ResourceTemplate ()
203 {
204 IO (Decode16, 0x0040, 0x0040, 0x00, 0x04)
205 IRQNoFlags () {0}
206 })
207 }
209 Device (RTC)
210 {
211 Name (_HID, EisaId ("PNP0B00"))
212 Name (_CRS, ResourceTemplate ()
213 {
214 IO (Decode16, 0x0070, 0x0070, 0x00, 0x02)
215 IRQNoFlags () {8}
216 })
217 }
219 Device (SPKR)
220 {
221 Name (_HID, EisaId ("PNP0800"))
222 Name (_CRS, ResourceTemplate ()
223 {
224 IO (Decode16, 0x0061, 0x0061, 0x00, 0x01)
225 })
226 }
228 Device (PS2M)
229 {
230 Name (_HID, EisaId ("PNP0F13"))
231 Name (_CID, 0x130FD041)
232 Method (_STA, 0, NotSerialized)
233 {
234 Return (0x0F)
235 }
237 Name (_CRS, ResourceTemplate ()
238 {
239 IRQNoFlags () {12}
240 })
241 }
243 Device (PS2K)
244 {
245 Name (_HID, EisaId ("PNP0303"))
246 Name (_CID, 0x0B03D041)
247 Method (_STA, 0, NotSerialized)
248 {
249 Return (0x0F)
250 }
252 Name (_CRS, ResourceTemplate ()
253 {
254 IO (Decode16, 0x0060, 0x0060, 0x00, 0x01)
255 IO (Decode16, 0x0064, 0x0064, 0x00, 0x01)
256 IRQNoFlags () {1}
257 })
258 }
260 Device (FDC0)
261 {
262 Name (_HID, EisaId ("PNP0700"))
263 Method (_STA, 0, NotSerialized)
264 {
265 Return (0x0F)
266 }
268 Name (_CRS, ResourceTemplate ()
269 {
270 IO (Decode16, 0x03F0, 0x03F0, 0x01, 0x06)
271 IO (Decode16, 0x03F7, 0x03F7, 0x01, 0x01)
272 IRQNoFlags () {6}
273 DMA (Compatibility, NotBusMaster, Transfer8) {2}
274 })
275 }
277 Device (UAR1)
278 {
279 Name (_HID, EisaId ("PNP0501"))
280 Name (_UID, 0x01)
281 Method (_STA, 0, NotSerialized)
282 {
283 Return (0x0F)
284 }
286 Name (_CRS, ResourceTemplate()
287 {
288 IO (Decode16, 0x03F8, 0x03F8, 0x01, 0x08)
289 IRQNoFlags () {4}
290 })
291 }
293 Device (UAR2)
294 {
295 Name (_HID, EisaId ("PNP0501"))
296 Name (_UID, 0x02)
297 Method (_STA, 0, NotSerialized)
298 {
299 Return (0x0F)
300 }
302 Name (_CRS, ResourceTemplate()
303 {
304 IO (Decode16, 0x02F8, 0x02F8, 0x01, 0x08)
305 IRQNoFlags () {3}
306 })
307 }
308 }
309 }
310 }
311 }