18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 48c2ecf20Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 58c2ecf20Sopenharmony_ci * for more details. 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Copyright (C) 1998, 1999, 2001, 2003 Ralf Baechle 88c2ecf20Sopenharmony_ci * Copyright (C) 2000, 2001 Silicon Graphics, Inc. 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci#ifndef _UAPI_ASM_SIGINFO_H 118c2ecf20Sopenharmony_ci#define _UAPI_ASM_SIGINFO_H 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(long) + 2*sizeof(int)) 158c2ecf20Sopenharmony_ci#undef __ARCH_SI_TRAPNO /* exception code needs to fill this ... */ 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#define __ARCH_HAS_SWAPPED_SIGINFO 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#include <asm-generic/siginfo.h> 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci/* 228c2ecf20Sopenharmony_ci * si_code values 238c2ecf20Sopenharmony_ci * Again these have been chosen to be IRIX compatible. 248c2ecf20Sopenharmony_ci */ 258c2ecf20Sopenharmony_ci#undef SI_ASYNCIO 268c2ecf20Sopenharmony_ci#undef SI_TIMER 278c2ecf20Sopenharmony_ci#undef SI_MESGQ 288c2ecf20Sopenharmony_ci#define SI_ASYNCIO -2 /* sent by AIO completion */ 298c2ecf20Sopenharmony_ci#define SI_TIMER -3 /* sent by timer expiration */ 308c2ecf20Sopenharmony_ci#define SI_MESGQ -4 /* sent by real time mesq state change */ 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci#endif /* _UAPI_ASM_SIGINFO_H */ 33