Commit Graph

894 Commits

Author SHA1 Message Date
mycroft
64d080efe0 Make various standard wmesg strings const. 1997-10-09 12:59:50 +00:00
mycroft
7f35228e7e Make wmesg arguments to various functions const. 1997-10-09 12:49:44 +00:00
mycroft
c0ce02a936 Use __const rather than const for sys_errlist, so it DTRT with -traditional.
Also, make sys_nerr __const.  Partly from Todd Vierling in PR 4151.
1997-10-09 11:33:03 +00:00
jtc
324ce8d6cb Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:37:50 +00:00
thorpej
90de61b390 Define two new ioctls:
DIOCGDEFLABEL - get default label
DIOCCLRLABEL - clear label
1997-10-08 21:18:45 +00:00
enami
4d74e9b7c8 Declare prototype of lutimes(2). 1997-10-06 01:42:33 +00:00
enami
b55d9d74eb Declare prototype of lchmod(2). 1997-10-06 01:41:46 +00:00
thorpej
176a81b2c5 Copyright assigned to The NetBSD Foundation. 1997-10-05 18:37:01 +00:00
veego
43e67d00a1 Regen with the correct NetBSD RCS ID from syscalls.master. 1997-10-04 17:43:31 +00:00
veego
a05ca8674c Fix typo in the last commit. 1997-10-04 17:33:42 +00:00
kleink
7ebb8314c4 Per 1003.1b-93, move nanosleep() prototype from <sys/time.h> to <time.h>
and add appropriate namespace protection.  Also protect timer_*() prototypes.
1997-10-04 15:00:42 +00:00
kleink
0398fdeea2 Make the RLIMIT_NPROC resource limit of process 0 a kernel configuration
option; fixes PR kern/3702 from Havard Eidnes.  However, we avoid dealing with
the CHILD_MAX constant but let users specify MAXUPROC instead.
1997-10-04 14:30:21 +00:00
enami
45a77d9452 Regen. 1997-10-03 15:07:24 +00:00
mjacob
4549585b43 Add mtop command to enable/disable compression. Added 4 new ioctls to
read logical or hardware block position and to space to logical or hardware
block position.
1997-09-29 19:25:26 +00:00
mjacob
9f482818bc Add 'initialize element status' command; note (for future fixing in ch.c)
that a number of jukeboxes can't cope with DBD (disable block descriptors)-
we'll have to fix that some day.
1997-09-29 17:32:23 +00:00
drochner
6c6328cc8f enable "device_register()" for the i386 too 1997-09-20 14:08:27 +00:00
leo
d4713d24c2 Implement the kernel part of pr-1891. This allows for a more flexible sized
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.
1997-09-19 13:52:37 +00:00
enami
acdc8c898c Add new ioctl OSCIOCREPROBE and OSCIOCIDENTIFY to support binary
compatibility with NetBSD 1.2.
1997-09-19 00:58:44 +00:00
mycroft
16a8787248 Fix execve(2) and *setregs() interfaces so emulations can set registers in a
more correct way.  (See tech-kern.)
1997-09-11 23:01:44 +00:00
veego
b79dba1b36 syscalls.master changed; regen. 1997-09-09 08:07:00 +00:00
chuck
5ef067d288 syscalls.master changed; regen. 1997-09-08 18:12:29 +00:00
bouyer
6f3bab1f59 Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
augustss
955e1e9119 Make sure audio device starts in half-duplex mode and document the fact. 1997-08-26 19:03:55 +00:00
augustss
6616d47838 - Change audio_hw_if a little: set_param now sets the play and record modes
at the same time instead by using two different calls.  This enables
  it to check more easily if the combined mode is all right.
- Improve the error checking in audio.c.
- Add a new audio property, AUDIO_PROP_INDEPENDENT, show if the
  play and record settings are independent.
- Fix some buglets in audio.c.
1997-08-24 22:31:23 +00:00
drochner
8ed7d60a6f Avoid inclusion of user-level stuff for standalone code. 1997-08-14 15:53:43 +00:00
christos
83773e0db2 Add prototypes for the SYSCALL_DEBUG functions 1997-07-28 23:25:06 +00:00
augustss
9745684ebe Changes to the sudio system:
- It is now possible to handle devices that want "looping" DMA,
    e.g. the SoundBlaster correctly.  The WSS and SB drivers use this.
    To do this several new methods were introduced in audio_hw_if.
  - Different silence handling (forced by previous change).
  - The audio driver can now be mmap()-ed, but due to problems in
    the VM system only for writing for now.
  - The OSS (Linux) audio emulation takes advantage of some of the
    new features.
1997-07-27 01:16:32 +00:00
kleink
cc67a99801 Nuke definitions of the unused TIOCMOD[GS] ioctls; they are pre-4.4BSD vintage
and aren't implemented in the tty(4) driver any longer.  Fixes standards/2741
(actually this is not the appropriate category) from Greg Lindahl.
1997-07-19 15:44:39 +00:00
augustss
8727da130b In the name of backwards compatibility AUDIO_ENCODING_LINEAR has been
renamed AUDIO_ENCODING_SLINEAR and AUDIO_ENCODING_LINEAR reverts to the
NetBSD 1.2 sematics.  A kernel with COMPAT_12 defined will accept
AUDIO_ENCODING_LINEAR and treat it as before, without COMPAT_12 it
will be rejected.
1997-07-15 07:46:04 +00:00
christos
fd464a1a5d Correct prototype for __errno(). 1997-07-08 20:23:42 +00:00
cgd
c96fac46ea update for new vnode_if.sh 1997-07-07 20:19:54 +00:00
fvdl
5dec49d28c There appear to be spinlock bugs in the VM code. They are not a problem
now, as we're always one on CPU (they will be later, though). With DEBUG,
they cause a lot of output, so DEBUG -> LOCKDEBUG for now.
1997-07-06 22:53:14 +00:00
fvdl
eb5b4ac910 Add lock count fields to proc structure. Always define NCPU to 1 for now
in lock.h
1997-07-06 12:32:38 +00:00
fvdl
f93a04da47 Import Lite2 locking code 1997-07-06 12:19:53 +00:00
christos
e1130c4e6a tyop 1997-06-29 18:55:36 +00:00
christos
eb7327d1ff Add missing braces in initializers. 1997-06-29 18:50:54 +00:00
lukem
2ed204d14c Change {UID,GID}_MAX from 2^32-2 to 2^31-2 (which was the original
intention). This is because setreuid takes signed ints, which may
be -1 to indicate ``don't change [ug]id''.
1997-06-25 00:48:09 +00:00
fvdl
acfef4258b Add MNT_EXPUBLIC flag, add index file field to export structure and
nfs_public structure, for WebNFS support. Also add prototypes of
function added to vfs_subr.c
1997-06-24 23:47:44 +00:00
thorpej
d935da544d Remove the dtom() macro - nothing uses it anymore, and nothing should,
ever, ever again.
1997-06-24 19:14:52 +00:00
thorpej
a149ed59e4 Eliminate use of dtom() in the handing of UNIX domain sockets. Add an
"unp_addrlen" member to the unpcb, and use it when copying the socket
name.  This eliminates that last uses of dtom() in the system.
1997-06-24 19:12:53 +00:00
christos
9be11f8da1 Move fscknames from fsck.c to here and add ext2fs. 1997-06-20 15:18:03 +00:00
mikel
1ed84205a8 add prototypes for clock_getres(), clock_gettime(), clock_settime(),
and nanosleep() syscalls.
1997-06-20 07:21:40 +00:00
christos
9ffb3adca4 Add __IDSTRING, __RCSID, and __COPYRIGHT macros. 1997-06-18 19:09:50 +00:00
thorpej
36330c8c5e Add a short comment clarifying the purpose of swapdev and swapdev_vp. 1997-06-15 23:42:12 +00:00
thorpej
70eb4a4223 Add an extern declaration for dumpspec. 1997-06-14 04:19:48 +00:00
mrg
5321ad5c6f regenerate. 1997-06-12 22:07:47 +00:00
mrg
32d6beee19 regenerate. 1997-06-12 21:47:09 +00:00
mrg
68e8b2b97c we are now 1.2G. 1997-06-12 19:41:10 +00:00
mrg
7620d5109b remove ex-variables. 1997-06-12 17:59:30 +00:00
mrg
3ab07d1ae2 add M_VMSWAP. 1997-06-12 17:59:13 +00:00