From owner-cvs-sys Sun Aug 3 05:15:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA21759 for cvs-sys-outgoing; Sun, 3 Aug 1997 05:15:21 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA21753; Sun, 3 Aug 1997 05:15:14 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id VAA13952; Sun, 3 Aug 1997 21:45:05 +0930 (CST) From: Michael Smith Message-Id: <199708031215.VAA13952@genesis.atrad.adelaide.edu.au> Subject: Re: cvs commit: src/sys/i386/boot/biosboot Makefile In-Reply-To: <199708031017.UAA11947@godzilla.zeta.org.au> from Bruce Evans at "Aug 3, 97 08:17:57 pm" To: bde@zeta.org.au (Bruce Evans) Date: Sun, 3 Aug 1997 21:45:05 +0930 (CST) Cc: bde@zeta.org.au, msmith@atrad.adelaide.edu.au, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, peter@spinner.dialix.com.au, phk@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce Evans stands accused of saying: > > > >> New features are missing from cdboot, dosboot and netboot. > > > >And this is why. biosboot/cdboot/dosboot/netboot should be as small > >as is feasible to allow them to fetch the single, common third-stage > >bootstrap. > > The third stage can't really be simpler or common, since it would need to > contain most of the i/o code from the second stage or talk to the second I never suggested that it would be simpler, in fact the discussion centres around making it _more_complex_, in order to remove such things as userconfig from the kernel, as well as other startup bloat. (eg. I would really like to read the ECSD data and feed it to the kernel). It would likely contain a superset of _all_ of the I/O code from all of the second stages, in order to truly be a single third stage. Your point about using callbacks would be good in the case of the netboot code. > stage using software interrupts or far calls. Dosboot would need a lot > more code to run common code, since the common mode would have to be > protected. Dosboot currently only switches to protected mode for copying > pieces of the kernel to high memory and just for starting the kernel. Dosboot could comfortably subsume the third-stage bootstrap, as it is not size-constrained. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[