[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/2] Make HPET Legacy Only - BIOS change
From: |
Beth Kon |
Subject: |
[Qemu-devel] [PATCH 2/2] Make HPET Legacy Only - BIOS change |
Date: |
Fri, 31 Jul 2009 10:06:02 -0400 |
Change the number of advertised HPET timers
from 3 to 2.
diff --git a/bios/rombios32.c b/bios/rombios32.c
index 3d15283..bb7c339 100644
--- a/bios/rombios32.c
+++ b/bios/rombios32.c
@@ -1904,7 +1904,7 @@ void acpi_bios_init(void)
/* Note timer_block_id value must be kept in sync with value advertised by
* emulated hpet
*/
- hpet->timer_block_id = cpu_to_le32(0x8086a201);
+ hpet->timer_block_id = cpu_to_le32(0x8086a101);
hpet->addr.address = cpu_to_le32(ACPI_HPET_ADDRESS);
acpi_build_table_header((struct acpi_table_header *)hpet,
"HPET", sizeof(*hpet), 1);