Framework for exporting system header to user space (#59)
[lunaix-os.git] / lunaix-os / arch / x86 / exceptions / interrupt32.S
index 58c033a2ffd34c7cfdb0635b341cabf11c5615dd..6eb5235aca9a55e68db9f3ed57780396f5668743 100644 (file)
@@ -1,7 +1,7 @@
 #define __ASM__
-#include <sys/hart.h>
-#include <sys/abi.h>
-#include <sys/interrupt32.S.inc>
+#include <asm/hart.h>
+#include <asm/abi.h>
+#include <asm/variants/interrupt32.S.inc>
 
 #include <lunaix/syscall.h>
 
@@ -20,7 +20,7 @@
 .section .bss
     .align 16
     lo_tmp_stack:
-        .skip 256
+        .skip 1024
     tmp_stack:
 
 /*
         # is required to prevent corrupt existing stack
         movl $tmp_stack, %esp
 
-        call signal_dispatch    # kernel/signal.c
+        call switch_signposting    # kernel/process/switch.c
 
         movl current_thread, %ebx
         test %eax, %eax         # do we have signal to handle?