summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fixed printing of registers in dbflalt_handler(). The registersbde1997-04-143-27/+21
| | | | | | | were always in a tss; that tss just changed from the one in the pcb to common_tss (who knows where it was when there was no curpcb?). Not using the pcb also fixed the problem that there is no pcb in idle(), so we now always get useful register values.
* Fix `lockmgr: locking against myself' panic by multi union mount ofkato1997-04-142-2/+50
| | | | | | | | | | | | | same directory pair. If we do: mount -t union a b mount -t union a b then, (1) namei tries to lock fs which has been already locked by first union mount and (2) union_root() tries to lock locked fs. To avoid first deadlock condition, unlock vnode if lowerrootvp is union node, and to avoid second case, union_mount returns EDEADLK when multi union mount is detected.
* Fix locking violation when accessing `..'.kato1997-04-142-2/+78
| | | | Obtained from: NetBSD
* Unused variable (upobj is now purely handled within pmap)peter1997-04-141-2/+1
|
* Be more careful about how SCBs are cleaned up during error recovery.gibbs1997-04-141-113/+173
| | | | Add some more diagnostic information to timeouts.
* Re-arange the selection and reselection code to hopefully kill thegibbs1997-04-142-16/+31
| | | | spurious selection timeouts that have been reported.
* Make a problem that I cannot reproduce go away for now. This commitdyson1997-04-141-2/+2
| | | | | | is to decrease the inconvienience of other developers until I can really fix the code. Reviewed by: Donald J. Maddox <dmaddox@scsn.net>
* New name for the EtherExpress register file.gibbs1997-04-142-0/+160
|
* Add Intel EtherExpress16 support into the ie driver, removing the needgibbs1997-04-144-2193/+992
| | | | | | | | | | for the ix driver. Add a shutdown hook that resets the etherexpress so that Windoze can find the card after a warm boot. Submitted by: Aaron Smith <aaron@tau.veritas.com> Obtained From: NetBSD
* GENERIC, LINT:gibbs1997-04-147-19/+17
| | | | | | | | Add an ie entry that corresponds to the location the old ix entry used to probe and kill the ix entry. files.i386: Remove entries for the ix driver.
* Don't forget to set `runtime' in fork_trampoline(). The time slice beforebde1997-04-133-21/+21
| | | | | | | | switching to a child for the first time was being counted twice. I think this only affected unimportant statistics. Simplified arg handling in fork_trampoline(). splz() doesn't actually smash the registers of interest.
* #ifdef'ed the declaration of lseek() so that -Wredundant-decls doesn'tbde1997-04-132-13/+32
| | | | | | | | cause noise. Duplicated the lseek() redeclaration hack for all functions involving off_t's (ftruncate(), mmap() and truncate()) to help broken programs work.
* Moved #include of <sys/cdefs.h> earlier so that __signed inbde1997-04-131-7/+6
| | | | | | | | | | | | <machine/types.h> gets redefined in the non-GNU and non-ANSI cases. Since this hasn't caused problems, there must be no one actually benefitting from the obfuscations supported by <sys/cdefs.h>. `make CC="cc -traditional"' in /usr/src/bin shows the same. Almost everything is broken in essentially the same way - `const' is used in strings before <sys/cdefs.h> is included, so `const' is not #defined away until after it is used. Fixed some style bugs.
* Access correct union mount point in union_access.kato1997-04-132-4/+4
|
* Support GLOBAL style tags.jkh1997-04-131-3/+9
|
* The function union_fsync tries to lock overlaying vnode object whenphk1997-04-132-6/+28
| | | | | | | | | | dolock is not set (that is, targetvp == overlaying vnode object). Current code use FIXUP macro to do this, and never unlocks overlaying vnode object in union_fsync. So, the vnode object will be locked twice and never unlocked. PR: 3271 Submitted by: kato
* The path name buffer, cn->cn_pnbuf, is FREEed by VOP_MKDIR whenphk1997-04-132-2/+10
| | | | | | | | | | relookup() in union_relookup() is succeeded. However, if relookup() returns non-zero value, that is relookup fails, VOP_MKDIR is never called (c.f. union_mkshadow). Thus, pathname buffer is never FREEed. Reviewed by: phk Submitted by: kato PR: 3262
* Though malloc allocates only cn.cn_namelen bytes for cn.cn_pnbuf inphk1997-04-132-4/+4
| | | | | | | | | union_vn_create(), following bcopy copies cn.cn_namlen + 1 bytes to cn.cn_pnbuf PR: 3255 Reviewed by: phk Submitted by: kato
* Removed libc stuffs. Lite/2 merged libc contains unionfs support, andkato1997-04-134-1300/+0
| | | | | we don't have to use the libc related files in sys/misc/unionfs directory.
* Synchronize with sys/i386/i386/machdep.c revision 1.237.kato1997-04-132-2/+6
|
* Decrease the amount of memory allocated for bouncing. This willdyson1997-04-132-2/+6
| | | | | | allow large systems to boot successfully with bounce buffers compiled in. We are now limiting bounce space to 512K. The 8MB allocated for a 512MB system is very bogus -- and that is now fixed.
* The pmap code was too generous in the allocation of kva space fordyson1997-04-132-12/+24
| | | | | | | the pv entries. This problem has become obvious due to the increase in the size of the pv entries. We need to create a more intelligent policy for pv entry management eventually. Submitted by: David Greenman <dg@freebsd.org>
* Improve the buffer cache memory policy by moving pages over to thedyson1997-04-131-13/+12
| | | | | | | cache queue more often. The pageout daemon had to be waken up more often than necessary since pages were not put on the cache queue, when they should have been. Submitted by: David Greenman <dg@freebsd.org>
* Correct the previous thread-fix commit. I made a clerical error.dyson1997-04-131-13/+3
|
* Fully implement vfork. Vfork is now much much faster than even ourdyson1997-04-1313-25/+153
| | | | | | | | | | | | | | | | | fork. (On my machine, fork is about 240usecs, vfork is 78usecs.) Implement rfork(!RFPROC !RFMEM), which allows a thread to divorce its memory from the other threads of a group. Implement rfork(!RFPROC RFCFDG), which closes all file descriptors, eliminating possible existing shares with other threads/processes. Implement rfork(!RFPROC RFFDG), which divorces the file descriptors for a thread from the rest of the group. Fix the case where a thread does an exec. It is almost nonsense for a thread to modify the other threads address space by an exec, so we now automatically divorce the address space before modifying it.
* Everyone's favorite, i think: make DDB understand the arrow keys for thejoerg1997-04-121-1/+38
| | | | | basic cursor movements. Assumes ANSI/DEC tty, but you can still resort to plain emacs ^p/^n etc anyway.
* Effectively remove the previous commit to fix threads forking. Thedyson1997-04-121-3/+7
| | | | change was a false-start, and needs more work.
* Allow a kernel-supported process thread to do an exec without blastingdyson1997-04-111-7/+24
| | | | away the VM space of all of the other, associated threads.
* Deleted ddb_inb and ddb_outb functions that provide I/O accesskato1997-04-111-18/+1
| | | | | routines as function for DDB. The inb and outb are provided as functions in machdep.c when DDB is defined.
* Synchronize with sys/i386/isa/syscons.c revision 1.209.kato1997-04-111-10/+6
|
* Drop the number of allowed tags back down to 8. Pluto uses a higher valuegibbs1997-04-101-17/+17
| | | | | | | | | | which mistakenly got committed. Fix two bugs in the ahc_reset_device code: Limit search for SCBs to process to those that are active and are not queued for done processing. It's okay for an SCB to not have a waiting next SCB.
* aic7xxx.seq:gibbs1997-04-104-13/+16
| | | | | | | | | | | | Be consistant about testing for parity errors after waiting for a REQ on the bus. Don't ack the last byte in a transaction until after we've cleared all target state. aic7xxx_asm.c: Test the return value of getopt against -1 not EOF. (Yet another shameless victum of the style guide being wrong).
* Get the declaration of `struct dirent' from <sys/dirent.h>, not frombde1997-04-103-23/+12
| | | | | | <sys/dir.h>, and use the new macro GENERIC_DIRSIZ() instead of DIRSIZ(). Removed unused #includes.
* Get the declaration of `struct dirent' from <sys/dirent.h>, not frombde1997-04-102-10/+8
| | | | | | | | | <sys/dir.h>. Removed unused #include. Fixed type and order of struct members in pseudo-declaration of `struct vop_readdir_args'.
* Removed unused or apparently-unused #includes, especially of thebde1997-04-104-58/+4
| | | | deprecated header <sys/dir.h>.
* Deprecated <sys/dir.h> some more - changed the comment saying thatbde1997-04-102-20/+24
| | | | | | | | | | <dirent.h> should be used instead to a warning. If this causes too many warnings in ports then it should be changed back after checking some ports for related configuration errors. Moved the definition of DIRSIZ() from <sys/dir.h> to <sys/dirent.h> so that it can be used in the kernel without including <sys/dir.h>. Renamed it in some cases to avoid new namespace pollution.
* Use smalllblktosize() instead of multiplying small block numbersbde1997-04-101-4/+4
| | | | | by fs->fs_bsize. The macro is usually faster and makes it clearer that the multiplication can't overflow.
* Preserve some bits in the keyboard controller command byte whenyokota1997-04-103-30/+18
| | | | | | | | | | | | resetting the keyboard. Well, sorry, this bug is totally my fault. I DID intend to preserve them, but somehow I failed. The bug puts some old keyboard controllers in a strange state, resulting in keyboard freeze or random key input. The fix closes PR kern/3067.
* Removed support for OLD_PIPE. <sys/stat.h> is now missing the hack thatbde1997-04-094-71/+4
| | | | | supported nameless pipes being indistinguishable from fifos. We're not going back.
* Distinguish fifos from sockets in the S_IS* macros. This is possible nowbde1997-04-091-6/+6
| | | | | | | that nameless pipes are not implemented as sockets. Don't include <sys/time.h> if KERNEL is defined. It should already have been included by including <sys/param.h>. Fixed a nearby typo.
* Regenerate (removed unused #includes from ibcs2*_sysent.c).bde1997-04-098-14/+8
|
* Removed unused #includes.bde1997-04-093-9/+3
|
* Regenerate (removed unused #includes in linux_sysent.c).bde1997-04-093-5/+3
|
* Removed unused #includes.bde1997-04-092-6/+2
|
* Include <sys/buf.h> instead of <sys/vnode.h>. kern_sysctl.c nobde1997-04-091-2/+2
| | | | | | | longer has anything to do with vnodes and never had anything to do with buffers, but it needs the definitions of B_READ and B_WRITE for use with the bogus useracc() interface and was getting them bogusly due to excessive cleanups in rev.1.49.
* Mask out revision register in consistency test of class register.se1997-04-096-12/+12
|
* Fix spelling of align and interrupt in comments.se1997-04-096-36/+36
|
* Fix consistency test to not fail on pre PCI 2.0 motherboardsse1997-04-096-12/+12
|
* Added lnc driver.kato1997-04-082-2/+4
|
* Enables lnc driver on PC-98 to support NEC SV-98/2-B06 PCI card.kato1997-04-084-4/+10
| | | | | Cascade mode of DMA is disabled when PC98 is defined because PC-98 doesn't support it.
OpenPOWER on IntegriCloud