wiz
a9356936b4
seperate -> separate
2001-07-22 13:33:58 +00:00
wiz
3f9984fc90
`existent', not `existant'
2001-06-19 13:42:07 +00:00
wiz
0a600be867
receive, not recieve
2001-06-12 15:17:10 +00:00
lukem
d84d2c6c85
add missing #include "opt_kgdb.h"
2001-05-30 15:24:23 +00:00
mrg
67afbd6270
use _KERNEL_OPT
2001-05-30 11:57:16 +00:00
chs
966a1b86f8
initialize the b_dep field in malloc()'d buffers. fixes PR 13065.
2001-05-29 23:08:06 +00:00
kleink
021d12d997
Add 35401A drive (not picker) support; from Jarkko Teppo in PR
...
port-hp300/11183.
2001-05-27 09:09:05 +00:00
gmcgarry
9be5657e02
Alignment fix. rd disks now work on ELF systems.
2001-05-27 05:29:48 +00:00
scw
2963ff5c58
Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
...
in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
thorpej
f5940ea000
splimp -> splvm (XXX Time critical sections, but don't want to block
...
the clock).
2001-04-12 18:22:55 +00:00
tsutsui
41e535a424
Remove an unused variable which was caused on KERN_* error code removal.
2001-04-04 16:43:04 +00:00
chs
ac3bc537bd
eliminate the KERN_* error codes in favor of the traditional E* codes.
...
the mapping is:
KERN_SUCCESS 0
KERN_INVALID_ADDRESS EFAULT
KERN_PROTECTION_FAILURE EACCES
KERN_NO_SPACE ENOMEM
KERN_INVALID_ARGUMENT EINVAL
KERN_FAILURE various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE ENOMEM
KERN_NOT_RECEIVER <unused>
KERN_NO_ACCESS <unused>
KERN_PAGES_LOCKED <unused>
2001-03-15 06:10:32 +00:00
jdolecek
67e67ac7dc
Replace the (no longer working) check for tp->t_line == 0 with
...
tp->t_linesw == linesw[0]. Hopefully this is correct.
2000-11-27 18:39:04 +00:00
tsutsui
6ca08c284e
More fixes for linesw changes.
2000-11-27 15:28:41 +00:00
eeh
5d8e9b343a
Adapt to the new line discipline scheme.
2000-11-02 00:35:04 +00:00
he
489b832f9b
Add randomness sampling from hil, sd and rd devices.
2000-10-10 19:58:42 +00:00
tsutsui
de31126ed6
Fix keyboard related panic when ite device is configured
...
but not attached, per port-hp300/10750.
Approved by thorpej.
2000-08-04 17:22:09 +00:00
scottr
b4f5693f98
Repair format type mismatch in DEBUG code. From Steve Peurifoy via PR #10603 .
2000-07-17 06:51:18 +00:00
scottr
196f358a96
Correct return type of grfaddr(). From Steve Peurifoy via PR #10603 .
2000-07-17 06:50:32 +00:00
mrg
ca5133d3fb
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 08:22:17 +00:00
simonb
889c658b5b
Change the kernel mmap interface so that the offset to map is an
...
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
thorpej
21fc65e1a8
sleep() -> tsleep()
2000-05-27 04:52:27 +00:00
thorpej
071aed40ac
A foolish consistency; most parts of the kernel use bp->b_data, so
...
change these from bp->b_un.b_addr to bp->b_data, as well. This also
allows us more flexibility to experiment with other data buffer types
hung off of struct buf.
2000-05-19 18:54:22 +00:00
frueauf
01643c9f97
Fix typo: calllout_reset -> callout_reset.
2000-03-25 20:14:44 +00:00
thorpej
b667a5a357
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:30:07 +00:00
soren
95054da1a1
Fix doubled 'the's in comments.
2000-03-13 23:52:25 +00:00
kleink
3a09830119
printf format mismatch in DEBUG code (related to already fixed PR hp300/9388).
2000-02-11 23:00:47 +00:00
thorpej
5f9e257c5a
Fix a couple of printf format botches. port-hp300/9388, Steve Peurifoy.
2000-02-10 23:02:16 +00:00
thorpej
fe551f0e64
Fix a bug in disksort_*() which caused non-optimal ordering when multiple
...
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
frueauf
23774a37c9
remove unused variable *dp.
2000-02-06 11:14:56 +00:00
kleink
09dd6fc81d
Make these build again after buf.h/disksort changes.
2000-01-31 19:04:52 +00:00
thorpej
52242fdf9f
Update for sys/buf.h/disksort_*() changes.
2000-01-21 23:28:59 +00:00
he
09e6fcd222
Print drive vendor_id/product_id/revision strings also for SCSI-3 devices.
...
before: sd0 at oscsi0 targ 0 lun 0: type 0x0, qual 0x0, ver 3
after: sd0 at oscsi0 targ 0 lun 0: <IBM, DGHS09U, 0350> (SCSI-3)
1999-10-31 12:36:30 +00:00
thorpej
11cae42531
Centralize the declaration and clearing of `cold'.
1999-09-17 19:59:35 +00:00
bad
1a3995bac1
In apciparam() in the ospeed == 0 case, actually set the cfcr to the new
...
value.
1999-09-10 22:49:33 +00:00
bad
9e8bff3633
Another sacrifice to appease egcs: wrap "if .. if .. else" in braces.
1999-08-13 11:40:46 +00:00
thorpej
eb20bbc780
Change the semantics of splsoftclock() to be like other spl*() functions,
...
that is priority is rasied. Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.
This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).
XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX. This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
thorpej
868dfcb228
Store computed PSL values in an array indexed by abstract interrupt
...
level, rather than individual shortwords.
1999-08-01 21:50:17 +00:00
thorpej
22d6c3f13b
Fix APCI console initialization; we were forgetting to update cn_tab.
...
From Christoph Badura.
1999-08-01 21:30:21 +00:00
thorpej
c870d5243c
Skip "serial 1" on non-425e models. It's mapped to DCA at 9 on every
...
other 4xx model, and the "not configured" could be pretty annoying.
1999-07-31 21:15:20 +00:00
thorpej
e1f99936c8
Nuke apcicheckdca(). Since "serial 1" only exists as an APCI serial
...
port on the 425e, key off that instead.
1999-07-31 21:14:36 +00:00
oster
7824f40e5f
Add a '#include <sys/resourcevar.h>' to each of these to allow them
...
to compile again.
1999-06-22 14:51:57 +00:00
thorpej
9e9f068f43
Add the guts of mlockall(MCL_FUTURE). This requires that a process's
...
"memlock" resource limit to uvm_mmap(). Update all calls accordingly.
1999-06-18 05:13:45 +00:00
drochner
13bff3d3e5
remove unneeded old-vm includes
1999-04-10 14:28:22 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
sommerfe
bc533621ed
defopt MINIROOTSIZE
1999-03-17 18:59:21 +00:00
thorpej
3bf59302e9
Workaround for disks that respond slowly to selection, provided by
...
David Jones in PR #3769 .
Every day, I hate this driver more and more.
1999-02-06 03:30:32 +00:00
frueauf
a894e3a493
Add braces to make egcs happy.
1998-11-09 15:53:51 +00:00
chuck
8bef431273
remove unused share map code from UVM:
...
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
has been removed)
1998-10-11 23:20:59 +00:00
kleink
a6d3fb3799
vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t
1998-08-20 08:33:41 +00:00