From owner-freebsd-hackers Tue Jun 27 13:37:39 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA01808 for hackers-outgoing; Tue, 27 Jun 1995 13:37:39 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA01802 for ; Tue, 27 Jun 1995 13:37:31 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id GAA22671; Wed, 28 Jun 1995 06:33:46 +1000 Date: Wed, 28 Jun 1995 06:33:46 +1000 From: Bruce Evans Message-Id: <199506272033.GAA22671@godzilla.zeta.org.au> To: bde@zeta.org.au, rgrimes@gndrsh.aac.dev.com Subject: Re: 2.05R reboot hangs Cc: hackers@freebsd.org, wpaul@skynet.ctr.columbia.edu Sender: hackers-owner@freebsd.org Precedence: bulk >> You initialize it before jumping to the reset vector. >One that is very very hard to get right for most [3-4]86's is the >CPUID that is stored id DX:AX on power up reset since that is the >only way to get this value. "Genuine Intel NOT!" :-). >I don't want to call cold boot, I guess that was not clear from >above. Also jumping to 0xFFFF:0000 (note your address above is >not the reset vector the value here is) is not a documented interface There is no value there, only code that normally has a value embedded in it. >to the BIOS. Calling cold boot is about as reliable as triple faulting >or hitting the keyboard reset. The one and only proper way to >make this work reliable on all machines as far as I can tell would >be a good old int 0x19, and that means I had better leave the BDA's >intact. As I explained about 10 messages ago, int 0x19 isn't even useful for rebooting from DOS because it doesn't reinitialize hooked vectors. I now think the keyboard reset is best. It apparently requires disabling gateA20. The code that disables it needs to run from an address < 1MB. Page 0 is a good place. Bruce