CVS commit: src/sys/arch/sun3/sun3x

"Jason R Thorpe" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	thorpej
Date:		Thu Mar 19 12:39:03 UTC 2026

Modified Files:
	src/sys/arch/sun3/sun3x: locore.s

Log Message:
Oops missed sun3x in previous changes:

Now that all of the m68k copies of the "rei" function are functionally
equivalent, pick the one that uses the fewest cycles in the "no AST
pending" case and re-factor it into trap_subr.s.

Re-factor badtrap into the shared trap_subr.s.  This time we pick the
sun2/sun3 implementation of this trap stub because it provides more
context to the stray trap reporting routine (adjust the N copies of
straytrap() to compensate as needed, sigh).

Re-factor trap0 (system calls) into trap_subr.s.  Here we pick the flavor
that has the in-line astpending check bcause it's a few cycles faster in
the (common) case where no AST is pending at the end of a system call.

Re-factor trap12 ("cachectl") into trap_subr.s.  Already identical everywhere
except for 68010, where it's a no-op.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/sun3/sun3x/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.