#define __ASM__
-#include <sys/hart.h>
-#include <sys/abi.h>
-#include <sys/interrupt64.S.inc>
+#include <asm/hart.h>
+#include <asm/abi.h>
+#include <asm/variants/interrupt64.S.inc>
#include <lunaix/syscall.h>
tmp_store:
.skip 8
lo_tmp_stack:
- .skip 256
+ .skip 1024
tmp_stack:
# is required to prevent corrupt existing stack
movq $tmp_stack, %rsp
- call signal_dispatch # kernel/signal.c
+ call switch_signposting # kernel/process/switch.c
movq current_thread, %rbx
test %rax, %rax # do we have signal to handle?