]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2004-03-13 Yoshinori K. Okuji <okuji@enbug.org>
authorokuji <okuji@localhost>
Sat, 13 Mar 2004 10:28:46 +0000 (10:28 +0000)
committerokuji <okuji@localhost>
Sat, 13 Mar 2004 10:28:46 +0000 (10:28 +0000)
From Daniele Zelante <zeldan@email.it>:
* stage2/asm.S (stop_floppy): Use INT 13, AH=00h to stop the
floppy controller instead of a direct I/O.

ChangeLog
stage2/asm.S

index ea819205d708a14553802947962da82dd308d2b1..d3bf5b117db0db0815b4947780c611bdd7a3611f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-03-13  Yoshinori K. Okuji  <okuji@enbug.org>
+
+       From Daniele Zelante <zeldan@email.it>:
+       * stage2/asm.S (stop_floppy): Use INT 13, AH=00h to stop the
+       floppy controller instead of a direct I/O.
+
 2004-03-12  Yoshinori K. Okuji  <okuji@enbug.org>
 
        * stage2/serial.c (serial_putchar): Handle the character code
index fd5e50b9b03a239ef455151f350965f45e99fbc2..248490dd052478de18e97134af3a3627ba95cfc6 100644 (file)
@@ -211,9 +211,14 @@ ENTRY(hard_stop)
  * jumped to with a known state.
  */
 ENTRY(stop_floppy)
-       movw    $0x3F2, %dx
-       xorb    %al, %al
-       outb    %al, %dx
+       call    EXT_C(prot_to_real)
+       .code16
+       pusha
+       xorb    %dl, %dl
+       int     $0x13
+       popa
+       DATA32  call EXT_C(real_to_prot)
+       .code32
        ret
 
 /*