Re: Save and restore FPU state around signal handlers on armv7

2018-06-23 Thread Markus Hennecke
On Sat, 23 Jun 2018, Mark Kettenis wrote: > > Date: Fri, 22 Jun 2018 17:16:14 +0200 (CEST) > > From: Mark Kettenis > > > > It takes the alpha/hppa/mips64 approach of storing the state in struct > > sigcontext instead of using a pointer. Using unsigned int and > > unsigned long long instead of u

Re: Save and restore FPU state around signal handlers on armv7

2018-06-22 Thread Mark Kettenis
> Date: Fri, 22 Jun 2018 17:16:14 +0200 (CEST) > From: Mark Kettenis > > It takes the alpha/hppa/mips64 approach of storing the state in struct > sigcontext instead of using a pointer. Using unsigned int and > unsigned long long instead of uint32_t and uint64_t here to avoid > having to include

Save and restore FPU state around signal handlers on armv7

2018-06-22 Thread Mark Kettenis
It takes the alpha/hppa/mips64 approach of storing the state in struct sigcontext instead of using a pointer. Using unsigned int and unsigned long long instead of uint32_t and uint64_t here to avoid having to include other headers. But I suppose I could include include and use __uint32_t and __u