Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: possible bug in arm's cpu_setmcontext()?
On Mar 4, 2013, at 10:45 AM, minux <minux.ma%gmail.com@localhost> wrote:
> #ifdef FPU_VFP
> if ((flags & _UC_FPU)
> && (curcpu()->ci_vfp_id || (flags & _UC_ARM_VFP) == 0)) {
> return EINVAL;
> }
> #endif
Actually, it should be curcpu()->ci_vfp_id == 0. And I've committed
that.
The point is that you don't set _UC_FPU if there is no FPU.
It won't be set by getcontext if there is no FPU.
Home |
Main Index |
Thread Index |
Old Index