Clean the fpu trap code:
authormiod <miod@openbsd.org>
Fri, 29 Mar 2024 21:14:31 +0000 (21:14 +0000)
committermiod <miod@openbsd.org>
Fri, 29 Mar 2024 21:14:31 +0000 (21:14 +0000)
commitb5125ceda9d70c44ef3139a5f5232fa9b2a67569
treec1e09afa93cdecd11a777e506cd02f228ccbf82c
parent76ad31e1c8bf3b6adcb1fb69cc925e586f8f89ff
Clean the fpu trap code:
- since there are no hardware fpu operation queues on real sparc64 hardware,
  don't bother declaring the relevant struct and fields.
- when an fpu instruction needs to be emulated, pass it directly to
  fpu_cleanup rather than fake its appearance in the fpu queue. While there,
  also pass the ready-to-use union sigval computed in trap() in case a
  signal needs to be delivered.

ok claudio@ kettenis@
sys/arch/sparc64/fpu/fpu.c
sys/arch/sparc64/fpu/fpu_extern.h
sys/arch/sparc64/include/reg.h
sys/arch/sparc64/sparc64/emul.c
sys/arch/sparc64/sparc64/genassym.cf
sys/arch/sparc64/sparc64/process_machdep.c
sys/arch/sparc64/sparc64/trap.c