APM CPU idle fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1866 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2006-04-28 22:47:21 +00:00
parent 7918bf476b
commit a1e7547389
2 changed files with 16 additions and 1 deletions

Binary file not shown.

View File

@ -1,10 +1,25 @@
Index: apmbios.S
===================================================================
RCS file: /cvsroot/bochs/bochs/bios/apmbios.S,v
retrieving revision 1.4
diff -u -w -r1.4 apmbios.S
--- apmbios.S 26 Dec 2005 10:35:51 -0000 1.4
+++ apmbios.S 28 Apr 2006 22:41:19 -0000
@@ -225,6 +225,7 @@
APMSYM(05):
cmp al, #0x05
jne APMSYM(07)
+ sti
hlt
jmp APMSYM(ok)
Index: rombios.c
===================================================================
RCS file: /cvsroot/bochs/bochs/bios/rombios.c,v
retrieving revision 1.160
diff -u -w -r1.160 rombios.c
--- rombios.c 25 Jan 2006 17:51:49 -0000 1.160
+++ rombios.c 2 Apr 2006 18:29:51 -0000
+++ rombios.c 28 Apr 2006 22:41:21 -0000
@@ -1816,6 +1816,7 @@
{
printf(BX_APPNAME" BIOS - build: %s\n%s\nOptions: ",