blob: 8918925c52fc76592c61d641080827ec5d701c8a [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI__ASM_SIGCONTEXT_H
20#define _UAPI__ASM_SIGCONTEXT_H
21#include <linux/types.h>
22struct sigcontext {
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 __u64 fault_address;
25 __u64 regs[31];
26 __u64 sp;
27 __u64 pc;
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 __u64 pstate;
30 __u8 __reserved[4096] __attribute__((__aligned__(16)));
31};
32struct _aarch64_ctx {
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 __u32 magic;
35 __u32 size;
36};
37#define FPSIMD_MAGIC 0x46508001
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39struct fpsimd_context {
40 struct _aarch64_ctx head;
41 __u32 fpsr;
42 __u32 fpcr;
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 __uint128_t vregs[32];
45};
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070046#define ESR_MAGIC 0x45535201
47struct esr_context {
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 struct _aarch64_ctx head;
50 __u64 esr;
51};
Ben Cheng655a7c02013-10-16 16:09:24 -070052#endif
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */