git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code-base clean-up and refactoring (#47)
[lunaix-os.git]
/
lunaix-os
/
arch
/
x86
/
exceptions
/
interrupt32.S
diff --git
a/lunaix-os/arch/x86/exceptions/interrupt32.S
b/lunaix-os/arch/x86/exceptions/interrupt32.S
index 58c033a2ffd34c7cfdb0635b341cabf11c5615dd..6eb5235aca9a55e68db9f3ed57780396f5668743 100644
(file)
--- a/
lunaix-os/arch/x86/exceptions/interrupt32.S
+++ b/
lunaix-os/arch/x86/exceptions/interrupt32.S
@@
-1,7
+1,7
@@
#define __ASM__
#define __ASM__
-#include <
sys
/hart.h>
-#include <
sys
/abi.h>
-#include <
sy
s/interrupt32.S.inc>
+#include <
asm
/hart.h>
+#include <
asm
/abi.h>
+#include <
asm/variant
s/interrupt32.S.inc>
#include <lunaix/syscall.h>
#include <lunaix/syscall.h>
@@
-20,7
+20,7
@@
.section .bss
.align 16
lo_tmp_stack:
.section .bss
.align 16
lo_tmp_stack:
- .skip
256
+ .skip
1024
tmp_stack:
/*
tmp_stack:
/*
@@
-182,7
+182,7
@@
# is required to prevent corrupt existing stack
movl $tmp_stack, %esp
# is required to prevent corrupt existing stack
movl $tmp_stack, %esp
- call s
ignal_dispatch # kernel/signal
.c
+ call s
witch_signposting # kernel/process/switch
.c
movl current_thread, %ebx
test %eax, %eax # do we have signal to handle?
movl current_thread, %ebx
test %eax, %eax # do we have signal to handle?