| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Use "ncrcmd" or "u_int32_t" instead of "u_long", where appropriate.
Submitted by: Gerard Roudier <groudier@club-internet.fr>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Make VESA_SUPPORT default
|
|
|
|
|
| |
Reviewed by: phk
Submitted by: jdp
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
#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)
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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! :-)
|
| |
|
| |
|
|
|
|
| |
in place in the other BSD's.
|
|
|
|
|
|
| |
includes use the formal elf names like us, NetBSD have different symbols)
Obtained from: OpenBSD
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
i.178, respectively.
|
|
|
|
|
|
|
|
| |
Submitted by: Josh Gilliam
Closes PR's: 4429, 4431-4438
PS: He has agreed to submit all contrib fixes back to the original author.
|
|
|
|
| |
and causes redundant declaration warnings.
|
|
|
|
| |
asm parts of the kernel. This is to re-enable ELF compile support.
|
|
|
|
|
|
| |
Submitted-by: Josh Gilliam
Closes PR:4430
|
|
|
|
|
|
| |
Submitted-by: Josh Gilliam
Closes PR:4428
|
|
|
|
|
|
| |
Submitted-by: Josh Gilliam
Closes PR:4427
|
|
|
|
|
|
| |
Submitted-by: Josh Gilliam
Closes PR:4426
|
|
|
|
|
|
| |
Submitted-by: Josh Gilliam
Closes PR:4425
|
|
|
|
|
|
| |
Submitted-by: Josh Gilliam
Closes PR:4424
|
|
|
|
|
|
| |
Submitted-by: Josh Gilliam
Closes PR:4423
|
|
|
|
|
|
| |
Submitted-by: Josh Gilliam
Closes PR: 4422
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
include it here for now.
Reviewed by: Bruce Evans <bde@zeta.org.au>
|
|
|
|
| |
Checked with DC390. Pls mail me if you have any trouble with this patch.
|
|
|
|
| |
Submitted by: Bruce Evans <bde@zeta.org.au>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
|
| |
Preliminary support for the INTR_SIMPLELOCK algorithm, disabled.
Note that this code is NOT ready.
|
|
|
|
|
|
| |
Improved interrupt handling, fewer silo overflows.
With help from: dave adkins <adkin003@gold.tc.umn.edu>
|
|
|
|
|
| |
Reviewed by: Theo de Raadt (who put it into OpenBSD)
Submitted by: David Holland <dholland@eecs.harvard.edu>
|
|
|
|
|
| |
This options allows a CPU that is blocked spinning for the giant lock
to process FAST_INTR() ISRs, eg. siointr().
|
|
|
|
| |
Allows ELF compile.
|
|
|
|
| |
Needed for ELF.
|
| |
|