Reorganized sys functions

This commit is contained in:
2025-02-06 13:46:37 +01:00
parent 170931cf5d
commit 9dcd43be46
15 changed files with 110 additions and 120 deletions

7
lib/sys/mem_linux.q Normal file
View File

@ -0,0 +1,7 @@
mmap(address Int, length Int, protection Int, flags Int) -> Pointer {
return syscall(9, address, length, protection, flags)
}
munmap(address Pointer, length Int) -> Int {
return syscall(11, address, length)
}