1570af302Sopenharmony_ci#include <features.h> 2570af302Sopenharmony_ci 3570af302Sopenharmony_ci/* This is the structure used for the rt_sigaction syscall on most archs, 4570af302Sopenharmony_ci * but it can be overridden by a file with the same name in the top-level 5570af302Sopenharmony_ci * arch dir for a given arch, if necessary. */ 6570af302Sopenharmony_cistruct k_sigaction { 7570af302Sopenharmony_ci void (*handler)(int); 8570af302Sopenharmony_ci unsigned long flags; 9570af302Sopenharmony_ci#ifdef SA_RESTORER 10570af302Sopenharmony_ci void (*restorer)(void); 11570af302Sopenharmony_ci#endif 12570af302Sopenharmony_ci unsigned mask[2]; 13570af302Sopenharmony_ci#ifndef SA_RESTORER 14570af302Sopenharmony_ci void *unused; 15570af302Sopenharmony_ci#endif 16570af302Sopenharmony_ci}; 17570af302Sopenharmony_ci 18570af302Sopenharmony_cihidden void __restore(), __restore_rt(); 19