| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
You've served us well, good friend, but now it's time to rest.
ok deraadt
|
|
|
|
| |
Compile test and ok tobiasu@
|
|
|
|
|
|
|
| |
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
| |
ok deraadt matthew millert
|
|
|
|
|
|
|
|
| |
max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new
situation. The larger buffers are required by the very high speed
KDDI devices in Japan (CF com, or USB ucom) so those are the only two
drivers which currently ask for a larger buffer size.
ok yasuoka miod
|
|
|
|
| |
a process instead of using curproc. ok deraadt
|
|
|
|
|
|
|
|
|
|
| |
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and
remove it from any occurences where both are used, except one for kqueue itself
and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag).
Based on a diff from tedu.
ok deraadt
|
|
|
|
| |
miod@ deraadt@ ok.
|
|
|
|
|
|
|
| |
calls can go directly into selwakeup() safely
long discussion with nicm, murmers of consent from tedu and miod, noone
else seems to care of kqueue is busted as long as it makes their sockets
move data fast... pretty sad.
|
|
|
|
|
|
|
|
| |
kept in a separate intrhand array, with their own enable bits so that
soft interrupts sharing the same level only get invoked if really triggered.
Inspired by NetBSD with significant changes.
ok kettenis@
|
|
|
|
|
|
| |
licenses as well. Thanks!
"Groovy" deraadt
|
|
|
|
| |
if we were still running in pre-4.4BSD config(9) times.
|
| |
|
|
|
|
|
|
|
|
|
| |
separate tty registering is gone now that sparc has switched to wscons, and
this makes the code less error-prone.
Also, remove tests for ttymalloc() failure, since it uses M_WAITOK.
ok millert@ deraadt@, tested by various people as well besides me...
|
|
|
|
|
|
|
| |
now call the poll backend. With this change we implement greater
poll(2) functionality instead of emulating it via the select backend.
Adapted from NetBSD and including some changes from FreeBSD.
Tested by many, deraadt@ OK
|
|
|
|
|
|
|
|
|
| |
argument. old cred only calls user suser_ucred. this will allow future
work to more flexibly implement the idea of a root process. looks like
something i saw in freebsd, but a little different.
use of suser_ucred vs suser in file system code should be looked at again,
for the moment semantics remain unchanged.
review and input from art@ testing and further review miod@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are many interrupt handlers that assume that they don't need to do
any spl protection in their code because the interrupt of some level can't
be interrupted by an interrupt of the same level. The problem is that some
interrupt handlers have hardware levels that are lower then their "software"
levels.
Fix this by adding an additional field to struct intrhand that specifies which
"software" level an interrupt handler has and blocks that level while handling
the interrupt. This new field is initialized in intr_establish which gets
an additional argument (which can be -1 meaning that the interrupt handler
doesn't need to block any additional level).
ok deraadt@
|
|
|
|
|
| |
usable in MD code in the future.
deraadt@ ok
|
|
|
|
| |
ra->ra_name is needed and is the result of getpropstring
|
| |
|
|
|
|
|
| |
64Mhz vs. the "normal" 25Mhz). This (with the cs4231 patch) makes this
board work.
|
| |
|
| |
|
|
|
|
|
|
| |
less wrong than using splsoftclock which is defined to be a lowering spl
(this doesn't matter on the sparc yet, because spls on sparc are wrong,
but it will matter soon).
|
| |
|
| |
|
| |
|
| |
|
|
|