aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/Makefile
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-25 11:50:54 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-25 11:50:54 +0100
commitfcf4e106d0be62c04c62393632bb8b5a52c2dc8a (patch)
tree1cd785807ff527ac52f0aad588e46439d09318f2 /xen/arch/x86/hvm/Makefile
parent94e4fb8a1d430fec021c1981f9fd25df6d0246a1 (diff)
downloadxen-fcf4e106d0be62c04c62393632bb8b5a52c2dc8a.tar.gz
xen-fcf4e106d0be62c04c62393632bb8b5a52c2dc8a.tar.bz2
xen-fcf4e106d0be62c04c62393632bb8b5a52c2dc8a.zip
[HVM] Move ACPI timer to HV, which is the last platform timer in Qemu.
We found Vista polls ACPI timer very frequently (about 15 times averagely) when handling timer (RTC @ 64HZ) interrupt routine. Though the exact reason is known, it should be related to system time adjustment. When it's in Qemu, the overhead is big. After moving, Vista's idle overhead decreases dramatically from ~10% to 0.9%.=20 Another benefit is that Vista can only pass Performance rating with this patch. The root cause is that ACPI timer in Qemu isn't synchronous with other platform timer in HV, which results in Vista complains "can't measure TSC frequency". This patch changes vpit.h to vpt.h, for it not only has pit structure in it, but other platform timer's structure. Another change is moving ACPI timer and related address from acpi.h to ioreq.h, which can be shared by HV and ACPI firmware. Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
Diffstat (limited to 'xen/arch/x86/hvm/Makefile')
-rw-r--r--xen/arch/x86/hvm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/Makefile b/xen/arch/x86/hvm/Makefile
index 37623ff5eb..843a9232bf 100644
--- a/xen/arch/x86/hvm/Makefile
+++ b/xen/arch/x86/hvm/Makefile
@@ -5,6 +5,7 @@ obj-y += hvm.o
obj-y += i8254.o
obj-y += i8259.o
obj-y += rtc.o
+obj-y += pmtimer.o
obj-y += instrlen.o
obj-y += intercept.o
obj-y += io.o