i386/91871: boot1: jump to 0xf000:0xfff0 instead of 0xffff:0x0 when
rebooting the machine
Björn König
bkoenig at cs.tu-berlin.de
Mon Jan 16 06:30:11 PST 2006
>Number: 91871
>Category: i386
>Synopsis: boot1: jump to 0xf000:0xfff0 instead of 0xffff:0x0 when rebooting the machine
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-i386
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 16 14:30:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Björn König
>Release:
>Organization:
>Environment:
>Description:
There was a small discussion (*) on the hackers mailing list in november 2003
where you deceided to use 0xf000:0xfff0 instead of 0xffff:0x0 in
src/sys/boot/i386/btx/btx/btx.S (1.33) to jump to the reboot handler.
For consistency you should use the same method in boot1.S.
*) Subject: BTX loader reboot on Soekris comBIOS1.22 fails (patches for btx.s and loader/main.c enclosed)
>How-To-Repeat:
>Fix:
--- boot1.S-20060116.diff begins here ---
--- src/sys/boot/i386/boot2/boot1.S.orig Sat Aug 28 10:32:23 2004
+++ src/sys/boot/i386/boot2/boot1.S Mon Jan 16 15:13:14 2006
@@ -240,7 +240,7 @@
xorb %ah,%ah # BIOS: Get
int $0x16 # keypress
movw $0x1234, BDA_BOOT # Do a warm boot
- ljmp $0xffff,$0x0 # reboot the machine
+ ljmp $0xf000,$0xfff0 # reboot the machine
/*
* Display a null-terminated string using the BIOS output.
*/
--- boot1.S-20060116.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-i386
mailing list