Remove the gazillion of macros to get fields from curcpu(), and use
authormiod <miod@openbsd.org>
Thu, 10 Oct 2024 19:33:05 +0000 (19:33 +0000)
committermiod <miod@openbsd.org>
Thu, 10 Oct 2024 19:33:05 +0000 (19:33 +0000)
commitf9fed175ef459df9c546cb2689e7978147406130
treef83b0f939bc18b304ea7d3395c9a9a36915c9445
parent5101d665ac9b033f6befe0f5abf54fb2aef78d69
Remove the gazillion of macros to get fields from curcpu(), and use
relative addressing from the register holding the value of curcpu() instead.
No functional change, but shaves a few bytes of code on MULTIPROCESSOR kernels.
sys/arch/alpha/alpha/locore.s
sys/arch/alpha/alpha/locore0.S