NetBSD/sys
cgd 309213477a Make a bunch of backward-compatible changes to the boot blocks which allow
size to be reduced substantially.  (backward compatibility verified
by compiling one of the alpha boot blocks which uses all of the code
before and after, diffing the object files, and manually verifying that
the differences were 'correct'.  some differences were "unavoidable,"
it wanting to avoid a double-commit, because e.g. local variables which
were previously used were no longer used.)  a README which describes
supported options (or at least the ones mentioned below) is forthcoming.

add support for the preprocessor macro LIBSA_NO_TWIDDLE, which
  causes calls to twiddle() to be omitted if it's defined.
add support for the preprocessor macros:
	LIBSA_NO_FS_CLOSE
	LIBSA_NO_FS_WRITE
	LIBSA_NO_FS_SEEK
  which, if defined, cause the corresponding file system operations
  in the individual file system implementations to be omitted.  (note
  that all of those macros are not supported by all file systems at
  this point.  comments were added to individual file system files
  to indicate lack of support, and should be cleaned up later.  Backward
  compatibility options e.g. UFS_NOCLOSE, etc., are supported.)
add support for the preprocessor macro LIBSA_NO_FS_SYMLINK, which
  removes support for symbolic links from the file system support
  functions.  (same notes as for the macros above apply.)
add support for the preprocessor macro LIBSA_FS_SINGLECOMPONENT which
  removes all subdirectory and symlink support from the file system
  support functions.  (same notes as for the macros above apply.)
add support for the preprocessor macro LIBSA_NO_FD_CHECKING, which
  causes code relating to libsa file descriptor checks (e.g. range
  checking and checking that a file descriptor is valid) to be
  omitted if it's defined.
add support for the preprocessor macro LIBSA_NO_RAW_ACCESS, which
  causes code relating to raw device access to be omitted if it's
  defined.
change some structure copies to use bcopy() instead.  that way
  use of bcopy vs. memcpy() can easily be selected by
  LIBSA_USE_MEMCPY.  (without changes like these, you could end up
  having both bcopy() and memcpy() included.  eventually, all
  calls to bcopy should be changed to calls to memcpy() or memmove()
  as appropriate -- hopefully never the latter -- with an option to
  use bcopy instead.)
add support for the preprocessor macro LIBSA_NO_DISKLABEL_MSGS, which
  causes disklabel() to return '1' as msg rather than a string.  Can
  be used if the boot blocks don't care about the string, and need to
  save the space.
add support for the preprocessor macro LIBSA_SINGLE_FILESYSTEM, which
  if defined causes all of the file system switch code to be removed.
  Its value should be the name of the file system supported by the
  boot block, e.g. "ufs" for the FFS file system.  calls to the
  file system functions open, close, etc., which were previously
  done through a function switch are then done via direct invocation
  of <fs>_open, <fs>_close, etc. (e.g. ufs_open, ...).
add support for the preprocessor macro LIBSA_SINGLE_DEVICE, which
  does the equivalent of LIBSA_SINGLE_FILESYSTEM but for the device
  switch table.  Device entry pointes are expected to be named
  <dev>foo, e.g. the 'strategy' routine used when LIBSA_SINGLE_DEVICE
  is set to 'disk' is diskstrategy.
make ufs.c f_nindir array be unsigned ints.  the fact that it was signed
  caused ufs.c to require signed division routines (which were otherwise
  unnecessary for a small boot block).
1999-03-31 01:50:25 +00:00
..
adosfs Add _PC_FILESIZEBITS to pathconf vnop. 1999-03-22 19:21:07 +00:00
arch Shifting ecx without explicit prefix in real mode won't work. 1999-03-30 22:35:21 +00:00
coda Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now 1999-02-26 23:44:43 +00:00
compat Regen. 1999-03-30 07:37:58 +00:00
conf COMPAT_SPARC32 -> COMPAT_NETBSD32 1999-03-26 08:00:38 +00:00
ddb completely remove Mach VM support. all that is left is the all the 1999-03-24 05:50:49 +00:00
dev Enable this is a non-entropy rnd source. 1999-03-30 21:02:41 +00:00
filecorefs Add _PC_FILESIZEBITS to pathconf vnop. 1999-03-22 19:21:07 +00:00
gdbscripts
ipkdb
isofs Add _PC_FILESIZEBITS to pathconf vnop. 1999-03-22 19:21:07 +00:00
kern Set a hard limit (rather than an advisory high water mark for pages) of 1999-03-31 01:26:40 +00:00
lib Make a bunch of backward-compatible changes to the boot blocks which allow 1999-03-31 01:50:25 +00:00
lkm Cleanups from Hauke. 1999-03-27 07:09:30 +00:00
miscfs We must handle MNT_NODEV at open time, so add an open op for null and union, 1999-03-25 13:05:41 +00:00
msdosfs Fix for handling of 8+3 filenames with blanks supplied by Bill Sommerfeld 1999-03-28 11:05:43 +00:00
net ANSI C police. 1999-03-28 17:13:47 +00:00
netatalk Added per-addr input/output statistics. Currently just support netatalk 1999-03-27 01:24:49 +00:00
netccitt Domains are associated with protocol families, not address families. 1999-01-14 01:16:55 +00:00
netinet Fix a null pointer dereference in the case where forwarding is turned on and 1999-03-30 19:02:56 +00:00
netiso exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145 1999-03-12 22:42:30 +00:00
netnatm Domains are associated with protocol families, not address families. 1999-01-14 01:16:55 +00:00
netns Domains are associated with protocol families, not address families. 1999-01-14 01:28:23 +00:00
nfs Fix two problems with NFSV3CREATE_GUARDED: 1999-03-30 12:01:18 +00:00
stand vax -> __vax__ (and mips to __mips__ in ultrix_misc.c) 1998-10-20 01:46:27 +00:00
sys Fix several bugs/deficiencies in the pool allocator: 1999-03-31 01:14:06 +00:00
ufs Add initialization to quell compiler warning (only on some platforms?) 1999-03-30 16:11:43 +00:00
uvm remove some old #if 0'd-out debugging code. 1999-03-30 16:07:47 +00:00
vm Nuke at least a few files which are clearly not used any more. 1999-03-30 13:08:55 +00:00
Makefile fix typo 1999-03-10 08:56:16 +00:00