CVS commit: src/sys/arch/powerpc/include/oea

"Radoslaw Kujawa" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	rkujawa
Date:		Tue Jun 30 17:21:18 UTC 2026

Modified Files:
	src/sys/arch/powerpc/include/oea: pmap.h

Log Message:
Clamp PMAP_DIRECT_MAPPED_LEN below USER_SR/KERNEL_SR

Derive it from MIN(USER_SR, KERNEL_SR) so the direct-mapped region never
overlaps the kernel HTAB window on ports where KERNEL_SR < USER_SR,
like ofppc. This made pmap_pvo_find_va() panic on legit lookup misses.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/powerpc/include/oea/pmap.h

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.