diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-12-21 12:05:34 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-12-21 12:05:34 +0000 |
commit | e4caeac5041ecef09a26290641f58b98a88fdeca (patch) | |
tree | de644610e013875b828b4ff2f1ffd5393d5d4f4e /xen/arch/x86/hvm/i8254.c | |
parent | d158b8d4eceeeddfad389ec639c6622dd051041d (diff) | |
download | xen-e4caeac5041ecef09a26290641f58b98a88fdeca.tar.gz xen-e4caeac5041ecef09a26290641f58b98a88fdeca.tar.bz2 xen-e4caeac5041ecef09a26290641f58b98a88fdeca.zip |
[HVM] Emulates HPET in hypervisor and extend ACPI tables.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
Diffstat (limited to 'xen/arch/x86/hvm/i8254.c')
-rw-r--r-- | xen/arch/x86/hvm/i8254.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/i8254.c b/xen/arch/x86/hvm/i8254.c index 3545fcb6e7..a81ae57722 100644 --- a/xen/arch/x86/hvm/i8254.c +++ b/xen/arch/x86/hvm/i8254.c @@ -352,6 +352,12 @@ static uint32_t pit_ioport_read(void *opaque, uint32_t addr) return ret; } +void pit_stop_channel0_irq(PITState * pit) +{ + PITChannelState *s = &pit->channels[0]; + destroy_periodic_time(&s->pt); +} + static void pit_reset(void *opaque) { PITState *pit = opaque; |