2009-03-04 04:28:35 +01:00
|
|
|
/****************************************************************************
|
|
|
|
****************************************************************************
|
|
|
|
***
|
|
|
|
*** This header was automatically generated from a Linux kernel header
|
|
|
|
*** of the same name, to make information necessary for userspace to
|
|
|
|
*** call into the kernel available to libc. It contains only constants,
|
|
|
|
*** structures, and macros generated from the original header, and thus,
|
|
|
|
*** contains no copyrightable information.
|
|
|
|
***
|
2012-03-08 06:13:49 +01:00
|
|
|
*** To edit the content of this header, modify the corresponding
|
|
|
|
*** source file (e.g. under external/kernel-headers/original/) then
|
|
|
|
*** run bionic/libc/kernel/tools/update_all.py
|
|
|
|
***
|
|
|
|
*** Any manual change here will be lost the next time this script will
|
|
|
|
*** be run. You've been warned!
|
|
|
|
***
|
2009-03-04 04:28:35 +01:00
|
|
|
****************************************************************************
|
|
|
|
****************************************************************************/
|
|
|
|
#ifndef _ASM_X86_SIGCONTEXT_H
|
|
|
|
#define _ASM_X86_SIGCONTEXT_H
|
|
|
|
#include <linux/compiler.h>
|
|
|
|
#include <asm/types.h>
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
struct _fpreg {
|
|
|
|
unsigned short significand[4];
|
|
|
|
unsigned short exponent;
|
|
|
|
};
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
struct _fpxreg {
|
|
|
|
unsigned short significand[4];
|
|
|
|
unsigned short exponent;
|
|
|
|
unsigned short padding[3];
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
};
|
|
|
|
struct _xmmreg {
|
|
|
|
unsigned long element[4];
|
|
|
|
};
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
struct _fpstate {
|
|
|
|
unsigned long cw;
|
|
|
|
unsigned long sw;
|
|
|
|
unsigned long tag;
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
unsigned long ipoff;
|
|
|
|
unsigned long cssel;
|
|
|
|
unsigned long dataoff;
|
|
|
|
unsigned long datasel;
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
struct _fpreg _st[8];
|
|
|
|
unsigned short status;
|
|
|
|
unsigned short magic;
|
|
|
|
unsigned long _fxsr_env[6];
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
unsigned long mxcsr;
|
|
|
|
unsigned long reserved;
|
|
|
|
struct _fpxreg _fxsr_st[8];
|
|
|
|
struct _xmmreg _xmm[8];
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
unsigned long padding[56];
|
|
|
|
};
|
|
|
|
#define X86_FXSR_MAGIC 0x0000
|
|
|
|
struct sigcontext {
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
unsigned short gs, __gsh;
|
|
|
|
unsigned short fs, __fsh;
|
|
|
|
unsigned short es, __esh;
|
|
|
|
unsigned short ds, __dsh;
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
unsigned long edi;
|
|
|
|
unsigned long esi;
|
|
|
|
unsigned long ebp;
|
|
|
|
unsigned long esp;
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
unsigned long ebx;
|
|
|
|
unsigned long edx;
|
|
|
|
unsigned long ecx;
|
|
|
|
unsigned long eax;
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
unsigned long trapno;
|
|
|
|
unsigned long err;
|
|
|
|
unsigned long eip;
|
|
|
|
unsigned short cs, __csh;
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
unsigned long eflags;
|
|
|
|
unsigned long esp_at_signal;
|
|
|
|
unsigned short ss, __ssh;
|
|
|
|
struct _fpstate __user * fpstate;
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
unsigned long oldmask;
|
|
|
|
unsigned long cr2;
|
|
|
|
};
|
|
|
|
#endif
|
2012-03-23 16:07:36 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|