summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Make sure that uio_resid isn't negative in read().dg1994-09-021-1/+5
|
* panic if length is < 0 in ffs_truncate().dg1994-09-021-1/+3
|
* Disallow truncating to negative file sizes. Doing so causes ffs_truncate()dg1994-09-022-2/+10
| | | | | and perhaps other fs truncate's to go crazy and panic the machine or worse. This fixes the truncate bug reported by Michael Class.
* munmapfd() was being called with one too few params - bug introduceddg1994-09-021-2/+2
| | | | during my initial kernel port.
* Converted P_LINK -> P_FORW, P_RLINK -> P_BACK, minor optimization.dg1994-09-025-189/+174
|
* Make olstat() consistent with lstat() - so they both return the samedg1994-09-022-14/+74
| | | | | | owner.. Submitted by: Kirk McKusick
* Removed all vestiges of tlbflush(). Replaced them with calls to pmap_update().dg1994-09-0212-88/+61
| | | | Made pmap_update an inline assembly function.
* It's not necessary to make page tables write-through, so get rid of thisdg1994-09-023-9/+9
| | | | | (this was an experimental change which probably shouldn't have been committed). I/O pages are still marked non-cacheable, however.
* Fixed bug that caused system processes to run at realtime priority.dg1994-09-011-4/+3
|
* Changed MAX to max.dg1994-09-011-1/+1
|
* Realtime priority scheduling support.dg1994-09-013-5/+7
| | | | | | | | | | | | | | | Added "sys/rtprio.h" with the used defines. Added rtprio(2) - the kernel interface. init_sysent.c, kern_resource.c syscalls.master Added 32 new runqueues (rtqs), with initialization. kern_proc.c kern_synch.c Realtime processes do not change nice/priority kern_synch.c Added a column "rt" to ddb's ps (#ifdef RTPRIO_DEBUG) kern_synch.c Realtime priorities are enherited through fork(). kern_fork.c Init (and children) NOT run as realtime process. init_main.c Submitted by: Henrik Vestergaard Draboel
* Realtime priority scheduling support.dg1994-09-0114-37/+415
| | | | Submitted by: Henrik Vestergaard Draboel
* Got rid of some old, unused junk.dg1994-09-012-52/+2
|
* Got rid of redundant declaration, and changed IFF_LLC0 to IFF_LINK0.dg1994-09-011-7/+5
|
* Added ze driver (brought over from 1.1.5).dg1994-09-012-2/+4
|
* Submitted by: Stefan Esser <se@ZPR.Uni-Koeln.DE>se1994-09-011-2/+7
| | | | | | Added "device pci" and "device ncr" lines for a generic kernel with support for the NCR 53c810 PCI SCSI host adapter (with no interrupts configured, ie. working with 100Hz timer interrupts only).
* Submitted by: Stefan Esser <se@ZPR.Uni-Koeln.DE>se1994-09-012-6/+8
| | | | | Added entry for 'de' device in anticipation of Matt Thomas' PCI Ethernet driver (required by the PCI autoconfig code).
* Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>se1994-09-014-77/+523
| | | | | Merged in changes required for NetBSD support (by mycroft@gnu.ai.mit.edu) and support for multiple NCR chips.
* This commit was generated by cvs2svn to compensate for changes in r2432,se1994-09-0111-0/+15435
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de> + Stefan Esser <se>se1994-09-0111-0/+15435
| | | | Directory for PCI autoconfigure and device driver code.
* Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de> + Stefan Esser <se>se1994-09-011-0/+598
| | | | Directory for PCI autoconfigure and device driver code.
* Reviewed by:se1994-08-312-2/+10
| | | | | Submitted by: Added lines for 'pci' and 'ncr' devices (found under i386/pci).
* Reviewed by: Stefan Esser <se>se1994-08-312-2/+12
| | | | | Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de> Added PCI support (call of pci_config(), if NPCI > 0).
* Reviewed by: Stefan Esser <se>se1994-08-312-4/+4
| | | | Debugger() takes an (char*) argument, changed macro definition accordingly.
* Reviewed by: Stefan Esser <se>se1994-08-311-5/+16
| | | | | | Calculation of 'cd->cmdscount' now as in 'sd.c' (required for ncr scsi). CDOUTSTANDING defined as '1' (as the comment says), was '2' in fact ... Debugger takes an (char*) argument, changed macro definition accordingly.
* Fixed bug that surfaced with last commit for NOBOUNCE -> BOUNCE_BUFFERS bydg1994-08-312-28/+30
| | | | | adding appropriate #ifdefs and changing some variables to externs (as they should have always been).
* Conditionalized support for syscons as the console so that it can bedg1994-08-313-3/+24
| | | | | | made optional in the kernel config file. Submitted by: John Hay
* Rather than exclude bounce buffers support with NOBOUNCE, include itdg1994-08-3114-33/+41
| | | | | | with BOUNCE_BUFFERS. This is more intuitive, and is better for future multiplatform support. Added BOUNCE_BUFFERS option to the GENERIC and LINT kernel config files.
* Quiet down compiler warnings.dg1994-08-313-9/+9
|
* Changed STRC -> P_TRACED.dg1994-08-301-2/+2
|
* Whoops...clean up after me cleaning up after Bruce.dg1994-08-301-12/+16
|
* Cleaned up after Bruce: there were still some things that includeddg1994-08-303-58/+13
| | | | | | com.h/lpa.h. Removed all vestiges of com/lpa out of conf.c and also fixed up the end of cdevsw/bdevsw to have "no" routines instead of a NULL pointer (suggested by someone a few weeks back).
* Moved gpl'd fpemul into 2.0 cvs tree. Changed it's location todg1994-08-302-64/+64
| | | | sys/gnu/i386/fpemul/.
* Fixed bug caused by change of rlimit variables to quad_t's. The bug was indg1994-08-301-11/+10
| | | | | | | | | | using min() to calculate the minimum of rss_cur,rss_max - since these are now quad_t's and min() takes u_ints...the comparison later for exceeding the rss limit was always true - resulting in rather serious page thrashing. Now using new qmin() function for this purpose. Fixed another bug where PG_BUSY pages would sometimes be paged out (bad!). This was caused by the PG_BUSY flag not being included in a comparison.
* Added qmin and qmax functions to deal with quad_t's.dg1994-08-302-2/+28
|
* Changed to reclaim memory from other buffers to eliminate memorydg1994-08-301-2/+37
| | | | | | thrashing. Submitted by: John Dyson
* Don't define LOCORE (as nothing) in sources. It is now definedbde1994-08-303-6/+3
| | | | consistently (as 1) in Makefile.i386 for all assembler sources.
* Add conf.c, machdep.c, exception,s, support.s and swtch.s so that configbde1994-08-302-6/+18
| | | | | | | | | | will do most of the work for handling them. Only one extra flag and one bogus dependency was used for machdep.c and there was never anything special about the others. Add locore.s, but commented out. It's still special. Remove com.c and lpa.c.
* Remove exception.o, swtch.o, support.o, conf.o and machdep.o frombde1994-08-303-117/+84
| | | | | | | | | | | | | | | | | | | SYSTEM_OBS. They are now normal objects. Remove stale dependencies for the above now-normal objects and for locore.o and generate dependencies using mkdep. Config doesn't generate lists of assembler source files so the lists to be mkdep'ed have to be given explictly. Only the standard *.s files are given, so the dependencies for gnu/fpemul/*.s are incomplete. *.S files would be handled right if config put them in CFILES. Don't define NPX. It was replaced by NNPX > 0 years ago. Define LOAD_ADDRESS in COPTS so that compiling machdep.c isn't a special case. Moving around the dependencies exposed a bug in make. It doesn't know that assym.s and ./assym.s are the same. Add a rule tell it.
* Change RAW_PART back to 3, too early step right now, disklabels need moreache1994-08-301-5/+5
| | | | | work Change hardcoded 3 value in several places to RAW_PART define
* Change WDRAW back to 3, too early step right now, disklabels needs moreache1994-08-301-6/+6
| | | | | work Change hardcoded 'd' in printfs to 'a' + WDPART
* Conditionalize support for my debugger. This normally saves 304 bytes.bde1994-08-306-14/+52
|
* Make decl/define for Debugger() match reality.jkh1994-08-301-3/+3
| | | | Submitted by: jkh
* Fake floppy partition RAW_PART=2 nowache1994-08-292-4/+6
|
* RAW_PART=2ache1994-08-291-2/+2
|
* Now WDRAW=2ache1994-08-291-2/+2
|
* Use RAW_PART=2 to trick diskerrache1994-08-293-6/+12
|
* Raw partition is 2 nowache1994-08-291-2/+2
|
* Raw partition is 2 nowache1994-08-292-4/+4
|
* Patches from John Dyson to improve swap code efficiency.dg1994-08-292-20/+9
| | | | | | | Religiously add back pmap_clear_modify() in vnode_pager_input until we figure out why system performance isn't what we expect. Submitted by: John Dyson (swap_pager) & David Greenman (vnode_pager)
OpenPOWER on IntegriCloud