%define SYS_EXIT 0 ; Kill this thread
%define SYS_CLONE 1 ; Create a new thread
%define SYS_KILL 2 ; Send a signal
%define SYS_EXIT 0 ; Kill this thread
%define SYS_CLONE 1 ; Create a new thread
%define SYS_KILL 2 ; Send a signal
%define SYS_YIELD 4 ; Yield remainder of timestamp
%define SYS_SLEEP 5 ; Sleep until messaged or signaled
%define SYS_WAIT 6 ; Wait for a time or a message
%define SYS_YIELD 4 ; Yield remainder of timestamp
%define SYS_SLEEP 5 ; Sleep until messaged or signaled
%define SYS_WAIT 6 ; Wait for a time or a message
%define SYS_LOADMOD 20 ; Load a module into the kernel
%define SYS_GETPHYS 32 ; Get the physical address of a page
%define SYS_LOADMOD 20 ; Load a module into the kernel
%define SYS_GETPHYS 32 ; Get the physical address of a page
%define SYS_ALLOCATE 34 ; Allocate a page
%define SYS_UNMAP 35 ; Unmap a page
%define SYS_PREALLOC 36 ; Preallocate a page
%define SYS_ALLOCATE 34 ; Allocate a page
%define SYS_UNMAP 35 ; Unmap a page
%define SYS_PREALLOC 36 ; Preallocate a page