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 Mar 22 22:23:56 UTC 2026

Modified Files:
	src/sys/arch/cesfic/cesfic: locore.s
	src/sys/arch/hp300/hp300: locore.s
	src/sys/arch/luna68k/luna68k: locore.s
	src/sys/arch/mac68k/mac68k: locore.s
	src/sys/arch/mvme68k/mvme68k: locore.s
	src/sys/arch/news68k/news68k: locore.s
	src/sys/arch/virt68k/virt68k: locore.s
	src/sys/arch/x68k/x68k: locore.s

Log Message:
For many many years now, it has been unnecessary to initialize the user
stack pointer before calling main().  TL;DR - %usp comes from the exception
frame and is restored in the syscall stub (always) or rei (if an AST is
pending).  For newly-forked processes, those take the non-AST path through
rei, but lwp_trampoline() takes care of it in that case.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/cesfic/cesfic/locore.s
cvs rdiff -u -r1.210 -r1.211 src/sys/arch/hp300/hp300/locore.s
cvs rdiff -u -r1.106 -r1.107 src/sys/arch/luna68k/luna68k/locore.s
cvs rdiff -u -r1.202 -r1.203 src/sys/arch/mac68k/mac68k/locore.s
cvs rdiff -u -r1.159 -r1.160 src/sys/arch/mvme68k/mvme68k/locore.s
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/news68k/news68k/locore.s
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/virt68k/virt68k/locore.s
cvs rdiff -u -r1.154 -r1.155 src/sys/arch/x68k/x68k/locore.s

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.