Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6635334e95
Fetching contributors…

Cannot retrieve contributors at this time

61 lines (55 sloc) 2.12 kb
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../kvm/16-bios.patch
# Copyright (C) 2010 - 2012 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
# Send to upstream BOCHS
This ACPI BIOS patch provides:
- Enable AHCI support
- The PCI bus definition for PIC, HPET, RTC, SMC and OSYS and SMIF
- An PBLK which provides the size of the L2 and L3 caches
Signed-off-by: Alex Graf - http://alex.csgraf.de
Index: qemu-kvm-0.12.1.2/roms/seabios-mac/src/acpi-dsdt.dsl
===================================================================
--- qemu-kvm-0.12.1.2.orig/roms/seabios-mac/src/acpi-dsdt.dsl
+++ qemu-kvm-0.12.1.2/roms/seabios-mac/src/acpi-dsdt.dsl
@@ -194,6 +194,7 @@ DefinitionBlock (
Device(HPET) {
Name(_HID, EISAID("PNP0103"))
+ Name(_CID, 0x010CD041)
Name(_UID, 0)
Method (_STA, 0, NotSerialized) {
Return(0x0F)
@@ -210,6 +211,23 @@ DefinitionBlock (
)
})
}
+ Device (SMC)
+ {
+ Name (_HID, EisaId ("APP0001"))
+ Name (_CID, "smc-napa")
+ Name (_STA, 0x0B)
+ Name (_CRS, ResourceTemplate ()
+ {
+ IO (Decode16,
+ 0x0300, // Range Minimum
+ 0x0300, // Range Maximum
+ 0x01, // Alignment
+ 0x20, // Length
+ )
+ IRQNoFlags ()
+ {6}
+ })
+ }
}
Scope(\_SB.PCI0) {
Jump to Line
Something went wrong with that request. Please try again.