CVS commit: src/sys/arch

"Jason R Thorpe" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	thorpej
Date:		Sun May 10 19:33:33 UTC 2026

Modified Files:
	src/sys/arch/amiga/include: param.h
	src/sys/arch/atari/include: param.h
	src/sys/arch/cesfic/include: param.h
	src/sys/arch/hp300/include: param.h
	src/sys/arch/luna68k/include: param.h
	src/sys/arch/m68k/include: param.h
	src/sys/arch/m68k/m68k: vm_machdep.c
	src/sys/arch/mac68k/include: param.h
	src/sys/arch/mvme68k/include: param.h
	src/sys/arch/news68k/include: param.h
	src/sys/arch/next68k/include: param.h
	src/sys/arch/sun2/include: param.h
	src/sys/arch/sun3/include: param.h
	src/sys/arch/virt68k/include: param.h
	src/sys/arch/x68k/include: param.h

Log Message:
Harmonize USPACE / UPAGES across m68k platforms.

There seems to be a complicated history rooted in the original Utah code
using UPAGES of 2 w/ NBPG of 4096 for an 8KB total u-area.  The Amiga
port then appeared using NBPG of 8192, but UPAGES was not adjusted to
conpensate, resulting in a 16KB u-area for Amiga.  From there, chaos
spread which resulted in us homehow tolerating a situation where the
Sun2 is also using a 16KB u-area despite only have 2048-byte pages.

End this madness by centrally defining USPACE as 8192 and deriving
UPAGES from USPACE.  8KB is totally enough for these platforms.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/amiga/include/param.h
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/atari/include/param.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/cesfic/include/param.h
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/hp300/include/param.h
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/luna68k/include/param.h
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/m68k/include/param.h
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/m68k/m68k/vm_machdep.c
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/mac68k/include/param.h
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/mvme68k/include/param.h
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/news68k/include/param.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/next68k/include/param.h
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/sun2/include/param.h
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/sun3/include/param.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/virt68k/include/param.h
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/x68k/include/param.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.