git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel - Implimenting POSIX/C Signals
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
x86
/
proc.asm
diff --git
a/KernelLand/Kernel/arch/x86/proc.asm
b/KernelLand/Kernel/arch/x86/proc.asm
index
dcafc5f
..
b8c01bc
100644
(file)
--- a/
KernelLand/Kernel/arch/x86/proc.asm
+++ b/
KernelLand/Kernel/arch/x86/proc.asm
@@
-373,6
+373,14
@@
User_Syscall:
xchg bx, bx ; MAGIC BREAKPOINT
int 0xAC
+[global User_Signal_Kill]
+User_Signal_Kill:
+ xor eax, eax
+ mov bl, [esp+4]
+ mov bh, 0x02
+ int 0xAC
+ jmp $
+
User_RestoreState:
pop gs
pop fs
UCC
git Repository :: git.ucc.asn.au