Merge "libc: Fix struct user_vfp definition."
This commit is contained in:
committed by
Android (Google) Code Review
commit
d51564f918
@@ -67,11 +67,6 @@ struct pt_regs {
|
|||||||
long uregs[18];
|
long uregs[18];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct user_vfp {
|
|
||||||
unsigned long long fpregs[32];
|
|
||||||
unsigned long fpscr;
|
|
||||||
};
|
|
||||||
|
|
||||||
#define ARM_cpsr uregs[16]
|
#define ARM_cpsr uregs[16]
|
||||||
#define ARM_pc uregs[15]
|
#define ARM_pc uregs[15]
|
||||||
#define ARM_lr uregs[14]
|
#define ARM_lr uregs[14]
|
||||||
|
|||||||
@@ -58,4 +58,15 @@ struct user{
|
|||||||
#define HOST_TEXT_START_ADDR (u.start_code)
|
#define HOST_TEXT_START_ADDR (u.start_code)
|
||||||
#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
|
#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
|
||||||
|
|
||||||
|
struct user_vfp {
|
||||||
|
unsigned long long fpregs[32];
|
||||||
|
unsigned long fpscr;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct user_vfp_exc {
|
||||||
|
unsigned long fpexc;
|
||||||
|
unsigned long fpinst;
|
||||||
|
unsigned long fpinst2;
|
||||||
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user