1 /**************************************************************************** 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> 22 struct 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 }; 32 struct _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 */ 39 struct 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 }; 46 #define ESR_MAGIC 0x45535201 47 struct esr_context { 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 struct _aarch64_ctx head; 50 __u64 esr; 51 }; 52 #endif 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54