Age | Commit message (Collapse) | Author |
|
something meaningful to chew on. Shine on you crazy diamond.
|
|
turns out that some arches will return (-1) in case of error, while others
will return (0).
Until we make our minds on this, make sure that callers of this function
properly handle 0 or (-1) as failure.
ok krw@
|
|
|
|
and should not be created or used as such.
This fixes some instances of both behaviours, and sets the stage for some
strcpy -> strncpy fixup.
ok tdeval@ millert@ deraadt@
|
|
|
|
. immediately service all available action reports in the transmit
. interrupt handler so we don't exhaust the action report fifo and
. hang the device when under high load
.
. set receive interrupt delay to 10ms if the hardware supports it,
. vastly reducing interrupts by allowing the receive fifo to fill
.
. always use dma when in DHU11 mode
|
|
instead. Driver now transmits successfully in both DHV and DHU mode.
|
|
the RX fifo goes from 0 -> 1 characters. If the FIFO is filled (eg. during
autoconf where interrupts are cleared), the dz will never interrupt for
rx again. Solution: drain the fifo on first open. ok hugh
|
|
during the "wait for a second looking for annoying interrupts" period, it
would mask it off... oops =)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
remaining instances of them with appropriate copy(9) usage.
ok art@, tested on all arches unless my memory is non-ECC
|
|
and don't ttymalloc lines we don't have. CXA16 in DHV-11 mode is
probably still not correct.
|
|
set from <sys.mk>
|
|
It works even, so enable the dhu.
|
|
Instead of allocating a static amount of memory for the data
structures via valloc() in allocsys(), allocate things dynamically
using pool(9) when possible and malloc(9) when not. The various
members of struct seminfo and struct shminfo are in kern.seminfo
and kern.shminfo respectively (not all members of kern.seminfo are
changable).
The data structures used still leave something to be desired but
things are not made worse in that respect by this commit.
|
|
|
|
wsscreen per wsdisplay device ; from deraadt@ long ago.
|
|
altq is merged into pf and handled through pf.
|
|
attack protection scheme, into gcc.
This protection is enabled by default. It can be turned off by using the
-fno-stack-protector flag.
Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific
integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and
myself; beer drinking by myself.
Please note that system upgrades with this new code will require a new
libc and ld.so to be build and installed before the propolice-enabled
compiler can be installed.
|
|
|
|
the user addresses directly from the kernel. copyin is faster and can
correctly deal properly with mappings that uvm_useracc thinks are
correct but will fault anyway (to figure out how to generate such
mappings is left as en excercise for the reader).
Blatantly stolen from art@'s similar fix to sparc.
|
|
|
|
ok marc@
|
|
|
|
(which I will leave for Dale since it needs special handling).
From NetBSD (and same as sparc64). espie@ OK
|
|
Add intvec counting.
Adapt to openbsd WOPEN handling.
All untested but does compile...
|
|
Diff generated by Chris Kuethe.
|
|
pages into the queue already containing allocated pages.
breaks i386:setup_buffers() because of this.
|
|
|
|
Testing by Brandon Creighton and Jim Uhl.
|
|
Should also work on Legacy, but tester hasn't reported back yet...
|
|
: date: 2002/09/13 03:00:18; author: chuck; state: Exp; lines: +3 -3
: increase sc_maxxfer from 63K to 64K. otherwise fsck fails for
: file systems with larger block sizes.
|
|
would cause a panic.
To do so, instead of panic'ing in pmap_protect() if the pages which are
supposed to be used for the mapping are out of the affordable pmap limits,
just return, and handle this in pmap_enter, by either returning EFAULT if
pmap_enter has been invoked with PMAP_CANFAIL, or panicing there if there
is no escape.
ok art@
|
|
problems one of my machines was having with phantom scsi luns and no
way to discern which one was the boot device.
|
|
and return a VM_PAGE. This is to allow sparc64 to cheaply record the
VAC color for those pages.
|
|
instead of the pa. Most callers already had it handy and those who didn't
only called it for managed pages and were outside time-critical code.
This will allow us to make those functions clean and fast on sparc and
sparc64 letting us to avoid unnecessary cache flushes.
deraadt@ miod@ drahn@ ok.
|
|
- compiles again
- already tested
- less to upgrade later
|
|
ok millert@, rogue ok pjanzen@
|
|
This makes sure it will be regenerated if you run config(8) again.
|
|
|
|
really ELF; necessary for this to compile after the recent <sys/exec_elf.h>
changes. ok deraadt@
|
|
The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas
SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX
(which we already have). deraadt@ OK
|
|
Info from NetBSD, testing by pval and millert.
|
|
consistent with SID/XSID data from Mats O Jansson, Chuck McManis,
Antonio Carlini, Fred van Kempen, and Kees Stravers.
Tested by Fred van Kempen.
|
|
|