qemu/hw acpi.c acpi-dsdt.hex acpi-dsdt.dsl
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Fabrice Bellard <bellard> 06/06/14 18:17:04
Modified files:
hw : acpi.c acpi-dsdt.hex acpi-dsdt.dsl
Log message:
more ACPI definition to keep Solaris Happy (Juergen Kiel)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/acpi.c?cvsroot=qemu&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/acpi-dsdt.hex?cvsroot=qemu&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/acpi-dsdt.dsl?cvsroot=qemu&r1=1.2&r2=1.3
Patches:
Index: acpi.c
===================================================================
RCS file: /sources/qemu/qemu/hw/acpi.c,v
retrieving revision 1.4
retrieving revision 1.5
acpi.c +7 -1
@@ -240,7 +240,6 @@ pci_conf[0x0b ] =0x06 ;// bridge device pci_conf[0x0e ] =0x00 ;// header_type pci_conf[0x3d ] =0x01 ;// interrupt pin 1 - pci_conf[0x60 ] =0x10 ;// release number pm_io_base =PM_IO_BASE ; pci_conf[0x40 ] = pm_io_base |1 ;
@@ -253,6 +252,13 @@register_ioport_write (SMI_CMD_IO_ADDR ,1 ,1 , smi_cmd_writeb, s);register_ioport_write (ACPI_DBG_IO_ADDR ,4 ,4 , acpi_dbg_writel, s); +/* XXX: which specification is used ? The i82731AB has different +mappings */ + pci_conf[0x5f ] = (parallel_hds[0 ] !=NULL ?0x80 :0 ) |0x10 ; + pci_conf[0x63 ] =0x60 ; + pci_conf[0x67 ] = (serial_hds[0 ] !=NULL ?0x08 :0 ) | + (serial_hds[1 ] !=NULL ?0x90 :0 ); + s->tmr_timer =qemu_new_timer (vm_clock, pm_tmr_timer, s); piix4_pm_state = s; }
Index: acpi-dsdt.hex
===================================================================
RCS file: /sources/qemu/qemu/hw/acpi-dsdt.hex,v
retrieving revision 1.2
retrieving revision 1.3
acpi-dsdt.hex +158 -102
283 lines not on this page · raw message
Index: acpi-dsdt.dsl
===================================================================
RCS file: /sources/qemu/qemu/hw/acpi-dsdt.dsl,v
retrieving revision 1.2
retrieving revision 1.3
acpi-dsdt.dsl +128 -1
148 lines not on this page · raw message