Introduce more assembler macros to deduplicate code and improve readability:
authormiod <miod@openbsd.org>
Mon, 8 Apr 2024 20:02:18 +0000 (20:02 +0000)
committermiod <miod@openbsd.org>
Mon, 8 Apr 2024 20:02:18 +0000 (20:02 +0000)
commitb081b1ba77baeaeebbafdb229cef9fb50d258b84
tree620e83b104decbf9e9c7983d8148ff9e915c59ec
parente6da68a2118c79b0a772fe6c29bb6747e9f31877
Introduce more assembler macros to deduplicate code and improve readability:
- one macro for the inline pseg_get logic used in various MMU trap handlers.
- one macro for the TSB locking logic in various PTE update routines.
- one macro for the sun4v rwindow content saving.

ok kettenis@
sys/arch/sparc64/sparc64/locore.s