From owner-cvs-sys Sun Mar 8 07:09:01 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA04154 for cvs-sys-outgoing; Sun, 8 Mar 1998 07:09:01 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA04105; Sun, 8 Mar 1998 07:08:51 -0800 (PST) (envelope-from msmith@FreeBSD.org) From: Michael Smith Received: (from msmith@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA06931; Sun, 8 Mar 1998 07:06:58 -0800 (PST) Date: Sun, 8 Mar 1998 07:06:58 -0800 (PST) Message-Id: <199803081506.HAA06931@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/sys reboot.h src/sys/i386/i386 autoconf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk msmith 1998/03/08 07:06:58 PST Modified files: sys/sys reboot.h Log: Define shift, mask and extraction macros for obtaining the slice number from the bootdev parameter. This is arguably a 386-ism, although disks partitioned in this fashion are not uncommon. Revision Changes Path 1.17 +4 -1 src/sys/sys/reboot.h Modified files: sys/i386/i386 autoconf.c Log: Construct the minor number for the root device taking into account the slice number passed in by the bootblocks. This means the kernel will not use the compatability slice to obtain the root filesystem when booting from a sliced disk. Use the extraction macros from reboot.h rather than stating them in full again. Revision Changes Path 1.86 +10 -8 src/sys/i386/i386/autoconf.c