Usermode/AxWin4 - Fix bitmap upscale
[tpg/acess2.git] / KernelLand / Kernel / arch / x86 / proc.asm
index dcafc5f..be4c10d 100644 (file)
@@ -38,7 +38,7 @@ Proc_CloneInt:
        mov esi, [esp+0x20+8]
        mov [esi], eax
        ; Undo the pusha
-       add esp, 0x20
+       popa
        mov eax, .newTask
        ret
 .newTask:
@@ -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