Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.Prune svn:mergeinfo from the new branch, as nothing has been mergedhere.Additional commits post-branch will follow.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Disconnect sun4v architecture from the three.Some files keep the SUN4V tags as a code reference, for the future,if any rewamped sun4v support wants to be added again.Reviewed by: mariusTested by: sbrunoApproved by: re
- change ABI for user trap handler for sun4v (eventually will sync sparc64 no hardware set up to test at the moment)Approved by: scottl (standing in for mentor rwatson)
Use FBSDID
Save/restore the %y register around calls to the C user trap handler;gcc emits the deprecated sparc v8 instructions that use this registerwhen optimizing for UltraSparc machines because they are apparetlyfaster then their v9 counterpars there.
Add space for %fsr and %tstate to utrapframe. Save them in the genericuser trap entry code. Restore %asi and %ccr from the saved %tstate beforereturning to the trapping user code.Submitted by: tmm
Add libc side of user trap handling.Add support for handling floating point disabled traps mostly in userlandfor the simple single threaded case. Not yet enabled by default.Implement __sparc_utrap_install as specified by the sparc abi.