CVS commit: src/sys

"Nick Hudson" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	skrll
Date:		Wed Apr 22 08:27:18 UTC 2026

Modified Files:
	src/sys/arch/aarch64/aarch64: pmap_machdep.c
	src/sys/arch/aarch64/include: pmap_machdep.h
	src/sys/arch/mips/include: pmap.h
	src/sys/arch/powerpc/include/booke: pmap.h
	src/sys/arch/riscv/include: pmap.h
	src/sys/uvm/pmap: pmap.c

Log Message:
pmapmi: Define and use pmap_md_kernel_vaddr_{p,to_paddr} in pmap_extract.

Allow an architecture to provide a function that extracts the PA from the
VA that the kernel text/data/bss are mapped at. This allows pmap_extract
to work for kernel mappings that aren't PAGE_SIZE sized.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/aarch64/aarch64/pmap_machdep.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/aarch64/include/pmap_machdep.h
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/mips/include/pmap.h
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/powerpc/include/booke/pmap.h
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/riscv/include/pmap.h
cvs rdiff -u -r1.89 -r1.90 src/sys/uvm/pmap/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.