[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] rombios: don't busy-wait for keystrokes
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |