VirtualBox

source: vbox/trunk/src/VBox/Devices/PC/vbox-standard.dsl@ 26183

最後變更 在這個檔案從26183是 26183,由 vboxsync 提交於 15 年 前

Commit CPU hotplug patches again

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 18.0 KB
 
1// $Id: vbox-standard.dsl 26183 2010-02-03 12:46:34Z vboxsync $
2/// @file
3//
4// VirtualBox ACPI
5//
6// Copyright (C) 2006-2007 Sun Microsystems, Inc.
7//
8// This file is part of VirtualBox Open Source Edition (OSE), as
9// available from http://www.alldomusa.eu.org. This file is free software;
10// you can redistribute it and/or modify it under the terms of the GNU
11// General Public License (GPL) as published by the Free Software
12// Foundation, in version 2 as it comes in the "COPYING" file of the
13// VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14// hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15//
16// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
17// Clara, CA 95054 USA or visit http://www.sun.com if you need
18// additional information or have any questions.
19
20DefinitionBlock ("SSDT.aml", "SSDT", 1, "VBOX ", "VBOXCPUT", 2)
21{
22 // Processor object
23 // #1463: Showing the CPU can make the guest do bad things on it like SpeedStep.
24 // In this case, XP SP2 contains this buggy Intelppm.sys driver which wants to mess
25 // with SpeedStep if it finds a CPU object and when it finds out that it can't, it
26 // tries to unload and crashes (MS probably never tested this code path).
27 // So we enable this ACPI object only for certain guests, which do need it,
28 // if by accident Windows guest seen enabled CPU object, just boot from latest
29 // known good configuration, as it remembers state, even if ACPI object gets disabled.
30 Scope (\_PR)
31 {
32 Processor (CPU0, /* Name */
33 0x00, /* Id */
34 0x0, /* Processor IO ports range start */
35 0x0 /* Processor IO ports range length */
36 )
37 {
38 }
39
40 Processor (CPU1, /* Name */
41 0x01, /* Id */
42 0x0, /* Processor IO ports range start */
43 0x0 /* Processor IO ports range length */
44 )
45 {
46 }
47 Processor (CPU2, /* Name */
48 0x02, /* Id */
49 0x0, /* Processor IO ports range start */
50 0x0 /* Processor IO ports range length */
51 )
52 {
53 }
54 Processor (CPU3, /* Name */
55 0x03, /* Id */
56 0x0, /* Processor IO ports range start */
57 0x0 /* Processor IO ports range length */
58 )
59 {
60 }
61 Processor (CPU4, /* Name */
62 0x04, /* Id */
63 0x0, /* Processor IO ports range start */
64 0x0 /* Processor IO ports range length */
65 )
66 {
67 }
68 Processor (CPU5, /* Name */
69 0x05, /* Id */
70 0x0, /* Processor IO ports range start */
71 0x0 /* Processor IO ports range length */
72 )
73 {
74 }
75 Processor (CPU6, /* Name */
76 0x06, /* Id */
77 0x0, /* Processor IO ports range start */
78 0x0 /* Processor IO ports range length */
79 )
80 {
81 }
82 Processor (CPU7, /* Name */
83 0x07, /* Id */
84 0x0, /* Processor IO ports range start */
85 0x0 /* Processor IO ports range length */
86 )
87 {
88 }
89 Processor (CPU8, /* Name */
90 0x08, /* Id */
91 0x0, /* Processor IO ports range start */
92 0x0 /* Processor IO ports range length */
93 )
94 {
95 }
96 Processor (CPU9, /* Name */
97 0x09, /* Id */
98 0x0, /* Processor IO ports range start */
99 0x0 /* Processor IO ports range length */
100 )
101 {
102 }
103 Processor (CPUA, /* Name */
104 0x0a, /* Id */
105 0x0, /* Processor IO ports range start */
106 0x0 /* Processor IO ports range length */
107 )
108 {
109 }
110 Processor (CPUB, /* Name */
111 0x0b, /* Id */
112 0x0, /* Processor IO ports range start */
113 0x0 /* Processor IO ports range length */
114 )
115 {
116 }
117 Processor (CPUC, /* Name */
118 0x0c, /* Id */
119 0x0, /* Processor IO ports range start */
120 0x0 /* Processor IO ports range length */
121 )
122 {
123 }
124 Processor (CPUD, /* Name */
125 0x0d, /* Id */
126 0x0, /* Processor IO ports range start */
127 0x0 /* Processor IO ports range length */
128 )
129 {
130 }
131 Processor (CPUE, /* Name */
132 0x0e, /* Id */
133 0x0, /* Processor IO ports range start */
134 0x0 /* Processor IO ports range length */
135 )
136 {
137 }
138 Processor (CPUF, /* Name */
139 0x0f, /* Id */
140 0x0, /* Processor IO ports range start */
141 0x0 /* Processor IO ports range length */
142 )
143 {
144 }
145 Processor (CPUG, /* Name */
146 0x10, /* Id */
147 0x0, /* Processor IO ports range start */
148 0x0 /* Processor IO ports range length */
149 )
150 {
151 }
152 Processor (CPUH, /* Name */
153 0x11, /* Id */
154 0x0, /* Processor IO ports range start */
155 0x0 /* Processor IO ports range length */
156 )
157 {
158 }
159 Processor (CPUI, /* Name */
160 0x12, /* Id */
161 0x0, /* Processor IO ports range start */
162 0x0 /* Processor IO ports range length */
163 )
164 {
165 }
166 Processor (CPUJ, /* Name */
167 0x13, /* Id */
168 0x0, /* Processor IO ports range start */
169 0x0 /* Processor IO ports range length */
170 )
171 {
172 }
173 Processor (CPUK, /* Name */
174 0x14, /* Id */
175 0x0, /* Processor IO ports range start */
176 0x0 /* Processor IO ports range length */
177 )
178 {
179 }
180 Processor (CPUL, /* Name */
181 0x15, /* Id */
182 0x0, /* Processor IO ports range start */
183 0x0 /* Processor IO ports range length */
184 )
185 {
186 }
187 Processor (CPUM, /* Name */
188 0x16, /* Id */
189 0x0, /* Processor IO ports range start */
190 0x0 /* Processor IO ports range length */
191 )
192 {
193 }
194 Processor (CPUN, /* Name */
195 0x17, /* Id */
196 0x0, /* Processor IO ports range start */
197 0x0 /* Processor IO ports range length */
198 )
199 {
200 }
201 Processor (CPUO, /* Name */
202 0x18, /* Id */
203 0x0, /* Processor IO ports range start */
204 0x0 /* Processor IO ports range length */
205 )
206 {
207 }
208 Processor (CPUP, /* Name */
209 0x19, /* Id */
210 0x0, /* Processor IO ports range start */
211 0x0 /* Processor IO ports range length */
212 )
213 {
214 }
215 Processor (CPUQ, /* Name */
216 0x1a, /* Id */
217 0x0, /* Processor IO ports range start */
218 0x0 /* Processor IO ports range length */
219 )
220 {
221 }
222 Processor (CPUR, /* Name */
223 0x1b, /* Id */
224 0x0, /* Processor IO ports range start */
225 0x0 /* Processor IO ports range length */
226 )
227 {
228 }
229 Processor (CPUS, /* Name */
230 0x1c, /* Id */
231 0x0, /* Processor IO ports range start */
232 0x0 /* Processor IO ports range length */
233 )
234 {
235 }
236 Processor (CPUT, /* Name */
237 0x1d, /* Id */
238 0x0, /* Processor IO ports range start */
239 0x0 /* Processor IO ports range length */
240 )
241 {
242 }
243 Processor (CPUU, /* Name */
244 0x1e, /* Id */
245 0x0, /* Processor IO ports range start */
246 0x0 /* Processor IO ports range length */
247 )
248 {
249 }
250 Processor (CPUV, /* Name */
251 0x1f, /* Id */
252 0x0, /* Processor IO ports range start */
253 0x0 /* Processor IO ports range length */
254 )
255 {
256 }
257 }
258}
259
260/*
261 * Local Variables:
262 * comment-start: "//"
263 * End:
264 */
265// $Id: vbox-standard.dsl 26183 2010-02-03 12:46:34Z vboxsync $
266/// @file
267//
268// VirtualBox ACPI
269//
270// Copyright (C) 2006-2007 Sun Microsystems, Inc.
271//
272// This file is part of VirtualBox Open Source Edition (OSE), as
273// available from http://www.alldomusa.eu.org. This file is free software;
274// you can redistribute it and/or modify it under the terms of the GNU
275// General Public License (GPL) as published by the Free Software
276// Foundation, in version 2 as it comes in the "COPYING" file of the
277// VirtualBox OSE distribution. VirtualBox OSE is distributed in the
278// hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
279//
280// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
281// Clara, CA 95054 USA or visit http://www.sun.com if you need
282// additional information or have any questions.
283
284DefinitionBlock ("SSDT.aml", "SSDT", 1, "VBOX ", "VBOXCPUT", 2)
285{
286 // Processor object
287 // #1463: Showing the CPU can make the guest do bad things on it like SpeedStep.
288 // In this case, XP SP2 contains this buggy Intelppm.sys driver which wants to mess
289 // with SpeedStep if it finds a CPU object and when it finds out that it can't, it
290 // tries to unload and crashes (MS probably never tested this code path).
291 // So we enable this ACPI object only for certain guests, which do need it,
292 // if by accident Windows guest seen enabled CPU object, just boot from latest
293 // known good configuration, as it remembers state, even if ACPI object gets disabled.
294 Scope (\_PR)
295 {
296 Processor (CPU0, /* Name */
297 0x00, /* Id */
298 0x0, /* Processor IO ports range start */
299 0x0 /* Processor IO ports range length */
300 )
301 {
302 }
303
304 Processor (CPU1, /* Name */
305 0x01, /* Id */
306 0x0, /* Processor IO ports range start */
307 0x0 /* Processor IO ports range length */
308 )
309 {
310 }
311 Processor (CPU2, /* Name */
312 0x02, /* Id */
313 0x0, /* Processor IO ports range start */
314 0x0 /* Processor IO ports range length */
315 )
316 {
317 }
318 Processor (CPU3, /* Name */
319 0x03, /* Id */
320 0x0, /* Processor IO ports range start */
321 0x0 /* Processor IO ports range length */
322 )
323 {
324 }
325 Processor (CPU4, /* Name */
326 0x04, /* Id */
327 0x0, /* Processor IO ports range start */
328 0x0 /* Processor IO ports range length */
329 )
330 {
331 }
332 Processor (CPU5, /* Name */
333 0x05, /* Id */
334 0x0, /* Processor IO ports range start */
335 0x0 /* Processor IO ports range length */
336 )
337 {
338 }
339 Processor (CPU6, /* Name */
340 0x06, /* Id */
341 0x0, /* Processor IO ports range start */
342 0x0 /* Processor IO ports range length */
343 )
344 {
345 }
346 Processor (CPU7, /* Name */
347 0x07, /* Id */
348 0x0, /* Processor IO ports range start */
349 0x0 /* Processor IO ports range length */
350 )
351 {
352 }
353 Processor (CPU8, /* Name */
354 0x08, /* Id */
355 0x0, /* Processor IO ports range start */
356 0x0 /* Processor IO ports range length */
357 )
358 {
359 }
360 Processor (CPU9, /* Name */
361 0x09, /* Id */
362 0x0, /* Processor IO ports range start */
363 0x0 /* Processor IO ports range length */
364 )
365 {
366 }
367 Processor (CPUA, /* Name */
368 0x0a, /* Id */
369 0x0, /* Processor IO ports range start */
370 0x0 /* Processor IO ports range length */
371 )
372 {
373 }
374 Processor (CPUB, /* Name */
375 0x0b, /* Id */
376 0x0, /* Processor IO ports range start */
377 0x0 /* Processor IO ports range length */
378 )
379 {
380 }
381 Processor (CPUC, /* Name */
382 0x0c, /* Id */
383 0x0, /* Processor IO ports range start */
384 0x0 /* Processor IO ports range length */
385 )
386 {
387 }
388 Processor (CPUD, /* Name */
389 0x0d, /* Id */
390 0x0, /* Processor IO ports range start */
391 0x0 /* Processor IO ports range length */
392 )
393 {
394 }
395 Processor (CPUE, /* Name */
396 0x0e, /* Id */
397 0x0, /* Processor IO ports range start */
398 0x0 /* Processor IO ports range length */
399 )
400 {
401 }
402 Processor (CPUF, /* Name */
403 0x0f, /* Id */
404 0x0, /* Processor IO ports range start */
405 0x0 /* Processor IO ports range length */
406 )
407 {
408 }
409 Processor (CPUG, /* Name */
410 0x10, /* Id */
411 0x0, /* Processor IO ports range start */
412 0x0 /* Processor IO ports range length */
413 )
414 {
415 }
416 Processor (CPUH, /* Name */
417 0x11, /* Id */
418 0x0, /* Processor IO ports range start */
419 0x0 /* Processor IO ports range length */
420 )
421 {
422 }
423 Processor (CPUI, /* Name */
424 0x12, /* Id */
425 0x0, /* Processor IO ports range start */
426 0x0 /* Processor IO ports range length */
427 )
428 {
429 }
430 Processor (CPUJ, /* Name */
431 0x13, /* Id */
432 0x0, /* Processor IO ports range start */
433 0x0 /* Processor IO ports range length */
434 )
435 {
436 }
437 Processor (CPUK, /* Name */
438 0x14, /* Id */
439 0x0, /* Processor IO ports range start */
440 0x0 /* Processor IO ports range length */
441 )
442 {
443 }
444 Processor (CPUL, /* Name */
445 0x15, /* Id */
446 0x0, /* Processor IO ports range start */
447 0x0 /* Processor IO ports range length */
448 )
449 {
450 }
451 Processor (CPUM, /* Name */
452 0x16, /* Id */
453 0x0, /* Processor IO ports range start */
454 0x0 /* Processor IO ports range length */
455 )
456 {
457 }
458 Processor (CPUN, /* Name */
459 0x17, /* Id */
460 0x0, /* Processor IO ports range start */
461 0x0 /* Processor IO ports range length */
462 )
463 {
464 }
465 Processor (CPUO, /* Name */
466 0x18, /* Id */
467 0x0, /* Processor IO ports range start */
468 0x0 /* Processor IO ports range length */
469 )
470 {
471 }
472 Processor (CPUP, /* Name */
473 0x19, /* Id */
474 0x0, /* Processor IO ports range start */
475 0x0 /* Processor IO ports range length */
476 )
477 {
478 }
479 Processor (CPUQ, /* Name */
480 0x1a, /* Id */
481 0x0, /* Processor IO ports range start */
482 0x0 /* Processor IO ports range length */
483 )
484 {
485 }
486 Processor (CPUR, /* Name */
487 0x1b, /* Id */
488 0x0, /* Processor IO ports range start */
489 0x0 /* Processor IO ports range length */
490 )
491 {
492 }
493 Processor (CPUS, /* Name */
494 0x1c, /* Id */
495 0x0, /* Processor IO ports range start */
496 0x0 /* Processor IO ports range length */
497 )
498 {
499 }
500 Processor (CPUT, /* Name */
501 0x1d, /* Id */
502 0x0, /* Processor IO ports range start */
503 0x0 /* Processor IO ports range length */
504 )
505 {
506 }
507 Processor (CPUU, /* Name */
508 0x1e, /* Id */
509 0x0, /* Processor IO ports range start */
510 0x0 /* Processor IO ports range length */
511 )
512 {
513 }
514 Processor (CPUV, /* Name */
515 0x1f, /* Id */
516 0x0, /* Processor IO ports range start */
517 0x0 /* Processor IO ports range length */
518 )
519 {
520 }
521 }
522}
523
524/*
525 * Local Variables:
526 * comment-start: "//"
527 * End:
528 */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette