Expand description
Parameters for hypercalls.
Structs§
- Close
Params - Parameters for a
FileClosehypercall. - Cmdsize
Params - Parameters for a
Cmdsizehypercall which provides the lengths of the items in the argument end environment vector. - Cmdval
Params - Parameters for a
Cmdvalhypercall, which copies the arguments end environment of the application into the VM’s memory. - Exit
Params - Parameters for a
Exithypercall. - Lseek
Params - Parameters for a
FileLseekhypercall - Open
Params - Parameters for a
FileOpenhypercall. - Read
Params - Parameters for a
FileReadhypercall. - Serial
Write Buffer Params - Parameters for a
SerialWriteBufferhypercall. - Unlink
Params - Parameters for a
FileUnlinkhypercall. - Write
Params - Parameters for a
FileWritehypercall.
Constants§
- ALLOWED_
OPEN_ FLAGS - EBADF
- Bad file number
- EFAULT
- Bad address
- EINVAL
- Invalid argument
- ENOENT
- No such file or directory
- EROFS
- Read-only file system
- O_
APPEND - O_CREAT
- O_
DIRECTORY - O_EXCL
- O_
RDONLY - O_RDWR
- O_TRUNC
- O_
WRONLY - SEEK_
CUR - The file offset is set to its current location plus offset bytes.
- SEEK_
END - The file offset is set to the size of the file plus offset bytes.
- SEEK_
SET - The file offset is set to offset bytes.