Implemented basic support for function pointers

This commit is contained in:
2025-01-30 16:33:20 +01:00
parent a2d80b0c21
commit 162824ec1c
8 changed files with 166 additions and 15 deletions

View File

@ -22,6 +22,10 @@ munmap(address Pointer, length Int) -> Int {
return syscall(11, address, length)
}
nanosleep(requested Pointer, remaining Pointer) -> Int {
return syscall(35, requested, remaining)
}
clone(flags Int, stack Pointer) -> Int {
return syscall(56, flags, stack)
}