thorpej
0ce9e8b825
We don't have software-only maps, so a NULL pmap_t will never be passed
...
to pmap functions.
1998-03-28 19:53:42 +00:00
pk
2a65520c69
bus_space_probe() prototype.
1998-03-28 19:45:29 +00:00
thorpej
cbc72091e5
Remove a comment that is not applicable in NetBSD - we don't have
...
software-only maps.
1998-03-28 19:44:49 +00:00
pk
89444e9309
Implement generic bus probe function.
1998-03-28 19:44:08 +00:00
thorpej
d725b1a332
Remove a comment in tcp_mss_to_advertise() that no longer applies.
1998-03-28 19:39:57 +00:00
kleink
6618749e5a
Per XPG, if the file descriptor argument to mmap() refers to a file whose
...
type is not supported (neither VREG nor VCHR, or not a vnode at all), fail
with ENODEV instead of EINVAL.
1998-03-28 16:58:04 +00:00
thorpej
ce4810822b
Add autoconfiguration support for the Cypress 82C693 PCI-ISA bridge,
...
found on AlphaPC164SX boards.
Partially from Anders Magnusson <ragge@ludd.luth.se>.
1998-03-28 06:58:43 +00:00
thorpej
686a1a1177
Regen.
1998-03-28 06:39:13 +00:00
thorpej
515d7f04bf
Add the Contaq/Cypress 82C693 PCI-ISA bridge.
1998-03-28 06:38:46 +00:00
cjs
9308c6c2e1
Add uugetty manpage link.
1998-03-28 06:10:32 +00:00
cgd
2f8f14b311
check vendor against PCI_VENDOR_INVALID instead of 0xffff.
...
Suggested by Soren S. Jorvang.
1998-03-28 02:24:04 +00:00
cgd
7fa109343c
cope with name fixup in pcidevs
1998-03-28 02:12:02 +00:00
cgd
6108f60999
regen
1998-03-28 02:10:40 +00:00
cgd
3371d8f00f
fix bogus produce name tags for 82371FB_ISA and 82371FB_IDE (were 82471FB_*).
...
Pointed out by Soren S. Jorvang. Rename "BAD" vendor id to "INVALID".
1998-03-28 02:09:29 +00:00
thorpej
dd03631f2f
User land might need `enum uio_seg' and `struct uio', too.
1998-03-28 01:15:23 +00:00
cgd
c0ac8bae67
GC alpha's ECOFF_TOOLCHAIN make variable, and related bits. Nobody
...
should be using an ECOFF toolchain on NetBSD/alpha any more.
1998-03-28 00:50:41 +00:00
thorpej
4893f22399
Much more sane boot block builds, from Chris Demetriou.
1998-03-28 00:21:35 +00:00
mark
66477b8680
Only call dosoftints() from splx if there is a soft interrupt actually
...
pending. This save us doing a function call and a bunch of instructions
for every splx() call. (Patch from cgd).
1998-03-28 00:14:51 +00:00
mark
b6fa862ee6
Remove un-necessary prototype of set_boot_devs() (from cgd).
1998-03-28 00:06:03 +00:00
mark
fcade25040
Make physlock global rather than a static local to mmrw() (from cgd).
1998-03-28 00:04:46 +00:00
cgd
56eaa22285
kill some unused variables that i missed in my last checkin
1998-03-27 23:39:57 +00:00
is
07a1b88ab8
Use the physmem variable to get at the physical memory size (instead of the
...
avail_end - avail_start difference which is only correct on machines with
contiguous memory).
1998-03-27 22:45:47 +00:00
cgd
9264961c87
add a short delay (5ms) after ATAPI software reset is done, suggested by
...
Soren S. Jorvang <soren@t.dk>. Apparently some devices Really Want this.
1998-03-27 19:32:15 +00:00
cgd
db74b327b9
fix a few bogus pointer checks (was checking pointers which would
...
never be against NULL, instead of checking the correct pointer against
NULL). Pointed out (with diff) to Mark Brinicombe on March 17, no reply.
1998-03-27 19:28:52 +00:00
thorpej
a95651eaea
Add a PMAP_KERNEL_PTE() macro that returns the PTE for a given KVA. If
...
DEBUG, this performs a table walk. Othwise, the Virtual Page Table is
used. Use this macro in a few places where this was done by-hand.
Make vtophys() use PMAP_KERNEL_PTE(). In non-DEBUG cases, this is
a fair bit faster.
1998-03-27 19:18:04 +00:00
drochner
46f85eeab2
let all 8 bits go through
1998-03-27 18:26:22 +00:00
drochner
cbff98f7ff
fix max() vs min() confusion at 2 places
1998-03-27 18:22:36 +00:00
scottr
e3e82a2bd2
Move bus_space implementation to bus_space.c.
1998-03-27 18:11:31 +00:00
kleink
3a88962e8e
Name space cleanup: protect UIO_READ and UIO_WRITE against _XOPEN_SOURCE,
...
and extend _KERNEL protection to cover UIO_USERSPACE and UIO_SYSSPACE.
1998-03-27 15:14:37 +00:00
kleink
5d9a1f3207
Regen: syscalls.master changed.
1998-03-27 13:09:52 +00:00
kleink
3a1500efe9
Per X/Open CAE Spec Issue 5 Version 2, change the buffer size argument of
...
readlink() from type `int' to type `size_t'. This isn't an ABI change, since
the calling convention of our only LP64 platform (the Alpha) already promotes
this argument to a `long'.
This may not be the final action on this matter; readlink() still returns
an `int', which may change in a future revision of the standard.
1998-03-27 13:02:20 +00:00
agc
efa0b41486
Clean up some lint warnings about return value of errx.
1998-03-27 12:17:58 +00:00
agc
ac649ec457
When reading the PLIST file, don't abort everything if you don't
...
recognise an '@' command - just flag the line as being unrecognised,
and move to the next line.
1998-03-27 12:16:26 +00:00
jtc
6351dbac24
Rename initialization and termination functions from __init() and
...
__fini() to _init() and _fini(). The linker sets the DT_INIT and
DT_FINI .dynamic section entries based on the latter names.
1998-03-27 09:11:33 +00:00
scottr
a1c2154bd6
Add (commented out) ALTXBUTTONS option.
1998-03-27 06:12:32 +00:00
scottr
57191652f3
Don't map Opt-{1,2,3} to mouse buttons unless the ALTXBUTTONS option is
...
specified. (Doing so breaks German keyboards!) Fixes PR 4929.
1998-03-27 06:10:54 +00:00
cgd
066f971d37
copy from libc:
...
limits.h if user-land, machine/limits.h if kernel or standalone
1998-03-27 05:35:47 +00:00
cgd
4da39bc7c1
limits.h if user-land, machine/limits.h if kernel or standalone
1998-03-27 05:34:15 +00:00
hubertf
babf21e12e
Update usage string for [-cs]; pointed out by Soren S. Jorvang <soren@t.dk>
1998-03-27 02:40:38 +00:00
thorpej
b436157e65
Make proc0 use the statically-allocate vmspace0 again, and make it use
...
the kernel's pmap, since proc0 (and other that share its address space)
are kernel-only processes, and should never contain userspace mappings.
This makes it easier to detect errors, like entering user mappings
for kernel processes, in pmap modules, and makes some sense, considering
that kernel processes are really just "thread contexts" for the kernel.
1998-03-27 01:52:01 +00:00
thorpej
b65c510879
Split uvmspace_alloc() into uvmspace_alloc() and uvmspace_init(). The latter
...
can be used for initializing a pre-allocated vmspace.
1998-03-27 01:47:06 +00:00
thorpej
6e89972d82
Split vmspace_alloc() into vmspace_alloc() and vmspace_init(). The latter
...
can be used for initializing a pre-allocated vmspace.
1998-03-27 01:46:20 +00:00
cgd
b3d285e625
add -nostdinc to CPPFLAGS, so that /usr/include won't be used
1998-03-27 01:32:53 +00:00
cgd
33b3e7101b
sync with libc
1998-03-27 01:29:58 +00:00
cgd
e989882802
add bcopy.c to KSRCS, to sync with charles's libkern changes
1998-03-27 01:29:47 +00:00
ross
2ce8cda3e5
Get rid of a /* in a comment.
1998-03-27 01:17:18 +00:00
cgd
da6ee39cde
copy from src/lib/libz:
...
if _STANDALONE or _KERNEL, don't include standard headers and pull
in libkern.h instead. (That doesn't even appear to be necessary,
but it's the 'standard' thing to do.)
1998-03-27 01:11:07 +00:00
cgd
d376f961fd
if _STANDALONE or _KERNEL, don't include standard headers and pull
...
in libkern.h instead. (That doesn't even appear to be necessary,
but it's the 'standard' thing to do.)
1998-03-27 01:10:43 +00:00
cgd
72a24defa2
use machine/limits.h if _KERNEL or _STANDALONE
1998-03-27 01:01:54 +00:00
thorpej
b1e15c2005
Add some robustness to pmap_alloc_physpage(): Instead of panic'ing if
...
we can't get a page, find an inactive pmap and pmap_collect() it,
freeing up a few pages. Go ahead and die if we can't allocate a page
after 5 tries.
1998-03-27 00:52:43 +00:00