From owner-freebsd-commit Sun Apr 16 05:48:09 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA28972 for commit-outgoing; Sun, 16 Apr 1995 05:48:09 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA28961 for cvs-sys-outgoing; Sun, 16 Apr 1995 05:48:05 -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 FAA28952 ; Sun, 16 Apr 1995 05:47:42 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id WAA08936; Sun, 16 Apr 1995 22:39:39 +1000 Date: Sun, 16 Apr 1995 22:39:39 +1000 From: Bruce Evans Message-Id: <199504161239.WAA08936@godzilla.zeta.org.au> To: bde@zeta.org.au, davidg@Root.COM Subject: Re: cvs commit: src/sys/i386/i386 locore.s Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Sender: commit-owner@FreeBSD.org Precedence: bulk >>> Modified: sys/i386/i386 locore.s >>> Log: >>> Remove gratuitous waste of 2K of memory for BIOS variables. We never load >>> the kernel at 0-640k; we haven't had the ability to do that since before >>... >>boot.c has `#ifdef REDUNDANT' code to skip over the "BIOS variables" between >>(startaddr + 0x400) and (startaddr + 0x4ff) even when startaddr != 0. >>Removing the padding is a bit dangerous because bootstraps older than approx. >>1995/01/25 don't have `#ifdef REDUNDANT' so they depend on the padding. > This would skip over the movw instruction at the beginning (which wouldn't >set the warmstart). No, the movw is in the first 0x400 bytes that gets loaded. Only 0x100 bytes gets skipped. >With the new boot structure, numerous changes to the >startup flags, etc, we more or less require people to update the bootblocks >anyway. I don't think this is a problem. We should require this (now and in future), and remove all of the forwards compatibility cruft from locore.s. Bruce