blob: 393dfd4ac3d05d6fb324e1b485d0380f47b4d2b1 [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
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 ****************************************************************************/
Ben Cheng655a7c02013-10-16 16:09:24 -070019#ifndef _UAPI__ASM_SIGCONTEXT_H
20#define _UAPI__ASM_SIGCONTEXT_H
21#include <linux/types.h>
22struct sigcontext {
Nick Kralevicha67e4de2013-01-14 11:28:26 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080024 __u64 fault_address;
25 __u64 regs[31];
26 __u64 sp;
27 __u64 pc;
Nick Kralevicha67e4de2013-01-14 11:28:26 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 __u64 pstate;
30 __u8 __reserved[4096] __attribute__((__aligned__(16)));
Ben Cheng655a7c02013-10-16 16:09:24 -070031};
32struct _aarch64_ctx {
Nick Kralevicha67e4de2013-01-14 11:28:26 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 __u32 magic;
35 __u32 size;
Ben Cheng655a7c02013-10-16 16:09:24 -070036};
37#define FPSIMD_MAGIC 0x46508001
Nick Kralevicha67e4de2013-01-14 11:28:26 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070039struct fpsimd_context {
Tao Baod7db5942015-01-28 10:07:51 -080040 struct _aarch64_ctx head;
41 __u32 fpsr;
42 __u32 fpcr;
Nick Kralevicha67e4de2013-01-14 11:28:26 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 __uint128_t vregs[32];
Ben Cheng655a7c02013-10-16 16:09:24 -070045};
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 */
Tao Baod7db5942015-01-28 10:07:51 -080049 struct _aarch64_ctx head;
50 __u64 esr;
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070051};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080052#endif
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */