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.
This commit is contained in:
parent
7b43bbe40e
commit
a1d48b992f
2 changed files with 14 additions and 3 deletions
|
@ -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>
|
2004-03-12 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
* stage2/serial.c (serial_putchar): Handle the character code
|
* stage2/serial.c (serial_putchar): Handle the character code
|
||||||
|
|
11
stage2/asm.S
11
stage2/asm.S
|
@ -211,9 +211,14 @@ ENTRY(hard_stop)
|
||||||
* jumped to with a known state.
|
* jumped to with a known state.
|
||||||
*/
|
*/
|
||||||
ENTRY(stop_floppy)
|
ENTRY(stop_floppy)
|
||||||
movw $0x3F2, %dx
|
call EXT_C(prot_to_real)
|
||||||
xorb %al, %al
|
.code16
|
||||||
outb %al, %dx
|
pusha
|
||||||
|
xorb %dl, %dl
|
||||||
|
int $0x13
|
||||||
|
popa
|
||||||
|
DATA32 call EXT_C(real_to_prot)
|
||||||
|
.code32
|
||||||
ret
|
ret
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue