NetBSD/sys/compat
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
..
aout Regen. 2002-05-03 00:22:16 +00:00
aoutm68k m68k syscall rototill: 2002-07-13 08:28:40 +00:00
common Add kernel support for having userland provide the signal trampoline: 2002-07-04 23:32:02 +00:00
freebsd Add kernel support for having userland provide the signal trampoline: 2002-07-04 23:32:02 +00:00
hpux correct range check, have overflow check, fix type mismatches, 2002-08-03 00:12:48 +00:00
ibcs2 wrong semicolon at EOL. notified by wiz 2002-08-08 00:15:32 +00:00
irix Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
linux Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
m68k4k add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
mach Implement passing AT_{E,R}{U,G}ID in the elf aux vector, like solaris. 2002-08-26 21:05:59 +00:00
netbsd32 Adapt to recent exec changes. 2002-08-29 14:02:50 +00:00
osf1 Implement passing AT_{E,R}{U,G}ID in the elf aux vector, like solaris. 2002-08-26 21:05:59 +00:00
ossaudio Make SNDCTL_DSP_POST a nop. It's explicitly *not* supposed to sleep, and as 2001-12-24 00:10:46 +00:00
pecoff Implement passing AT_{E,R}{U,G}ID in the elf aux vector, like solaris. 2002-08-26 21:05:59 +00:00
sunos Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
sunos32 Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
svr4 Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
svr4_32 Fix internal copyargs too. 2002-08-29 14:01:08 +00:00
ultrix Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
vax1k add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
Makefile