Kernel/armv7 - Enabled UART input on tegra2
[tpg/acess2.git] / KernelLand / Kernel / arch / x86_64 / proc.asm
index f44d65b..aff670a 100644 (file)
@@ -39,6 +39,8 @@ Proc_CloneInt:
        PUSH_GPR
        ; Save RSP
        mov [rdi], rsp
+       ; Call MM_Clone (with bNoUserCopy flag)
+       mov rdi, rdx
        call MM_Clone
        ; Save CR3
        mov rsi, [rsp+0x30]     ; Saved version of RSI
@@ -145,4 +147,15 @@ Proc_RestoreSSE:
        fxrstor [rdi]
        ret
 
+[section .usertext]
+
+[global User_Signal_Kill]
+User_Signal_Kill:
+       xor rax, rax
+       mov bx, di
+       mov bh, 0x02
+       int 0xAC
+       jmp $
+
+
 ; vim: ft=nasm

UCC git Repository :: git.ucc.asn.au