Commit e2ac1c67 authored by Inphi's avatar Inphi Committed by GitHub

Update specs/fault-proof-vm.md

Co-authored-by: default avatarprotolambda <proto@protolambda.com>
parent aae14170
......@@ -99,7 +99,7 @@ The following table list summarizes the supported syscalls and their behaviors.
| 4055 | fcntl | uint32 fd | int32 cmd | | Similar behavior as Linux/MIPS. Only the `F_GETFL` (3) cmd is supported. Sets errno to `0x16` for all other commands |
For all of the above syscalls, an error is indicated by setting the return register (`$v0`) to
`0xFFFFFFFF` and `errno` (`$a3`) is set accordingly.
`0xFFFFFFFF` (-1) and `errno` (`$a3`) is set accordingly.
For unsupported syscalls, the VM must do nothing except to zero out the syscall return (`$v0`)
and errno (`$a3`) registers.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment