X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Farch%2Fx86%2Fproc.asm;h=b8c01bcf451fe4e520a3b81ddd145e6530627cfa;hb=5ee801f4fb22bba3298f10273027e67f53692e4c;hp=dcafc5f112027b6b829a5284582c78f7ddf2c1a2;hpb=950126c76c539e76574f6349b833f41c70ed6573;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/arch/x86/proc.asm b/KernelLand/Kernel/arch/x86/proc.asm index dcafc5f1..b8c01bcf 100644 --- 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