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.4-testing] rombios: don't busy-wait for keystroke

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] rombios: don't busy-wait for keystrokes
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Nov 2009 00:40:42 -0800
Delivery-date: Fri, 27 Nov 2009 00:41:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 1259310316 0
# Node ID 6090fa95abc1d430da1532f2a72670138af995ff
# Parent  f937968640d804942d8b779633f9c04045ea1142
rombios: don't busy-wait for keystrokes

Spinning waiting for the keyboard is a bit rude on a virtual
machine. Wait for an interrupt instead.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
xen-unstable changeset:   20460:c11e2c3df547
xen-unstable date:        Mon Nov 23 06:47:29 2009 +0000
---
 tools/firmware/rombios/rombios.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r f937968640d8 -r 6090fa95abc1 tools/firmware/rombios/rombios.c
--- a/tools/firmware/rombios/rombios.c  Fri Nov 27 08:24:37 2009 +0000
+++ b/tools/firmware/rombios/rombios.c  Fri Nov 27 08:25:16 2009 +0000
@@ -11250,7 +11250,7 @@ int16_wait_for_key:
   cmp  bx, 0x001c
   jne  int16_key_found
   sti
-  nop
+  hlt
 #if 0
                            /* no key yet, call int 15h, function AX=9002 */
   0x50,                    /* push AX */

_______________________________________________
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.4-testing] rombios: don't busy-wait for keystrokes, Xen patchbot-3.4-testing <=