Implemented more arm64 instructions
This commit is contained in:
15
lib/sys/sys_linux_arm.q
Normal file
15
lib/sys/sys_linux_arm.q
Normal file
@ -0,0 +1,15 @@
|
||||
read(fd int, buffer *byte, length int) -> int {
|
||||
return syscall(63, fd, buffer, length)
|
||||
}
|
||||
|
||||
write(fd int, buffer *byte, length int) -> int {
|
||||
return syscall(64, fd, buffer, length)
|
||||
}
|
||||
|
||||
mmap(address int, length uint, protection int, flags int) -> *any {
|
||||
return syscall(222, address, length, protection, flags)
|
||||
}
|
||||
|
||||
munmap(address *any, length uint) -> int {
|
||||
return syscall(215, address, length)
|
||||
}
|
Reference in New Issue
Block a user