105d08e9716b5974d6ed08973f44930804890b902Christopher Ferris/**************************************************************************** 205d08e9716b5974d6ed08973f44930804890b902Christopher Ferris **************************************************************************** 305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** 405d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** This header was automatically generated from a Linux kernel header 505d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** of the same name, to make information necessary for userspace to 605d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** call into the kernel available to libc. It contains only constants, 705d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** structures, and macros generated from the original header, and thus, 805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** contains no copyrightable information. 905d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** 1005d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** To edit the content of this header, modify the corresponding 1105d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** source file (e.g. under external/kernel-headers/original/) then 1205d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** run bionic/libc/kernel/tools/update_all.py 1305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** 1405d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** Any manual change here will be lost the next time this script will 1505d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** be run. You've been warned! 1605d08e9716b5974d6ed08973f44930804890b902Christopher Ferris *** 1705d08e9716b5974d6ed08973f44930804890b902Christopher Ferris **************************************************************************** 1805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris ****************************************************************************/ 1905d08e9716b5974d6ed08973f44930804890b902Christopher Ferris#ifndef _UAPI__ASM_UCONTEXT_H 2005d08e9716b5974d6ed08973f44930804890b902Christopher Ferris#define _UAPI__ASM_UCONTEXT_H 2105d08e9716b5974d6ed08973f44930804890b902Christopher Ferris#include <linux/types.h> 2205d08e9716b5974d6ed08973f44930804890b902Christopher Ferrisstruct ucontext { 2305d08e9716b5974d6ed08973f44930804890b902Christopher Ferris unsigned long uc_flags; 2405d08e9716b5974d6ed08973f44930804890b902Christopher Ferris struct ucontext * uc_link; 2505d08e9716b5974d6ed08973f44930804890b902Christopher Ferris stack_t uc_stack; 2605d08e9716b5974d6ed08973f44930804890b902Christopher Ferris sigset_t uc_sigmask; 2705d08e9716b5974d6ed08973f44930804890b902Christopher Ferris __u8 __linux_unused[1024 / 8 - sizeof(sigset_t)]; 2805d08e9716b5974d6ed08973f44930804890b902Christopher Ferris struct sigcontext uc_mcontext; 2905d08e9716b5974d6ed08973f44930804890b902Christopher Ferris}; 3005d08e9716b5974d6ed08973f44930804890b902Christopher Ferris#endif 31