Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch



Module Name:    src
Committed By:   thorpej
Date:           Fri Nov 14 15:07:42 UTC 2025

Modified Files:
        src/sys/arch/luna68k/include: pmap.h vmparam.h
        src/sys/arch/luna68k/luna68k: machdep.c
        src/sys/arch/m68k/include: pmap_68k.h
        src/sys/arch/m68k/m68k: pmap_68k.c
        src/sys/arch/news68k/include: pmap.h vmparam.h
        src/sys/arch/news68k/news68k: machdep.c
        src/sys/arch/virt68k/include: pmap.h vmparam.h
        src/sys/arch/virt68k/virt68k: machdep.c

Log Message:
Introduce a hook for machine-specific code to influence pmap_bootstrap1()
in the new pmap_68k.

The pmap_bootmap structure allows machine-specific code to:
- Specify "keepout" ranges, intended to clamp the managed kernel address
  space to keep it out of regions mapped using Transparent Translation
  (usually devices).
- Allocate unmanaged kernel virtual address ranges (usually for devices).
- Optionally map physical addresses to those virtual address ranges (guess
  what this might be used for!).

VM_MAX_KERNEL_ADDRESS is now run-time calculated.  It starts off as
the very last page of the kernel virtual address space, and is reduced
as it encounters KEEPOUT areas.

Initially, use this on luna68k, news68k, and virt68k to KEEPOUT the
TT-mapped ranges.

While here, add some missing RELOC()s; no difference on VA==PA platforms,
but bound to blow up eventually.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/luna68k/include/pmap.h
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/luna68k/include/vmparam.h
cvs rdiff -u -r1.114 -r1.115 src/sys/arch/luna68k/luna68k/machdep.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/m68k/include/pmap_68k.h
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/m68k/m68k/pmap_68k.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/news68k/include/pmap.h
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/news68k/include/vmparam.h
cvs rdiff -u -r1.119 -r1.120 src/sys/arch/news68k/news68k/machdep.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/virt68k/include/pmap.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/virt68k/include/vmparam.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/virt68k/virt68k/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index