Brute force a register save/restore for int 0x13 (disk I/O) and 0x10 (putchar)
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 18 Jul 2004 18:26:33 +0000 (18:26 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 18 Jul 2004 18:26:33 +0000 (18:26 +0000)
commit3a7e9e39430222b0a03672180a2c5ce650a8f83f
treea280507e50422b992874d1e412022bf11db08731
parent15facac889fb2c8a490e811f625e9175e7599049
Brute force a register save/restore for int 0x13 (disk I/O) and 0x10 (putchar)
by using pusha/popa.  Don't trust the BIOS to properly save and restore
registers.

Note that the TICKS check for boot0 currently still depends on %di being
retained across two BIOS calls.  More code reorganization is required to
make a save/restore fit in the space available.
sys/boot/i386/boot0/boot0.S
sys/boot/i386/boot0/boot0.s
sys/boot/pc32/boot0/boot0.S