Fix: custom signal handler not working

This commit is contained in:
2025-05-06 12:49:44 +08:00
parent d31f5e02fe
commit 7c054743ce
7 changed files with 48 additions and 32 deletions

View File

@@ -47,7 +47,7 @@ typedef struct process {
int32_t current_signal;
signal_handler_t sighandlers[SIGNAL_NUM];
trapframe_t *regs;
trapframe_t *regs, *retregs;
} process_t;
// thread_func_t, cast from