Fixing bugs and removing debug statements
[tpg/acess2.git] / Kernel / arch / x86 / proc.asm
index cefd796..20a4fd7 100644 (file)
@@ -236,6 +236,13 @@ GetCPUNum:
 
 ; Usermode code exported by the kernel
 [section .usertext]
+; Export a place for the user to jump to to call a syscall
+; - Allows the kernel to change the method easily
+User_Syscall:
+       xchg bx, bx
+       int 0xAC
+
+; A place to return to and exit
 User_Syscall_RetAndExit:
        push eax
        call User_Syscall_Exit

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