Implemented basic support for function pointers

This commit is contained in:
Eduard Urbach 2025-01-30 16:33:20 +01:00
parent 47f2bc7947
commit 860795c1ec
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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)
}