[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Add the USE_PLATFORM_TIMER flag to the FADT, to make w2k3 use the PMTIMER
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1275642383 -3600 # Node ID 06421268d2458eb9a69798acc8b14fdac425240b # Parent 1b6c9732436ba0e688a20609bb908f61d463d0ec Add the USE_PLATFORM_TIMER flag to the FADT, to make w2k3 use the PMTIMER ...because the default timesource (TSC) drifts under load. The flag is only defined in ACPI 3.0, and we provide ACPI 2.0 tables, but Windows seems happy enough to obey it anyway. Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx> --- tools/firmware/hvmloader/acpi/acpi2_0.h | 1 + tools/firmware/hvmloader/acpi/static_tables.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff -r 1b6c9732436b -r 06421268d245 tools/firmware/hvmloader/acpi/acpi2_0.h --- a/tools/firmware/hvmloader/acpi/acpi2_0.h Fri Jun 04 10:05:42 2010 +0100 +++ b/tools/firmware/hvmloader/acpi/acpi2_0.h Fri Jun 04 10:06:23 2010 +0100 @@ -255,6 +255,7 @@ struct acpi_20_fadt { #define ACPI_SEALED_CASE (1 << 11) #define ACPI_HEADLESS (1 << 12) #define ACPI_CPU_SW_SLP (1 << 13) +#define ACPI_USE_PLATFORM_CLOCK (1 << 15) /* * Firmware ACPI Control Structure (FACS). diff -r 1b6c9732436b -r 06421268d245 tools/firmware/hvmloader/acpi/static_tables.c --- a/tools/firmware/hvmloader/acpi/static_tables.c Fri Jun 04 10:05:42 2010 +0100 +++ b/tools/firmware/hvmloader/acpi/static_tables.c Fri Jun 04 10:06:23 2010 +0100 @@ -70,7 +70,8 @@ struct acpi_20_fadt Fadt = { .iapc_boot_arch = ACPI_8042, .flags = (ACPI_PROC_C1 | ACPI_WBINVD | - ACPI_FIX_RTC | ACPI_TMR_VAL_EXT), + ACPI_FIX_RTC | ACPI_TMR_VAL_EXT | + ACPI_USE_PLATFORM_CLOCK), .reset_reg = { .address_space_id = ACPI_SYSTEM_IO, _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |