Commit a1e7547389feeea0c777f558f47a0185f3fe2543
1 parent
7918bf47
APM CPU idle fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1866 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
16 additions
and
1 deletions
pc-bios/bios.bin
No preview for this file type
pc-bios/bios.diff
1 | +Index: apmbios.S | |
2 | +=================================================================== | |
3 | +RCS file: /cvsroot/bochs/bochs/bios/apmbios.S,v | |
4 | +retrieving revision 1.4 | |
5 | +diff -u -w -r1.4 apmbios.S | |
6 | +--- apmbios.S 26 Dec 2005 10:35:51 -0000 1.4 | |
7 | ++++ apmbios.S 28 Apr 2006 22:41:19 -0000 | |
8 | +@@ -225,6 +225,7 @@ | |
9 | + APMSYM(05): | |
10 | + cmp al, #0x05 | |
11 | + jne APMSYM(07) | |
12 | ++ sti | |
13 | + hlt | |
14 | + jmp APMSYM(ok) | |
15 | + | |
1 | 16 | Index: rombios.c |
2 | 17 | =================================================================== |
3 | 18 | RCS file: /cvsroot/bochs/bochs/bios/rombios.c,v |
4 | 19 | retrieving revision 1.160 |
5 | 20 | diff -u -w -r1.160 rombios.c |
6 | 21 | --- rombios.c 25 Jan 2006 17:51:49 -0000 1.160 |
7 | -+++ rombios.c 2 Apr 2006 18:29:51 -0000 | |
22 | ++++ rombios.c 28 Apr 2006 22:41:21 -0000 | |
8 | 23 | @@ -1816,6 +1816,7 @@ |
9 | 24 | { |
10 | 25 | printf(BX_APPNAME" BIOS - build: %s\n%s\nOptions: ", | ... | ... |