Path: blob/master/arch/m68k/include/uapi/asm/ucontext.h
170997 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1#ifndef _M68K_UCONTEXT_H2#define _M68K_UCONTEXT_H34#include <asm/sigcontext.h>5#include <asm/signal.h>67typedef int greg_t;8#define NGREG 189typedef greg_t gregset_t[NGREG];1011typedef struct fpregset {12int f_fpcntl[3];13int f_fpregs[8*3];14} fpregset_t;1516struct mcontext {17int version;18gregset_t gregs;19fpregset_t fpregs;20};2122#define MCONTEXT_VERSION 22324struct ucontext {25unsigned long uc_flags;26struct ucontext *uc_link;27stack_t uc_stack;28struct mcontext uc_mcontext;29unsigned long uc_filler[80];30sigset_t uc_sigmask; /* mask last for extensibility */31};3233#endif343536