initial signal implementation

This commit is contained in:
Matheus
2024-05-14 15:04:48 -03:00
parent 00c212fa8d
commit 7b0cc4c51b
22 changed files with 824 additions and 55 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef _ARCH_SIGNAL_H
#define _ARCH_SIGNAL_H
#include <kernel/signal.h>
#define ARCH_SIGNAL_STACK_GROWS_DOWNWARDS 1
#define ARCH_SIGNAL_REDZONE_SIZE 128
#define ARCH_SIGNAL_GETFROMRETURN(x)
typedef struct {
void *restorer;
stack_t oldstack;
sigset_t oldmask;
context_t context;
extracontext_t extracontext;
siginfo_t siginfo;
} sigframe_t;
#endif