summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Only #include <sys/shm.h> if SYSVSHM (for shmexit() prototype)peter1996-01-011-2/+8
| | | | Add missing #include <sys/sem.h> if SYSVSEM (for semexit() prototype)
* Make pipe() return a set of bidirectional pipe fd's rather than one-way onlypeter1996-01-011-3/+3
| | | | | | | | | just like on SVR4. This has no effect on any current programs in our source, but makes the use of SVR4 code a little easier. There is no code or implementation cost in the kernel.. This two-line change merely sets the modes on the ends of the pipes to be bidirectional. There are no other changes.
* Restrict /devfs/io perms to 0600.joerg1995-12-312-4/+4
| | | | | | Nobody in our regular source tree, or in the non-distfile part of the ports tree does use /dev/io anyway, so this might be replaced by another scenario some day.
* In memory test, cast pointer as "volatile int *", not "int *" to make suredg1995-12-302-18/+18
| | | | | that gcc doesn't cache the value used in the test. Pointed out by Erich Boleyn <erich@uruk.org>.
* This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-307-1870/+0
| | | | which included commits to RCS files with non-trunk default branches.
* recording cvs-1.6 file deathpeter1995-12-30135-58644/+0
|
* Use a medium_type field of 0 (Default), instead of the value that wasjoerg1995-12-301-3/+9
| | | | | | | | | | | | obtained by the MOSE SENSE command. SONY drives are too stupid to eat their own food. Submitted by: stu@solaris.com (Stu Phillips) While i was at it, i've removed two bogus channel numbers in the``set mono'' command, that kept my Toshiba drive complaining. Also remove Julian's misspelling of `stereo'.
* Copied mcount.c from the library again. #include'ing it via a relativebde1995-12-301-3/+325
| | | | path to a possibly-nonexistent place didn't work well enough. Sigh.
* Restored likely_com_ports[] from rev.1.122 so that Hayes ESP support atbde1995-12-303-3/+9
| | | | least compiles.
* Oops, forgot a little difference between my src-tree and ours...sos1995-12-302-4/+4
|
* Fixed a bug with the ATAPI_STATIC option, so it compiles again.sos1995-12-291-3/+8
|
* My first shot at get sound to work on the emulator.sos1995-12-296-16/+254
| | | | | Inspired by the work Amancio Hasty has done, but implemented somewhat differently.
* Added SYSVSHM definesos1995-12-291-2/+2
|
* Implemented non-statistical kernel profiling. This is based onbde1995-12-2911-280/+665
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | looking at a high resolution clock for each of the following events: function call, function return, interrupt entry, interrupt exit, and interesting branches. The differences between the times of these events are added at appropriate places in a ordinary histogram (as if very fast statistical profiling sampled the pc at those places) so that ordinary gprof can be used to analyze the times. gmon.h: Histogram counters need to be 4 bytes for microsecond resolutions. They will need to be larger for the 586 clock. The comments were vax-centric and wrong even on vaxes. Does anyone disagree? gprof4.c: The standard gprof should support counters of all integral sizes and the size of the counter should be in the gmon header. This hack will do until then. (Use gprof4 -u to examine the results of non-statistical profiling.) config/*: Non-statistical profiling is configured with `config -pp'. `config -p' still gives ordinary profiling. kgmon/*: Non-statistical profiling is enabled with `kgmon -B'. `kgmon -b' still enables ordinary profiling (and distables non-statistical profiling) if non-statistical profiling is configured.
* Fixed erroneous resending of the output buffer.bde1995-12-292-22/+68
| | | | | | | | Fixed panics for events on nonexistent ports. Fixed devconf class initialization and devconf state tracking. Submitted by: Serge A. Babkin <babkin@hq.icb.chel.su>
* Oops, this should have been committed with the other Hayes ESP changes.bde1995-12-293-0/+228
|
* Added support for the Hayes ESP serial card.bde1995-12-296-6/+366
| | | | | | Submitted by: Sean Eric Fagan (sef@kithrup.com) Based on code by John Vinopal (banshee@resort.com) Cosmetic (I hope) changes by me (bde).
* 1) ifdef out some unused functions (for now)markm1995-12-294-40/+66
| | | | | | | 2) improve 586 support 3) add 686 support 4) clean up comments etc Submitted by: bde
* Make a couple of options that hurt when they're removed morejkh1995-12-295-22/+39
| | | | carefully noted.
* Remove some bogus externs.dg1995-12-291-4/+1
|
* Add the attempted DMA address to the 'DMA beyond end of ISA' message so thatpeter1995-12-291-2/+3
| | | | | | | | | | | we can see if it's a small distance beyond the end, or way out. This may give some clues as to whether it is being caused by something coalescing the transfers in spite of the bounce buffers, or simply because of buffer corruption. (The BT driver seems to occasionally get hit by from this too, except that it does not trap the transfer, and the system panics later with vm_bounce_page_free.) This "event" usually happens to me during a savecore (on the rare occasion that a kernel coredump is actually taken after a crash - the lack of kernel core dumps is another problem...).
* Made bzero a function vector and added a 586/686 optimized version ofdg1995-12-285-129/+8
| | | | | | | | | bzero. Deprecated blkclr (removed it). Removed some old cruft from cpufunc.h. The optimized bzero was submitted by Torbjorn Granlund <tege@matematik.su.se> The kernel adaption and other changes by me.
* Made bzero a function vector and added a 586/686 optimized version ofdg1995-12-285-53/+226
| | | | | | | | | bzero. Deprecated blkclr (removed it). Removed some old cruft from cpufunc.h. The optimized bzero was submitted by Torbjorn Granlund <tege@matematik.su.se> The kernel adaption and other changes by me.
* Don't print swap server as root server.phk1995-12-282-4/+4
| | | | Submitted by: Mattias.Gronlund@sa.erisoft.se (Mattias Gronlund)
* Fix one more label that I overlooked with the P6 support. Sigh.dg1995-12-283-6/+6
|
* 1) Add #include <machine/cpu.h> to catch some 586 #definesmarkm1995-12-282-4/+6
| | | | | 2) swap the 2 arguments to outb (kato) Pointed out by: Kato Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
* Preserve SIGP bit when clearing INTF condition.se1995-12-281-3/+3
| | | | Submitted by: Gerard Roudier <groudier@htlm.fr>
* Add more disc_optim calls to track line disc changesache1995-12-282-0/+6
|
* Gack - if you're going to call semexit() from elsewhere, it shouldn'tjkh1995-12-281-2/+2
| | | | be static.. :-)
* Added $Id$.asami1995-12-283-0/+6
|
* Added parity flag.asami1995-12-281-1/+2
|
* Update bcopyb & bcopy to reflect changes I made in the libc version ofdg1995-12-273-21/+36
| | | | | | | | | bcopy: Be smarter about handling overlapped copies and only go backwards if it is really necessary. Going backwards on a P6 is much slower than forwards and it's a little slower on a P5. Also moved the count mask and 'std' down a few lines - it's a couple percent faster this way on a P5.
* Add NEC CDR 210 to list of devices with broken LUN supportpst1995-12-271-1/+9
|
* Finished removing MACH_KERNEL stuff.bde1995-12-272-12/+2
|
* Call semexit() from exit(), in order to process `undo vectors'.joerg1995-12-273-4/+12
| | | | This function has actually never been called.
* random_machdep.c: New version, also includes revectored interrupts, rathermarkm1995-12-275-435/+493
| | | | | than hooking permanently. vector.s: : Remove the interrupt hook. This is done dynamically, now.
* Clean up and make more universal. Next version of random device.markm1995-12-272-10/+32
|
* Modify the ioctl to handle revectored interrupts for the entropy gatherers.markm1995-12-272-10/+60
|
* This commit was generated by cvs2svn to compensate for changes in r13053,asami1995-12-271-0/+206
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * ccdvar.h from NetBSD-1.1.asami1995-12-271-0/+206
| |
* | Changes to make it work on FreeBSD-2.1.asami1995-12-272-72/+226
| |
* | This commit was generated by cvs2svn to compensate for changes in r13041,asami1995-12-271-0/+1428
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * ccd.c and ccd.4 from NetBSD-current circa 12/25/95.asami1995-12-271-0/+1428
| |
* | ccd.c and ccd.4 from NetBSD-current circa 12/25/95.asami1995-12-271-0/+1428
| |
* | Add an entry for the NEC CDROM:55 drive to stop it answering all 7 LUNS.peter1995-12-261-1/+11
| |
* | I report a problem about shmget(). (I'm using FreeBSD-2.1.0R)joerg1995-12-261-2/+2
| | | | | | | | | | | | | | | | | | int shmget(key_t key, int size, int shmflg); If the 'key' has already existed in the system and set 'shmflg' as '(IPC_CREAT|IPC_EXC)', then shmget() must return the error 'EEXIST'. Submitted by: m_tanaka@pa.yokogawa.co.jp (Mihoko Tanaka)
* | Removed nonexistent option AUTO_EOI_1.bde1995-12-263-18/+6
| |
* | Removed almost all traces of libkern.a. The objects that were inbde1995-12-2610-179/+53
| | | | | | | | | | | | | | libkern.a are now specified by listing their source files in files.${MACHINE}. The list is machine-dependent to save space. All the necessary object for each machine must be linked into the kernel in case an lkm wants one.
* | Added prototypes.bde1995-12-262-5/+15
| |
* | Renamed isa/random.c to isa/random_machdep.c to avoid a conflict withbde1995-12-264-6/+441
| | | | | | | | libkern/random.c.
OpenPOWER on IntegriCloud