tsutsui
7a77e181aa
Use PGSHIFT from <machine/param.h> for PAGE_SHIFT.
...
We can assume PGSHIFT is always constant on current
m68k pmap_motorola implementation.
Also fix some leftover HP300 comments on some ports.
2009-12-08 13:47:26 +00:00
thorpej
b5fd5d5727
Minor tweak to the pv_table management in the Hibler-derived m68k pmaps:
...
The head of the list is now a pv_header, which contains the first pv_entry
as well as a 16-bit attributes field (replaces the pmap_attributes array
plus the pv_entry::pv_flags field) as a 16-bit count of caller-specified
cache-inhibited mappings.
Tested on hp300 (shared pmap_motorola.c), changes to atari and amiga copies
are purely mechanical.
2009-08-26 00:30:01 +00:00
joerg
f5b0fec0e0
Remove SHMMAXPGS from all kernel configs. Dynamically compute the
...
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
2009-03-06 20:31:46 +00:00
tsutsui
7c5092b818
Remove unnecessary "last kernel PT page" mapping.
...
The lkptpa was required for hp300 (where PA != VA)
to prepare a page PA == VA to turn on the MMU,
and it is not needed for mac68k which has PA == VA
mappings even in kernel text/data/bss. Tested on LC630.
2009-01-10 11:28:47 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
yamt
6b2d8b66a4
merge yamt-km branch.
...
- don't use managed mappings/backing objects for wired memory allocations.
save some resources like pv_entry. also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
2005-04-01 11:59:21 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
thorpej
cc2c493bc4
Use PAGE_SIZE rather than NBPG.
2003-04-02 07:35:54 +00:00
thorpej
78ea2dd367
Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
...
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
2002-12-10 05:14:24 +00:00
soren
662f877587
MAXSLP is defined to be a machine-independent scheduling parameter,
...
so move it into sys/param.h.
2001-11-15 18:06:11 +00:00
thorpej
cf67ac7122
Per discussion w/ chuck and chuck, restructure the md page stuff
...
to use a structure called "vm_page_md", and use __HAVE_VM_PAGE_MD
and __HAVE_PMAP_PHYSSEG.
2001-05-01 02:19:13 +00:00
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
tsutsui
a8fdbdec1c
Remove unused pcbb() macro.
2000-12-01 17:57:43 +00:00
thorpej
9f60ecd809
We use 4K pages on the mac68k. Make PAGE_SIZE and friends into
...
compile-time constants.
2000-11-14 19:07:34 +00:00
thorpej
dded044fc2
Update for the NKMEMPAGES changes.
2000-02-11 19:25:12 +00:00
tsutsui
249975c3c9
Revert (accidentally removed) MAXSLP macro.
2000-01-27 09:47:12 +00:00
tsutsui
b0fbaa33fb
Remove obsoleted macros.
2000-01-26 09:44:10 +00:00
ragge
0513268399
CL* discarding.
1999-12-04 21:13:19 +00:00
thorpej
b8073b401b
Garbage-collect the VM_MBUF_SIZE constant. Instead, use the size
...
(nmbclusters * mclbytes), so that the right amount of KVA space is
allocated if those variables are patched.
1999-04-26 22:46:44 +00:00
scottr
d6fd16c828
vm_size_t -> vsize_t
1999-04-07 06:45:14 +00:00
scottr
0848c89c55
The last change wasn't quite enough to build libc during a 'make build'.
...
Bump DFLDSIZ, too.
1999-03-31 14:58:15 +00:00
scottr
9c8f206e65
Bump DFLSSIZ so that we can build libc.so.*, and limit MAXSSIZ independently
...
of MAXDSIZ.
1999-03-31 06:53:56 +00:00
chuck
e6f055e44b
MNN is no longer an option
1999-01-16 20:31:20 +00:00
scottr
84af636530
vm_offset_t -> {paddr_t, vaddr_t}
1998-12-22 08:47:05 +00:00
thorpej
6fb9a8addf
Define one page free list, and put all pages on it.
1998-07-08 04:39:34 +00:00
scottr
a57c68946c
GC the old MACHINE_NONCONTIG code.
1998-04-26 21:12:03 +00:00
scottr
06487a637a
Use VM_PSTRAT_BIGFIRST, and add a comment explaining the decision.
1998-04-26 20:06:26 +00:00
scottr
12e01e36dd
Missed removal of MACHINE_NONCONTIG. Pointed out by Allen.
1998-04-25 06:48:05 +00:00
scottr
8bcac06284
Checkpoint of UVM work to date. This includes a fully-functioning
...
MACHINE_NEW_NONCONTIG interface implementation, which is now enabled
on all systems. Thanks to Jason Thorpe for his work on the hp300 port,
from which most of the code used here was derived.
XXX In spite of the fact that it works on the hp300, UVM does not (yet)
work well under load on mac68k.
1998-04-24 05:27:24 +00:00
scottr
ec622ce63c
GC unused MMSEG definition, from Erik Bertelsen <erik@erik-be.uni-c.dk>.
...
Closes PR 3898.
1997-07-23 06:33:53 +00:00
perry
ad1710ce1e
update comment from 1981 on memory and disk prices -- pr-2754 from Curt Sampson
1997-07-12 16:18:36 +00:00
mrg
dc6a98e92c
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:09:23 +00:00
briggs
1372eab6c5
Include MACHINE_NONCONTIG here. It isn't needed on all macs, but it has been
...
used for all macs for quite some time.
1996-11-15 14:21:00 +00:00
briggs
4a9e8ef39f
Raise MAXTSIZ, double DFLDSIZ and quadruple MAXDSIZ. Lower USRPTSIZE.
...
Remove unused mapin() macro. Update VM_MAX* macros to look like the
amiga's (easier to read than hp300's).
1995-06-21 03:17:06 +00:00
cgd
4fdae7a0ae
new RCS ID format.
1994-10-26 08:45:48 +00:00
briggs
e606973964
Cleanup some. Deprecate a few defines that are no longer needed.
1994-06-26 13:21:49 +00:00
briggs
93726fb753
Change constants and comments to reflect the current MACHINE value.
...
Define T_BRKPT and T_WATCHPOINT.
1993-12-15 03:22:56 +00:00
briggs
1fd099189d
Change USRTEXT to 8192 in vmparam.h.
...
Add MACHINE_ARCH (m68k) to param.h.
1993-12-04 03:49:01 +00:00
briggs
9995ea306b
Added signal.h for -current. The rest is formatting changes.
1993-11-29 00:37:54 +00:00
briggs
8ae7f8bceb
The current MacBSD architecture sub-directory for NetBSD-0.9--more or
...
less. It needs some help to get to be -current. Support for minimal
hardware on the SE/30, II, IIx, and IIcx exists.
1993-09-29 06:08:37 +00:00