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-unstable] rombios: don't busy-wait for keystrokes

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] rombios: don't busy-wait for keystrokes
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 22 Nov 2009 23:35:25 -0800
Delivery-date: Sun, 22 Nov 2009 23:36:07 -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 1258958849 0
# Node ID c11e2c3df5471514eaeb5dc2ba601f3f368627ac
# Parent  27d816a4bfb2481f18ed4edde451288522bb937d
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>
---
 tools/firmware/rombios/rombios.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 27d816a4bfb2 -r c11e2c3df547 tools/firmware/rombios/rombios.c
--- a/tools/firmware/rombios/rombios.c  Mon Nov 23 06:46:58 2009 +0000
+++ b/tools/firmware/rombios/rombios.c  Mon Nov 23 06:47:29 2009 +0000
@@ -11258,7 +11258,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-unstable] rombios: don't busy-wait for keystrokes, Xen patchbot-unstable <=