-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Add Syscalls for the Following Operations
SYS_EXEC – Loads and executes a program
SYS_ALLOC – Allocates a block of memory
SYS_FREE – Releases allocated memory
SYS_REALLOC – Resizes an allocated memory block
SYS_PROTECT – Changes memory protection flags
SYS_WRITEPORT – Writes a value to a hardware port (if applicable)
SYS_READPORT – Reads a value from a hardware port
SYS_SOCKET – Creates a socket
SYS_CONNECT – Connects to a remote server
SYS_BIND – Binds a socket to an address
SYS_LISTEN – Listens for incoming connections
SYS_ACCEPT – Accepts a new connection
SYS_SEND – Sends data over a socket
SYS_RECV – Receives data from a socket
SYS_CLOSESOCK – Closes a socket
SYS_HALT – Halts the virtual machine
SYS_RESTART – Restarts the virtual machine
SYS_VMINFO – Retrieves virtual machine information
SYS_ENV - Get environment info (os, etc)