Re: FPU and signal delivery
[email protected] (Stephen Ma) Fri, 12 Apr 2002 10:03:40 -0700
| Newsgroups | gmane.os.netbsd.ports.mips |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Emmanuel" == Emmanuel Dreyfus <[email protected]> writes: Emmanuel> Hence I should check in linux_sys_sigreturn that MIPS3_SR_SX Emmanuel> and MIPS3_SR_KX are not set in the saved SR. Emmanuel> Maybe I need to check interupt mask (to make sure the Emmanuel> process cannot disable interupts and hence hang the Emmanuel> machine)? Emmanuel> Is there anything else I should check? Or should I just Emmanuel> avoid restoring SR in sigreturn? Is there any information Emmanuel> the user process could change in SR? Simply not restoring it is the safest thing to do. I don't think there's anything in that register that's part of the user context, so there's no reason to save/restore it (it's not done in the native signal code). - S