diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-16 15:52:12 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-16 15:52:12 +0000 |
commit | 5b1214a48ed5564e35e367864b744d81a6d4d660 (patch) | |
tree | f36a529dcbac4496e14141e4899e4749c7f54140 /pc-bios/bios.diff | |
parent | 3f433d2c87d666e446b1cd45c52390d61edd189b (diff) |
int15, ah=86 BIOS fix (aka Solaris x86 hardware probe hang up fix)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@808 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'pc-bios/bios.diff')
-rw-r--r-- | pc-bios/bios.diff | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/pc-bios/bios.diff b/pc-bios/bios.diff index e53b8c7330..1ed70484c8 100644 --- a/pc-bios/bios.diff +++ b/pc-bios/bios.diff @@ -4,7 +4,7 @@ RCS file: /cvsroot/bochs/bochs/bios/rombios.c,v retrieving revision 1.108 diff -u -w -r1.108 rombios.c --- rombios.c 9 Feb 2004 16:48:50 -0000 1.108 -+++ rombios.c 16 May 2004 13:44:26 -0000 ++++ rombios.c 16 May 2004 15:16:57 -0000 @@ -2254,6 +2254,7 @@ type = read_byte(get_SS(),buffer+1) & 0x1f; removable = (read_byte(get_SS(),buffer+0) & 0x80) ? 1 : 0; @@ -13,7 +13,24 @@ diff -u -w -r1.108 rombios.c write_byte(ebda_seg,&EbdaData->ata.devices[device].device, type); write_byte(ebda_seg,&EbdaData->ata.devices[device].removable, removable); -@@ -3781,7 +3782,17 @@ +@@ -3378,6 +3379,8 @@ + and al,#0x10 + mov ah, al + ++ or ecx, ecx ++ je int1586_tick_end + int1586_tick: + in al, #0x61 + and al,#0x10 +@@ -3386,6 +3389,7 @@ + mov ah, al + dec ecx + jnz int1586_tick ++int1586_tick_end: + ASM_END + + break; +@@ -3781,7 +3785,17 @@ write_word(ebda_seg, 0x0022, mouse_driver_offset); write_word(ebda_seg, 0x0024, mouse_driver_seg); mouse_flags_2 = read_byte(ebda_seg, 0x0027); @@ -31,7 +48,7 @@ diff -u -w -r1.108 rombios.c write_byte(ebda_seg, 0x0027, mouse_flags_2); CLEAR_CF(); regs.u.r8.ah = 0; -@@ -4409,7 +4420,8 @@ +@@ -4409,7 +4423,8 @@ mouse_flags_2 = read_byte(ebda_seg, 0x0027); if ( (mouse_flags_2 & 0x80) != 0x80 ) { |