Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 1998 07:06:58 -0800 (PST)
From:      Michael Smith <msmith@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
Message-ID:  <199803081506.HAA06931@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803081506.HAA06931>