2fe8fb192f
There is important information about booting non-ack images in docs/UPDATING. ack/aout-format images can't be built any more, and booting clang/ELF-format ones is a little different. Updating to the new boot monitor is recommended. Changes in this commit: . drop boot monitor -> allowing dropping ack support . facility to copy ELF boot files to /boot so that old boot monitor can still boot fairly easily, see UPDATING . no more ack-format libraries -> single-case libraries . some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases . drop several ack toolchain commands, but not all support commands (e.g. aal is gone but acksize is not yet). . a few libc files moved to netbsd libc dir . new /bin/date as minix date used code in libc/ . test compile fix . harmonize includes . /usr/lib is no longer special: without ack, /usr/lib plays no kind of special bootstrapping role any more and bootstrapping is done exclusively through packages, so releases depend even less on the state of the machine making them now. . rename nbsd_lib* to lib* . reduce mtree
32 lines
951 B
C
32 lines
951 B
C
/* sys/ioctl.h - All ioctl() command codes. Author: Kees J. Bot
|
|
* 23 Nov 2002
|
|
*
|
|
* This header file includes all other ioctl command code headers.
|
|
*/
|
|
|
|
#ifndef _S_IOCTL_H
|
|
#define _S_IOCTL_H
|
|
|
|
/* A driver that uses ioctls claims a character for its series of commands.
|
|
* For instance: #define TCGETS _IOR('T', 8, struct termios)
|
|
* This is a terminal ioctl that uses the character 'T'. The character(s)
|
|
* used in each header file are shown in the comment following.
|
|
*/
|
|
|
|
#include <sys/ioc_tty.h> /* 'T' 't' 'k' */
|
|
#include <sys/ioc_net.h> /* 'n' */
|
|
#include <sys/ioc_disk.h> /* 'd' */
|
|
#include <sys/ioc_file.h> /* 'f' */
|
|
#include <sys/ioc_memory.h> /* 'm' */
|
|
#include <sys/ioc_tape.h> /* 'M' */
|
|
#include <sys/ioc_sound.h> /* 's' */
|
|
|
|
#if defined(_NETBSD_SOURCE)
|
|
#define TIOCDRAIN TCDRAIN
|
|
#define TIOCGETA TCGETS
|
|
#define TIOCSETA TCSETS
|
|
#define TIOCSETAW TCSETSW
|
|
#define TIOCSETAF TCSETSF
|
|
#endif
|
|
|
|
#endif /* _S_IOCTL_H */
|