FPU and signal delivery
[email protected] (Emmanuel Dreyfus) Fri, 12 Apr 2002 08:35:09 +0200
| Newsgroups | gmane.os.netbsd.ports.mips |
|---|---|
| Message-ID | <1faiq7x.hegxbo7038hM@[10.0.12.137]> |
Hi! One more question on signal delivery: we use a sc_fpused field in struct sigcontext to remeber if we must call savefpregs/loadfpregs. Why is this needed? We also save these registers in struct sigcontext. I wonder this because when IRIX uses SA_SIGINFO, context is saved in a struct irix_ucontext, which does not have a fpused field or something similar. Hence I wonder what to do with savefpregs/loadfpregs. One solution is to add a fpused field at the end of the struct irix_ucontext. IRIX binaries will not notice it, and I can use it to keep track of fpused. But before doing this, I'd like to understand what I'm doing here. -- Emmanuel Dreyfus. Vous avez deplacé la souris. Windows NT doit maintenant redemarrer pour valider les modifications. [email protected]