Rework signal handling code

This commit is contained in:
EnderIce2
2024-03-25 23:21:27 +02:00
parent 3b1bd58a36
commit 3d1ecc3db0
10 changed files with 1040 additions and 711 deletions

View File

@ -20,6 +20,8 @@
#include <types.h>
#define linux_NSIG 64
#define linux_SIGHUP 1
#define linux_SIGINT 2
#define linux_SIGQUIT 3
@ -53,4 +55,14 @@
#define linux_SIGSYS 31
#define linux_SIGUNUSED linux_SIGSYS
#define linux_SIGRTMIN 32
#define linux_SIGRTMAX linux_NSIG
struct k_sigaction
{
void (*handler)(int);
unsigned long flags;
void (*restorer)(void);
unsigned mask[2];
};
#endif // !__FENNIX_KERNEL_LINUX_SIGNALS_H__