From owner-cvs-all Tue Jun 27 13: 4:15 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A90837B559; Tue, 27 Jun 2000 13:04:11 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA56308; Tue, 27 Jun 2000 13:04:11 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-Id: <200006272004.NAA56308@freefall.freebsd.org> From: John Baldwin Date: Tue, 27 Jun 2000 13:04:11 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/i386/mbr mbr.s X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2000/06/27 13:04:11 PDT Modified files: sys/boot/i386/mbr mbr.s Log: - Don't blindly assume that there are 8 hard drives installed. Instead, use the BIOS Equipment List to determine how many hard drives are installed and if the drive number we received in %dl is valid. - Don't bother to disable interrupts when setting up the stack. The 8086 and beyond implicitly disable interrupts after an instruction that sets %ss (for example, a pop or a mov) so that you can safely set %ss and %sp in two consecutive instructions. An exception to this is the lss instruction, which can set both registers simultaneously and thus doesn't need this hack. - Add support for EDD BIOS extensions to support booting off of hard drives of nearly arbitrary length. Revision Changes Path 1.6 +38 -11 src/sys/boot/i386/mbr/mbr.s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message