#
bb2d788a |
| 04-Feb-2023 |
tsutsui <tsutsui@NetBSD.org> |
Remove leftover "last kernel PT page" settings derived from hp300.
Whilehere, also remove VM definitions for obsolete COMPAT_HPUX stuff.
All hp300 machines has RAMs at a region from the highest add
Remove leftover "last kernel PT page" settings derived from hp300.
Whilehere, also remove VM definitions for obsolete COMPAT_HPUX stuff.
All hp300 machines has RAMs at a region from the highest address i.e. 0xFFFFFFFF to smaller address (as HP claims "it's the MSB first"), so kernels have to prepare PA==KVA mappings as the "last PT page" to guarantee the running kernel works both before and after the MMU is turned on. For such a special mapping, we have to set up necessary segment table and page table during early startup, in pmap_bootstrap() invoked from locore.s.
On the other hand, NeXT machines have RAMs at a region from 0x40000000 to below (i.e. to larger address) so we still need a PA==KVA mapping. However currently NetBSD/next68k just uses the transparent translation registers to achieve the PA==KVA mapping, so unlike hp300 we don't have to prepare special segment table and page table for it.
Note many other m68k ports (like luna68k, news68k, x68k etc.) have RAMs at a region from 0x00000000 so usually we can assume PA==KVA and don't have to bother to prepare such speicial mappings.
No user visible changes (except now freed wasted pages for the tables). Tested on my NeXTstation slab.
show more ...
|
#
76bf93e7 |
| 10-Feb-2012 |
para <para@NetBSD.org> |
proper sizing of kmem_arena on different ports
PR port-i386/45946: Kernel locks up in VMEM system
|
#
8ac3875a |
| 08-Feb-2011 |
rmind <rmind@NetBSD.org> |
Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as the
Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
show more ...
|
#
465857f0 |
| 11-Dec-2009 |
tsutsui <tsutsui@NetBSD.org> |
Refactoring MD segment related definitions on m68k ports: - move macro SEGSHIFT, NBSEG, and SEGOFSET from <machine/param.h> to <m68k/pmap_motorola.h> where they should belong - also simplify NBSEG
Refactoring MD segment related definitions on m68k ports: - move macro SEGSHIFT, NBSEG, and SEGOFSET from <machine/param.h> to <m68k/pmap_motorola.h> where they should belong - also simplify NBSEG macro for both 020/030 and 040/060 cases - also move m68k_trunc_seg(), m68k_round_seg(), and m68k_seg_offset() (that use SEGOFSET) from <m68k/param.h> to <m68k/pmap_motorola.h> - add comments about each segment size value used on pmap_motorola implementation - add TIA_SIZE, TIA_SHIFT, TIB_SIZE, and TIB_SHIFT macro which can be used for ste/pte index sizes - use proper vaddr_t cast instead of unsigned for SEGOFSET/PGOFSET macro
Tested on atari, hp300, and news68k.
show more ...
|
#
d7debedc |
| 09-Dec-2009 |
tsutsui <tsutsui@NetBSD.org> |
Fix wrong NBSEG values for all hp300 pmap derived m68k ports. They were incorrect since 1997 on amiga and atari, and since 2002 on other ports, but fortunately they don't look so fatal.
Anyway, thes
Fix wrong NBSEG values for all hp300 pmap derived m68k ports. They were incorrect since 1997 on amiga and atari, and since 2002 on other ports, but fortunately they don't look so fatal.
Anyway, these values will be moved into <m68k/pmap_motorola.h> soon since they are quite pmap implementation dependent.
show more ...
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
41f06eac |
| 07-Sep-2005 |
drochner <drochner@NetBSD.org> |
include machine/intr.h only in the _KERNEL case, as most other ports do. (In the -KERNEL case, it is needed because the spl*() stuff ought to be pulled in by <sys/param.h> per the manpages.) This sav
include machine/intr.h only in the _KERNEL case, as most other ports do. (In the -KERNEL case, it is needed because the spl*() stuff ought to be pulled in by <sys/param.h> per the manpages.) This saves some namespace headaches.
show more ...
|
#
a73e3141 |
| 19-Jan-2005 |
chs <chs@NetBSD.org> |
de-__P, remove register, ansify.
|
#
aad01611 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
63486740 |
| 03-Nov-2002 |
chs <chs@NetBSD.org> |
merge pmap.h for all 4k-page motorola-MMU (or compatible) m68k platforms.
|
#
dded044f |
| 11-Feb-2000 |
thorpej <thorpej@NetBSD.org> |
Update for the NKMEMPAGES changes.
|
#
05132683 |
| 04-Dec-1999 |
ragge <ragge@NetBSD.org> |
CL* discarding.
|
#
ddff5f8e |
| 09-Jun-1998 |
dbj <dbj@NetBSD.org> |
Initial import of NetBSD/next68k.
|