* commit 'a4c42802df0e2245a6915e9a850a0ad10f35225c': ndk: arm: Update <asm/ptrace.h> and <asm/user.h>
This commit is contained in:
@@ -29,6 +29,9 @@
|
|||||||
#define PTRACE_GETCRUNCHREGS 25
|
#define PTRACE_GETCRUNCHREGS 25
|
||||||
#define PTRACE_SETCRUNCHREGS 26
|
#define PTRACE_SETCRUNCHREGS 26
|
||||||
|
|
||||||
|
#define PTRACE_GETVFPREGS 27
|
||||||
|
#define PTRACE_SETVFPREGS 28
|
||||||
|
|
||||||
#define USR26_MODE 0x00000000
|
#define USR26_MODE 0x00000000
|
||||||
#define FIQ26_MODE 0x00000001
|
#define FIQ26_MODE 0x00000001
|
||||||
#define IRQ26_MODE 0x00000002
|
#define IRQ26_MODE 0x00000002
|
||||||
|
|||||||
@@ -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