Merge "libc: Fix struct user_vfp definition."

This commit is contained in:
David 'Digit' Turner 2011-02-03 10:31:27 -08:00 committed by Android (Google) Code Review
commit d51564f918
2 changed files with 12 additions and 6 deletions

View File

@ -64,12 +64,7 @@
#ifndef __ASSEMBLY__
struct pt_regs {
long uregs[18];
};
struct user_vfp {
unsigned long long fpregs[32];
unsigned long fpscr;
long uregs[18];
};
#define ARM_cpsr uregs[16]

View File

@ -58,4 +58,15 @@ struct user{
#define HOST_TEXT_START_ADDR (u.start_code)
#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