WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.2-testing] x86 hvm: Support interrupt delivery fo

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] x86 hvm: Support interrupt delivery for PIT channel 0 when in modes 3 and 4.
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 13 May 2008 08:31:13 -0700
Delivery-date: Tue, 13 May 2008 08:31:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] x86 hvm: Support interrupt delivery for PIT channel 0 when in modes 3 and 4., Xen patchbot-3.2-testing <=