Add HPET emulation to qemu - Bochs BIOS patch (v5)
PATCH 2/2 Add HPET emulation to qemu - Bochs BIOS patch (v5)
This has not changed, just resending as part of the series.
Signature · 4 lines
Elizabeth Kon (Beth) IBM Linux Technology Center Open Hypervisor Team email: [email protected]
bios/acpi-dsdt.dsl +20 -0
@@ -159,6 +159,26 @@ Return (MEMP) } } +#ifdef BX_QEMU + Device(HPET) { + Name(_HID, EISAID("PNP0103")) + Name(_UID, 0) + Method (_STA, 0, NotSerialized) { + Return(0x0F) + } + Name(_CRS, ResourceTemplate() { + DWordMemory( + ResourceConsumer, PosDecode, MinFixed, MaxFixed, + NonCacheable, ReadWrite, + 0x00000000, + 0xFED00000, + 0xFED003FF, + 0x00000000, + 0x00000400 /* 1K memory: FED00000 - FED003FF */ + ) + }) + } +#endif } Scope(\_SB.PCI0) {
bios/rombios32.c +86 -0
143 lines not on this page · raw message