libc: Fix struct user_vfp definition.
This patch moves the definition of struct user_vfp from <asm/ptrace.h> to <asm/user.h> for the ARM platform, in order to match the original kernel headers. See patches 94519 and 94520 for a description of the problem and a fix for debuggerd that uses the structure. This prevented us from properly re-running the kernel headers cleanup scripts. Change-Id: I43718a59ae49b9d89fc2d1c8affb65973fb2919c
This commit is contained in:
parent
040e18f362
commit
30b4d82bba
@ -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]
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user