Messages in this thread Patch in this message | | | Date | Sat, 10 May 2003 04:56:34 +0200 | From | Andi Kleen <> | Subject | [PATCH] Use correct x86 reboot vector |
| |
Extensive discussion by various experts on the discuss@x86-64.org mailing list concluded that the correct vector to restart an 286+ CPU is f000:fff0, not ffff:0000. Both seem to work on current systems, but the first is correct.
See the "DPMI on AMD64" and "Warm reboot for x86-64 linux" threads on http://www.x86-64.org/mailing_lists/list?listname=discuss&listnum=0 for more details.
This patch fixes the 2.5.69 i386 reboot code to use this too.
--- linux-2.5.69/arch/i386/kernel/reboot.c-o 2003-03-28 18:32:18.000000000 +0100 +++ linux-2.5.69/arch/i386/kernel/reboot.c 2003-05-10 04:51:35.000000000 +0200 @@ -123,7 +123,7 @@ }; static unsigned char jump_to_bios [] = { - 0xea, 0x00, 0x00, 0xff, 0xff /* ljmp $0xffff,$0x0000 */ + 0xea, 0xf0, 0xff, 0x00, 0xf0 /* ljmp $0xf000:0xfff0 */ }; /* - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |