Feat: POSIX signal
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
#include <process.h>
|
||||
#include <signal.h>
|
||||
|
||||
void syscall_handler(trapframe_t *regs);
|
||||
|
||||
@@ -12,4 +13,7 @@ int32_t sys_exec(const char *name, char *const argv[]);
|
||||
int32_t sys_fork(void);
|
||||
void sys_exit(int32_t status);
|
||||
int32_t sys_mbox_call(uint8_t ch, uint32_t *mbox);
|
||||
void sys_kill(int32_t pid);
|
||||
void sys_kill_by_id(int32_t pid);
|
||||
void sys_signal(int32_t SIGNAL, signal_handler_t handler);
|
||||
void sys_kill(int32_t pid, int32_t SIGNAL);
|
||||
void sys_sigreturn(void);
|
||||
|
||||
Reference in New Issue
Block a user