Reorganized sys functions
This commit is contained in:
parent
9908066c20
commit
c352778c6d
15 changed files with 110 additions and 120 deletions
7
lib/sys/mem_mac.q
Normal file
7
lib/sys/mem_mac.q
Normal file
|
@ -0,0 +1,7 @@
|
|||
mmap(address Int, length Int, protection Int, flags Int) -> Pointer {
|
||||
return syscall(0x20000C5, address, length, protection, flags)
|
||||
}
|
||||
|
||||
munmap(address Pointer, length Int) -> Int {
|
||||
return syscall(0x2000049, address, length)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue