|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-3.4-testing] rombios: don't busy-wait for keystroke
# 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 <=
|
|
|
|
|