Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/m68k/m68k
Module Name: src
Committed By: thorpej
Date: Mon Dec 1 17:47:13 UTC 2025
Modified Files:
src/sys/arch/m68k/m68k: pmap_68k.c
Log Message:
Add a hook that allows a machine to override the default kernel text
protection bits. This is needed by mac68k which must map a portion
of the kernel text read/write (roughly the first 8KB of the kernel
address space) as that's where it needs to place the vector table plus
the "low ram" variable area needed by the Mac ROMs.
The hook is such that the entire kernel text is mapped with the specified
PTE bits, and then machdep code can come back later to perform any fixups
as needed (e.g. re-mapping &start to &etext read-only) once the kernel is
running on its MMU tables.
While here, add one more PMAP_MACHINE_CHECK_BOOTSTRAP_ALLOCATIONS check
if allocation of additional segment table pages is needed (unlikely, but
this check is needed in case it does happen).
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/m68k/m68k/pmap_68k.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