summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for 64bit programming environment (e.g. Alpha):se1997-08-312-45/+45
| | | | | | Use "ncrcmd" or "u_int32_t" instead of "u_long", where appropriate. Submitted by: Gerard Roudier <groudier@club-internet.fr>
* Remove debug printf() that had been ommited by accident.se1997-08-311-3/+2
|
* Fix problem with early revision 53c825a and 53c875 chips, whichse1997-08-311-5/+3
| | | | | | | | | | | | | | | could cause a solid system lockup in the driver attach: These chips do not abort an access to the internal SRAM, when the driver set the software reset bit in the istat register. But the chip will never acknowledge the requested PCI bus transfer in the situation, causing an infinite wait and a lockout of other bus-masters. The problem has been reported for rev 0x11 of the 53c825a and rev 0x01 of the 53c875. Revisions 0x13 of the 53c825a and 0x03 of the 53c875 are known to support SRAM accesses, even in the software reset state.
* Fix my e-mail address. Old work addres is no good.eivind1997-08-312-2/+2
|
* Restore back issetugid() usage and bump major numberache1997-08-312-4/+4
|
* Change the 0xdeadb hack to a flag called VDOOMED.phk1997-08-316-148/+163
| | | | | | | | | | | | | | | | | | | | | Introduce VFREE which indicates that vnode is on freelist. Rename vholdrele() to vdrop(). Create vfree() and vbusy() to add/delete vnode from freelist. Add vfree()/vbusy() to keep (v_holdcnt != 0 || v_usecount != 0) vnodes off the freelist. Generalize vhold()/v_holdcnt to mean "do not recycle". Fix reassignbuf()s lack of use of vhold(). Use vhold() instead of checking v_cache_src list. Remove vtouch(), the vnodes are always vget'ed soon enough after for it to have any measuable effect. Add sysctl debug.freevnodes to keep track of things. Move cache_purge() up in getnewvnodes to avoid race. Decrement v_usecount after VOP_INACTIVE(), put a vhold() on it during VOP_INACTIVE() Unmacroize vhold()/vdrop() Print out VDOOMED and VFREE flags (XXX: should use %b) Reviewed by: dyson
* Remove pbzero(), things we load zero their own bss.phk1997-08-314-41/+6
| | | | Make VESA_SUPPORT default
* Another 32bits of 64bits conformance.phk1997-08-311-2/+2
| | | | | Reviewed by: phk Submitted by: jdp
* Debug version of simple_lock. This will store the CPU id of thefsmp1997-08-3110-151/+188
| | | | | | | | | | holding CPU along with the lock. When a CPU fails to get the lock it compares its own id to the holder id. If they are the same it panic()s, as simple locks are binary, and this would cause a deadlock. Controlled by smptests.h: SL_DEBUG, ON by default. Some minor cleanup.
* Created a private simple_lock to control accesses to com data structsfsmp1997-08-313-153/+228
| | | | | | | | | | and hardware. There is now another simple_lock around clock data/hardware accesses in clock.c and microtime.s. It is my belief that this is the only area sio/cy might stumble into during an unblocked INTerrupt. Thus I separated the sio/cy code from the generic disable_intr()/enable_intr() routines. Controlled by smptests.h: USE_COMLOCK, ON by default.
* Display file size as an unsigned long.alex1997-08-311-2/+2
|
* Initial elf nlist support, mostly stolen from OpenBSD (they use standardpeter1997-08-312-3/+228
| | | | | | | | | | | #defines that are compatable with ours). I made some some minor tweaks to the leading '_' tests. Again, this is off by default for the moment. This probably should be split into seperate files (like some of our other libc files that could do with some splitting). Obtained from: OpenBSD (plus some minor tweaks)
* Initial support for dealing with an elf /kernel. This is a loose hybridpeter1997-08-302-4/+179
| | | | | | | | of OpenBSD's elf nlist code for this, and our a.out version. The OpenBSD version was mainly a seek/read system with a mmap of the string table, this one simply mmap's the lot (like the a.out version). Obtained from: a fair chunk from OpenBSD
* A first cut at some rules for building elf shared libs. Of particularpeter1997-08-303-3/+53
| | | | | | | | note, using "-Wl,-f" to generate a library objects list doesn't work anymore since the hack to ld hasn't been incorporated into binutils-2.8. (and the -f switch is used for something else already) This is disabled by default, don't panic! :-)
* Update to include some of the newer vnode flags and remove some stale ones.peter1997-08-302-9/+25
|
* Added clock_lock protection to microtime.fsmp1997-08-301-2/+21
|
* Define some machine characteristics using symbol naming on conventionspeter1997-08-302-2/+14
| | | | in place in the other BSD's.
* Collect a few missing symbols from the OpenBSD elf includes. (The OpenBSDpeter1997-08-301-2/+44
| | | | | | includes use the formal elf names like us, NetBSD have different symbols) Obtained from: OpenBSD
* Allow non-page aligned file offset mmap's, providing that the system ispeter1997-08-301-23/+47
| | | | | | | | | | allowed to choose the address, or that the MAP_FIXED address has the same remainder when modulo PAGE_SIZE as the file offset. Apparently this is posix1003.1b specified behavior. SVR4 and the other *BSD's allow it too. It costs us nothing to support and means we don't get EINVAL on some mmap code that works perfectly elsewhere. Obtained from: NetBSD
* Synchronize with sys/i386/isa/clock.c and sio.c revisions 1.101 andkato1997-08-305-114/+171
| | | | i.178, respectively.
* fix a few spelling changesjmg1997-08-3010-13/+16
| | | | | | | | Submitted by: Josh Gilliam Closes PR's: 4429, 4431-4438 PS: He has agreed to submit all contrib fixes back to the original author.
* remove global prototype for setsigvec(). It's static inside kern_sig.cpeter1997-08-301-2/+1
| | | | and causes redundant declaration warnings.
* Update to include recently added names that are shared between the C andpeter1997-08-301-1/+38
| | | | asm parts of the kernel. This is to re-enable ELF compile support.
* fix misspellingjmg1997-08-301-1/+1
| | | | | | Submitted-by: Josh Gilliam Closes PR:4430
* fix misspellingjmg1997-08-301-1/+1
| | | | | | Submitted-by: Josh Gilliam Closes PR:4428
* fix misspellingjmg1997-08-301-2/+2
| | | | | | Submitted-by: Josh Gilliam Closes PR:4427
* fix misspellingjmg1997-08-301-1/+1
| | | | | | Submitted-by: Josh Gilliam Closes PR:4426
* fix misspellingjmg1997-08-301-2/+2
| | | | | | Submitted-by: Josh Gilliam Closes PR:4425
* fix misspellingjmg1997-08-301-2/+2
| | | | | | Submitted-by: Josh Gilliam Closes PR:4424
* fix misspellingjmg1997-08-301-1/+1
| | | | | | Submitted-by: Josh Gilliam Closes PR:4423
* fix misspellingjmg1997-08-301-1/+1
| | | | | | Submitted-by: Josh Gilliam Closes PR: 4422
* The CMD640 workaround is now enabled by default.helbig1997-08-301-11/+4
|
* emove /usr/local/libdata/tclphk1997-08-301-3/+1
|
* Another round of lock pushdown.fsmp1997-08-3039-567/+824
| | | | | | | | | Add a simplelock to deal with disable_intr()/enable_intr() as used in UP kernel. UP kernel expects that this is enough to guarantee exclusive access to regions of code bracketed by these 2 functions. Add a simplelock to bracket clock accesses in clock.c: clock_lock. Help from: Bruce Evans <bde@zeta.org.au>
* Moved the SIMPLE_LOCK stuff from machine/param.h to machine/lock.h.fsmp1997-08-302-2/+8
| | | | | | include it here for now. Reviewed by: Bruce Evans <bde@zeta.org.au>
* Scsi RESERVATION CONFLICT and BUSY support for Tekram scsi cards.itojun1997-08-301-0/+20
| | | | Checked with DC390. Pls mail me if you have any trouble with this patch.
* Move MACHINE_ARCH definition from <machine/param.h> to <machine/cpu.h>.kato1997-08-304-15/+28
| | | | Submitted by: Bruce Evans <bde@zeta.org.au>
* Added hw.machine_arch.kato1997-08-302-2/+4
|
* Added HW_MACHINE_ARCH.kato1997-08-301-0/+3
|
* Update for impending 3.0-SNAP CDROM.jkh1997-08-291-29/+41
|
* Add -execdir which will execute the exec command in the dir of the fileimp1997-08-295-5/+117
| | | | | | | in question. This change and the fts changes should be merged into 2.2-stable as soon as they are vetted in -current. This should allow cleaning of files in /tmp to be reneabled. Obtained from: OpenBSD
* Merge in the safe chdir changes from Todd Miller's mods to the OpenBSDimp1997-08-292-40/+128
| | | | | | | | | | | tree. Also merge in fix to NetBSD PR #1495. These represent 1.3-1.9 in the OpenBSD tree. Make minor KNF changes to new code (which is in the OpenBSD as 1.10). This avoids the symlink race problems. These patches should go into 2.2.5 before the ship if they don't break anything in -current. Reviewed by: Bruce Evans Obtained from: OpenBSD
* Plug info agthering attack as pointed out on Bugtraq recently.guido1997-08-292-18/+28
| | | | Obtained from: OpenBSD
* Support for the new FAST_HI algorithm, enabled.fsmp1997-08-2912-135/+529
| | | | | Preliminary support for the INTR_SIMPLELOCK algorithm, disabled. Note that this code is NOT ready.
* Support for the new FAST_HI algorithm.fsmp1997-08-295-38/+142
| | | | | | Improved interrupt handling, fewer silo overflows. With help from: dave adkins <adkin003@gold.tc.umn.edu>
* Remove and odd sleep found by David Holland and posted to -security.imp1997-08-291-3/+4
| | | | | Reviewed by: Theo de Raadt (who put it into OpenBSD) Submitted by: David Holland <dholland@eecs.harvard.edu>
* Introduce FAST_HI option, ON by default.fsmp1997-08-291-1/+15
| | | | | This options allows a CPU that is blocked spinning for the giant lock to process FAST_INTR() ISRs, eg. siointr().
* Dont use an internal function called warn it clashes with libc.sos1997-08-293-11/+5
| | | | Allows ELF compile.
* Dont have an internal function named "warn" it clashes with libc..sos1997-08-2915-247/+247
| | | | Needed for ELF.
* Synchronize with sys/i386/i386/userconfig.c revision 1.90.kato1997-08-291-4/+4
|
OpenPOWER on IntegriCloud