thorpej
2b27ac7a99
Add a VM_MDPAGE_MEMBERS macro that defines pmap-specific data for
...
each vm_page structure. Add a VM_MDPAGE_INIT() macro to init this
data when pages are initialized by UVM. These macros are mandatory,
but ports may #define them to nothing if they are not needed/used.
This deprecates struct pmap_physseg. As a transitional measure,
allow a port to #define PMAP_PHYSSEG so that it can continue to
use it until its pmap is converted to use VM_MDPAGE_MEMBERS.
Use all this stuff to eliminate a lot of extra work in the Alpha
pmap module (it's smaller and faster now). Changes to other pmap
modules will follow.
2001-04-29 22:44:31 +00:00
thorpej
1c3a62e066
Sprinkle pmap_update() calls after calls to:
...
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).
These calls are relatively conservative. It may be possible to
optimize these a little more.
2001-04-24 04:30:50 +00:00
thorpej
d2fefd399c
ctype-like functions are in libkern now.
2001-04-18 15:43:01 +00:00
briggs
511ae4853c
Remove extra whitespace after \.
2001-04-16 13:45:31 +00:00
kleink
f06533a1ee
Add definitions of C99 integer format conversion macros.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 17:13:04 +00:00
kleink
739cb75837
Add definitions of C99 specified-width integer type limits.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 15:29:02 +00:00
kleink
cdcf9f46c5
Add definitions of C99 integer constant macros.
...
Tidy Makefiles up a little.
2001-04-14 22:46:19 +00:00
kleink
a7c20e5788
Add definitions of C99 integer constant macros.
2001-04-14 22:38:33 +00:00
kleink
7affdab52e
Add definitions of C99 minimum-width and greatest-width integer types.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14 12:19:49 +00:00
thorpej
bf2dcec4f5
Remove the use of splimp() from the NetBSD kernel. splnet()
...
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
manu
4678df7c23
Cosmetic change
2001-04-04 17:08:07 +00:00
manu
15fbc5943f
Added a comented out COMPAT_LINUX option in GENERIC kernels of PowerPC ports
2001-04-03 19:50:43 +00:00
lukem
9f60674a47
now that duplicated stuff has been moved to sys/conf.h, remove unnecessary
...
defs for: lpt, joy, pc
2001-03-21 23:42:14 +00:00
lukem
723cd818d8
move duplicate definitions for:
...
pc, lpt, joy, ocis, apm, satlink, i4bctl, i4brbch, i4btel, i4btrc, i4b
from the port-specific arch/*/*/conf.c files into sys/conf.h
2001-03-21 22:25:52 +00:00
soren
912c115675
s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message.
2001-03-21 18:40:28 +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
manu
c1faa5c059
enabled COMPAT_LINUX for sandpoint
2001-03-12 20:10:06 +00:00
thorpej
2c4c690f14
Add the BUS_DMA_STREAMING flag.
2001-03-07 22:42:16 +00:00
briggs
20d5755843
Set the PCI mem tag to 0. The BAR already contains the value that was here.
2001-03-07 05:52:28 +00:00
briggs
9fcf8e36a4
Sync with reality. Add NetBSD tag.
2001-03-06 20:16:09 +00:00
briggs
d6ff14bfde
Update the defaults of MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ to those used
...
in macppc.
2001-03-06 20:11:41 +00:00
briggs
7446055d62
Disable interrupts during autoconf.
...
Move identifycpu() from machdep.c to autoconf.c, make it table-driven, and
add a few more models to it.
2001-03-06 20:10:20 +00:00
briggs
a3ee43a4e6
Remove dump stuff that is now in powerpc_machdep.
2001-02-26 14:55:05 +00:00
matt
af212d3fda
Use common switch / setfault / trampoline code. (except amigappc because
...
it doesn't use trap_subr.S either).
2001-02-25 20:34:24 +00:00
matt
e7811ad9b6
Move cpu_sysct and dump{mag,lo,siz} & cpu_dumpconf to powerpc_machdep.c.
...
dumpsys is still port-specific for now. XXX dumpsys is still a stub
on all powerpc ports.
2001-02-24 22:39:16 +00:00
matt
45f666cb9d
Remove setregs since it now lives in powerpc/powerpc/powerpc_machdep.c
2001-02-24 04:35:33 +00:00
briggs
d5cb949785
Install int_types.h, too.
2001-02-13 01:12:56 +00:00
briggs
5b380e8c30
Keyboard, mouse, ws*
2001-02-08 20:27:24 +00:00
briggs
55a187d809
Add lpt and fdc/fd back in. Include i4b stuff, too.
2001-02-08 18:33:07 +00:00
briggs
5fb8680bf6
Add fdc and lpt.
2001-02-08 18:33:03 +00:00
briggs
c86117ec25
Make it a #error to define PCI without PCI_NETBSD_CONFIGURE.
2001-02-08 18:32:02 +00:00
briggs
c3e491058d
Get rid of warning if no com devices are specified.
2001-02-08 18:31:25 +00:00
briggs
d2b8b0adf8
We really don't want isapnp.
2001-02-08 18:29:28 +00:00
briggs
afb7789ae8
Enable devices on the SuperIO chip.
2001-02-08 18:29:05 +00:00
briggs
be0166b004
Add in ppb* for PCI-PCI bridge support.
2001-02-07 05:51:10 +00:00
briggs
7fe588dfd3
Handle setting the proper interrupt line for devices behind bridges.
2001-02-07 05:49:17 +00:00
briggs
2f624f78d6
Share a single pio.h instead of having 4 nearly-identical copies.
2001-02-05 19:33:54 +00:00
briggs
e96035c57c
Tsubai has convinced me that openpic_init() should remain machine-dependant
...
as the details might differ between archs, and passing the various options
leads to some clutter.
2001-02-05 19:22:23 +00:00
briggs
c8ef73b71f
Support for the Motorola Sandpoint reference platform using the
...
MPC8240 processor module. See the README for more information.
2001-02-04 18:32:10 +00:00