[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.2-testing] x86 hvm: Support interrupt delivery for PIT channel 0 when in modes 3 and 4.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1210688074 -3600 # Node ID 1f673d541aad6bdddff72cae57fc89210e089089 # Parent ed61db6c6fe0ba2eba723fba03310a5a4d14641b x86 hvm: Support interrupt delivery for PIT channel 0 when in modes 3 and 4. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> xen-unstable changeset: 17578:a95c2e36d6fda747279123ab13bfaf40c4041337 xen-unstable date: Tue May 06 16:20:24 2008 +0100 --- xen/arch/x86/hvm/i8254.c | 28 +++++++++++++++------------- 1 files changed, 15 insertions(+), 13 deletions(-) diff -r ed61db6c6fe0 -r 1f673d541aad xen/arch/x86/hvm/i8254.c --- a/xen/arch/x86/hvm/i8254.c Tue May 13 15:12:54 2008 +0100 +++ b/xen/arch/x86/hvm/i8254.c Tue May 13 15:14:34 2008 +0100 @@ -206,19 +206,21 @@ static void pit_load_count(PITState *pit switch ( s->mode ) { - case 2: - /* Periodic timer. */ - create_periodic_time(v, &pit->pt0, period, 0, 0, pit_time_fired, - &pit->count_load_time[channel]); - break; - case 1: - /* One-shot timer. */ - create_periodic_time(v, &pit->pt0, period, 0, 1, pit_time_fired, - &pit->count_load_time[channel]); - break; - default: - destroy_periodic_time(&pit->pt0); - break; + case 2: + case 3: + /* Periodic timer. */ + create_periodic_time(v, &pit->pt0, period, 0, 0, pit_time_fired, + &pit->count_load_time[channel]); + break; + case 1: + case 4: + /* One-shot timer. */ + create_periodic_time(v, &pit->pt0, period, 0, 1, pit_time_fired, + &pit->count_load_time[channel]); + break; + default: + destroy_periodic_time(&pit->pt0); + break; } } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |