summaryrefslogtreecommitdiff
path: root/documentation/kernel-interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/kernel-interfaces')
-rw-r--r--documentation/kernel-interfaces/syscalls.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/documentation/kernel-interfaces/syscalls.txt b/documentation/kernel-interfaces/syscalls.txt
index 933ad34..f7dddba 100644
--- a/documentation/kernel-interfaces/syscalls.txt
+++ b/documentation/kernel-interfaces/syscalls.txt
@@ -4,6 +4,8 @@ rcx, rflags, r8-r11 are clobbered.
interrupts (including the timer!) are disabled during system calls.
+a "mibisecond" is a 1024th of a second
+
stream result:
0 = success
1 = bad handle
@@ -203,3 +205,11 @@ set thread name:
rax in: 24
rdi in: pointer to thread name
rsi in: thread name length
+
+sleep:
+ rax in: 25
+ rdi in: "mibiseconds" to sleep for
+
+get time:
+ rax in: 26
+ rax out: "mibiseconds" since january 1st 2000