Commit 55dda405 authored by Alexander Kartashov's avatar Alexander Kartashov Committed by Pavel Emelyanov

arm: kill fpu_state_t

It has been a mistake to introduce this struct since the FPU state
is stored deep inside an ARM sigframe. A remnant of the struct
is left to make the code compatible with the universal declaration
of the routine sigreturn_prep_fpu_frame().
Signed-off-by: 's avatarAlexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent a5752177
...@@ -42,6 +42,8 @@ struct vfp_sigframe { ...@@ -42,6 +42,8 @@ struct vfp_sigframe {
struct user_vfp_exc ufp_exc; struct user_vfp_exc ufp_exc;
}; };
typedef struct vfp_sigframe fpu_state_t;
struct aux_sigframe { struct aux_sigframe {
/* /*
struct crunch_sigframe crunch; struct crunch_sigframe crunch;
...@@ -62,8 +64,6 @@ struct sigframe { ...@@ -62,8 +64,6 @@ struct sigframe {
struct rt_sigframe { struct rt_sigframe {
struct rt_siginfo info; struct rt_siginfo info;
struct sigframe sig; struct sigframe sig;
fpu_state_t fpu_state;
}; };
......
...@@ -228,11 +228,4 @@ typedef uint32_t auxv_t; ...@@ -228,11 +228,4 @@ typedef uint32_t auxv_t;
static inline void *decode_pointer(uint64_t v) { return (void*)(uint32_t)v; } static inline void *decode_pointer(uint64_t v) { return (void*)(uint32_t)v; }
static inline uint64_t encode_pointer(void *p) { return (uint32_t)p; } static inline uint64_t encode_pointer(void *p) { return (uint32_t)p; }
typedef struct {
struct user_vfp ufp;
struct user_vfp_exc ufp_exc;
bool has_fpu;
} fpu_state_t;
#endif /* __CR_ASM_TYPES_H__ */ #endif /* __CR_ASM_TYPES_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment