Skip to content
Commit b0612e14 authored by Huifeng Zhang's avatar Huifeng Zhang Committed by Carles Cufí
Browse files

arch: arm: save 'fpscr' in the svc and isr handler



`fpscr` is assigned from `struct __fpu_sf.fpscr` in `vfp_restore`, but it
wasn't saved into `struct __fpu_sf.fpscr` in the svc and isr handler, So
it may be a dirty value.

    - Fix it by saving `fpscr` in the svc hand isr handler.
    - Jump out if FPU isn't enabled

Signed-off-by: default avatarHuifeng Zhang <Huifeng.Zhang@arm.com>
parent f09e3abb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment