summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* EXT2FS and MSDOSFS to the opt_dontuse bin.eivind1997-12-161-1/+3
|
* Fix my typo.eivind1997-12-161-2/+2
| | | | Submitted by: helbig
* Make LINT compile again after wollman introduced poll() here.eivind1997-12-161-2/+2
| | | | Overlooked by: wollman
* Regenerate after changing makesyscalls.sh.eivind1997-12-162-2/+2
|
* Move around opt_compat include to accomodate Linulator brokenness (foreivind1997-12-161-3/+4
| | | | the time being).
* Make hidden COMPAT_43 dependencies explict. Options in headers is aeivind1997-12-163-2/+8
| | | | pain in the backside.
* Handle COMPAT_43 define -> option change.eivind1997-12-161-4/+7
|
* Whoops - fix this after yesterday's IPX option changes. Also fixeivind1997-12-161-3/+12
| | | | | | minor buglet when neither bsdcomp, deflate or filter is used. Pointed out by: Chris Timmons <skynyrd@opus.cts.cwu.edu>
* Make COMPAT_43 and COMPAT_SUNOS new-style options.eivind1997-12-1643-43/+122
|
* Fix bug where a struct buf was free()'d back to the system malloc pool.dg1997-12-161-4/+3
| | | | | | | | Quite amazing that the system runs at all with this bug. Also present in 2.2.5. The bug appears to have come in with changes in rev 1.53. PR: might fix PR#5313 Submitted by: bde
* Don't use PG_N if EPSON PC-486HX/HG/HA (PC-9801 compatible) arekato1997-12-162-2/+42
| | | | | | | | detected. These machine cannot make L2 cache write-through by PG_N, and only I/O access (undocumented) can do that. If PG_N is used, system hangs. Reviewed by: tos@fa2.so-net.or.jp (Toshiyuki Kawashima)
* Convert SUIDDIR fully to a new-style option.eivind1997-12-154-3/+6
| | | | Forgotten by: julian
* Throw options IPX, IPXIP and IPTUNNEL into opt_ipx.h.eivind1997-12-1525-27/+66
| | | | | | | | The #ifdef IPXIP in netipx/ipx_if.h is OK (used from ipx_usrreq.c and ifconfig.c only). I also fixed a typo IPXTUNNEL -> IPTUNNEL (and #ifdef'ed out the code inside, as it never could have compiled - doh.)
* Sync with sys/i386/i386/microtime.s revision 1.35.kato1997-12-151-1/+3
|
* As described by the submitter:msmith1997-12-154-2/+140
| | | | | | | | | | | These patches enables us to play quake2 . Support linux keyboard ioctl for setting RAW, MEDIUMRAW and XLATE. Support linux virtual terminal operations: OPENQRY, GETMODE, SETMODE, GETSTATE, ACTIVATE, and WAITACTIVE. Submitted by: Amancio Hasty <hasty@rah.star-gate.com>
* Fix a recursive kernel_map lock problem in vm_zone allocator.dyson1997-12-151-19/+23
| | | | PR: 5298
* Add support for poll(2) on files. vop_nopoll() now returns POLLNVALwollman1997-12-159-19/+291
| | | | | | | | | | | | | | | | | | | if one of the new poll types is requested; hopefully this will not break any existing code. (This is done so that programs have a dependable way of determining whether a filesystem supports the extended poll types or not.) The new poll types added are: POLLWRITE - file contents may have been modified POLLNLINK - file was linked, unlinked, or renamed POLLATTRIB - file's attributes may have been changed POLLEXTEND - file was extended Note that the internal operation of poll() means that it is impossible for two processes to reliably poll for the same event (this could be fixed but may not be worth it), so it is not possible to rewrite `tail -f' to use poll at this time.
* Consult sa_len before trampling it with MSG_COMPAT set.msmith1997-12-151-3/+4
| | | | | PR: kern/5291 Submitted by: pb@fasterix.freenix.org (Pierre Beyssac)
* Add support for low resolution SMP kernel profiling.tegge1997-12-1517-28/+115
| | | | | | | | | | | | - A nonprofiling version of s_lock (called s_lock_np) is used by mcount. - When profiling is active, more registers are clobbered in seemingly simple assembly routines. This means that some callers needed to save/restore extra registers. - The stack pointer must have space for a 'fake' return address in idle, to avoid stack underflow.
* Don't forward hardclock or statclock to stopped cpus. Disable forwardingtegge1997-12-157-70/+119
| | | | when a panic has occured.
* Explicitly use the _IOC macro directly. This changes the ioctl commandsef1997-12-151-5/+5
| | | | numbers, so any programs using it need to be recompiled.
* Make gzipped dynamically linked executables work again. There wasjdp1997-12-141-4/+4
| | | | | | an old bug here that failed to copy the a.out header into memory properly. It didn't matter until changes were made recently to the dynamic linker.
* Sync with sys/i386/i386/machdep.c revision 1.279.kato1997-12-142-2/+18
|
* Sync with sys/i386/conf/files.i386 revision 1.182.kato1997-12-142-2/+14
|
* Slight improvement to the vm_zone stats output. Also, some other superficialdyson1997-12-142-5/+11
| | | | cleanups.
* As described by the submitter:msmith1997-12-142-4/+294
| | | | | | | | | | | | - emulate Linux IP_HDRINCL behaviour in sendto(): byte order fixed Note that we do an extra getsockopt() on every sendto() to check if the option is set because we don't keep state in the emulator code. Is there a better way to implement this? - correct a bug (value of "name" not passed) with getsockopt() Submitted by: pb@fasterix.freenix.org (Pierre Beyssac)
* As described by the submitter:msmith1997-12-141-5/+6
| | | | | | | | | | ... fix a bug with orecvfrom() or recvfrom() called with the MSG_COMPAT flag on kernels compiled with the COMPAT_43 option. The symptom is that the fromaddr is not correctly returned. This affects the Linux emulator. Submitted by: pb@fasterix.freenix.org (Pierre Beyssac)
* After one of my analysis passes to evaluate methods for SMP TLB mgmt, Idyson1997-12-1414-42/+241
| | | | | | | | | | | noticed some major enhancements available for UP situations. The number of UP TLB flushes is decreased much more than significantly with these changes. Since a TLB flush appears to cost minimally approx 80 cycles, this is a "nice" enhancement, equiv to eliminating between 40 and 160 instructions per TLB flush. Changes include making sure that kernel threads all use the same PTD, and eliminate unneeded PTD switches at context switch time.
* Allow slow SCSI CDROMs more time to start up.jraynard1997-12-141-1/+13
| | | | | PR: 5181 Submitted by: Wilko Bulte <wilko@yedi.iaf.nl>
* Bring in NetBSD compatible & augmented RCSID/COPYRIGHT macrospst1997-12-131-1/+16
|
* Fixed EOF handing.bde1997-12-132-16/+4
| | | | | | | | | | | | | | | | | | 1. SS_CANTRCVMORE was initially set on the wrong socket, so reads when there has never been a writer on the socket did not return 0. Note that such reads are only possible if the fifo was opened in (O_RDONLY | O_NONBLOCK) mode. 2. SS_CANTSENDMORE was initially set on the wrong socket, but this was harmless because the wrong socket is never sent from and there is no need to set the flag initially on the right socket (since open in (O_WRONLY | O_NONBLOCK) mode fails if there is no reader...). 3. SS_CANTRCVMORE was cleared when read() returns. This broke the case where read() returns 0 - subsequent reads are supposed to return 0 until a writer appears. There is no need to clear the flag when read() returns, since it is cleared correctly when a writer appears.
* Restored fifo_pathconf() from rev.1.32. vop_stdpathconf() is toobde1997-12-132-4/+64
| | | | | | | | | general to be of much use. Using it here weakened the _PC_MAX_CANON, _PC_MAX_INPUT and _PC_VDISABLE cases. fifo_pathconf() is not quite correct either. _PC_CHOWN_RESTRICTED and _PC_LINK_MAX should be handled by the host file system. For directories, the host file system should let us handle _PC_PIPE_BUF.
* Restored ufs_pathconf() from rev.1.61. vop_stdpathconf() is toobde1997-12-131-2/+41
| | | | | | general to be of much use. Using it here broke the _PC_NAME_MAX, _PC_NO_TRUNC and _PC_PATH_MAX cases, and weakened the _PC_MAX_CANON, _PC_MAX_INPUT and _PC_VDISABLE cases.
* Change the ioctls for procfs around a bit; in particular, whever possible,sef1997-12-133-12/+15
| | | | | | | | | | | | | | change from ioctl(fd, PIOC<foo>, &i); to ioctl(fd, PIOC<foo>, i); This is going from the _IOW to _IO ioctl macro. The kernel, procctl, and truss must be in synch for it all to work (not doing so will get errors about inappropriate ioctl's, fortunately). Hopefully I didn't forget anything :).
* Add needed #include.tegge1997-12-127-7/+28
| | | | Problem found by: Bruce Evans <bde@zeta.org.au>
* Fix(?) some style consistancy breakage and do some other nit-picking onpeter1997-12-121-25/+22
| | | | the SUIDDIR changes.
* I've been using these tweaks to enable the sound driver to talk to thepeter1997-12-129-12/+50
| | | | | | | | | | | | | | | | | (mutant) Crystal CSS4236 chip on the Intel PR440FX SMP motherboard. XXX this uses some rather ugly PnP bootstrap code that is *NOT* compatable with 'controller pnp0' or *ANY* other PnP devices. If you use some other PnP devices, enabling css0 will burn your house down. :-] The "simplified" PnP init sequence directly blats your config(8) settings onto the chip. I'm pretty sure 'css0' will conflict with 'mss0', this whole area desperately needs a cleanup. I have been using the following with some success on the PR440FX: controller snd0 device css0 at isa? port 0x534 irq 5 drq 1 flags 0x08 vector adintr device opl0 at isa? port 0x388 device mpu0 at isa? port 0x330 irq 10 vector mpuintr
* We have had support for running the kernel daemons as threads fordyson1997-12-125-12/+44
| | | | | | | quite a while, but forgot to do so. For now, this code supports most daemons running as kernel threads in UP kernels, and as full processes in SMP. We will soon be able to run them as threads in SMP, but not yet.
* Fix a problem with procfs_exit() that resulted in missing some procfssef1997-12-124-46/+54
| | | | | | nodes; this also apparantly caused a panic in some circumstances. Also, since procfs_exit() is getting rid of the nodes when a process exits, don't bother checking for the process' existance in procfs_inactive().
* Fix the prototype for swapout_procs();dyson1997-12-111-2/+3
| | | | Submitted by: dima@best.net
* Sync with sys/i386/conf/files.i386, majors.i386 and options.i386kato1997-12-105-11/+8
| | | | revisions 1.181, 1.23 and 1.64, respectively.
* Quiet some lint.dyson1997-12-101-5/+5
|
* eliminated a previously unnoticde compile warning about use ofjamil1997-12-091-2/+2
| | | | __inline, not good to use anyway ?!?!!
* the alog.c file respectively, added in wrong order by accidentjamil1997-12-091-0/+665
|
* add entry in LINT for alog driverjamil1997-12-095-5/+13
| | | | added line to files.i386 to compile in alog.c optionally as a driver
* Sync with sys/i386/isa/mse.c and syscons.c revisions 1.36 and 1.242,kato1997-12-092-69/+643
| | | | respectively.
* Remove obsolete psm driver options: PSM_ACCEL, PSM_EMULATION,yokota1997-12-092-8/+2
| | | | PSM_CHECKSYNC.
* Sync with sys/i386/i386/userconfig.c revision 1.98.kato1997-12-091-2/+3
|
* adding alogio.h to system include filesjamil1997-12-091-0/+61
|
* Added major 86 for the alog driver.jamil1997-12-092-2/+4
|
OpenPOWER on IntegriCloud