IBNOS
|
anonymous enum |
Syscall table
Enumerator | |
---|---|
SYSCALL_YIELD | Schedule another process.
|
SYSCALL_EXIT_PROCESS | Exit current process.
|
SYSCALL_EXIT_THREAD | Exit current thread.
|
SYSCALL_GET_CURRENT_PROCESS | Allocates a new handle which points to the current process.
|
SYSCALL_GET_CURRENT_THREAD | Allocates a new handle which points to the current thread.
|
SYSCALL_GET_MONOTONIC_CLOCK | Returns the current kernel timestamp (in milliseconds)
|
SYSCALL_GET_PROCESS_INFO | Returns information about all running processes in the system
|
SYSCALL_EXECUTE_PROGRAM | Replaces the current process with the one specified by the handle.
|
SYSCALL_GET_THREADLOCAL_STORAGE_BASE | Get thread local storage address.
|
SYSCALL_GET_THREADLOCAL_STORAGE_LENGTH | Get thread local storage length in bytes.
|
SYSCALL_GET_PROGRAM_ARGUMENTS_BASE | Get the program argument array.
|
SYSCALL_GET_PROGRAM_ARGUMENTS_LENGTH | Get the length of the memory section reserved for the argument array.
|
SYSCALL_GET_ENVIRONMENT_VARIABLES_BASE | Get the program environment variables.
|
SYSCALL_GET_ENVIRONMENT_VARIABLES_LENGTH | Get the length of the memory section reserved for the environment variables.
|
SYSCALL_ALLOCATE_MEMORY | Allocate virtual pages.
|
SYSCALL_RELEASE_MEMORY | Free virtual pages.
|
SYSCALL_FORK | Fork process.
|
SYSCALL_CREATE_THREAD | Create a new thread.
|
SYSCALL_CREATE_EVENT | Creates a new event object.
|
SYSCALL_CREATE_SEMAPHORE | Creates a new semaphore object.
|
SYSCALL_CREATE_PIPE | Creates a new pipe object.
|
SYSCALL_CREATE_TIMER | Creates a new timer object.
|
SYSCALL_OBJECT_DUP | Duplicates a handle
|
SYSCALL_OBJECT_DUP2 | Replaces a kernel handle with a new object
|
SYSCALL_OBJECT_EXISTS | Checks if a given handle exists.
|
SYSCALL_OBJECT_COMPARE | Checks if two handles point to the same kernel object.
|
SYSCALL_OBJECT_CLOSE | Closes a specific handle. The object can still remain if other handles also point to it.
|
SYSCALL_OBJECT_SHUTDOWN | Forces shutdown of a specific kernel object (for example thread termination, closing pipes, ...)
|
SYSCALL_OBJECT_GET_STATUS | Returns an integer representing the internal state of an object. If an object has multiple states the mode parameter can be used to query each one individually. The exact meaning depends on the type of the object.
|
SYSCALL_OBJECT_WAIT | Waits for a specific action related to the kernel object (thread or process termination, semaphore). The exact meaning depends on the type of the object.
|
SYSCALL_OBJECT_SIGNAL | Wakes up a specific kernel object. This is only valid for specific objects like threads, semaphores or events.
|
SYSCALL_OBJECT_WRITE | Writes some data into a kernel object. This is only valid for specific objects like pipes.
|
SYSCALL_OBJECT_READ | Reads some data from a kernel object. This is only valid for specific objects like pipes.
|
SYSCALL_OBJECT_ATTACH_OBJ | Attaches a second kernel object to the first one. This is only valid for specific objects like events.
|
SYSCALL_OBJECT_DETACH_OBJ | Detaches a second kernel object to the first one. This is only valid for specific objects like events.
|
SYSCALL_CONSOLE_WRITE | Displays a string on the terminal
|
SYSCALL_CONSOLE_WRITE_RAW | Displays raw color and character codes on the terminal
|
SYSCALL_CONSOLE_CLEAR | Clears the terminal, i.e. removes all text
|
SYSCALL_CONSOLE_GET_SIZE | Get she size of the terminal
|
SYSCALL_CONSOLE_SET_COLOR | Set color for normal text writes
|
SYSCALL_CONSOLE_GET_COLOR | Get the current color of the terminal
|
SYSCALL_CONSOLE_SET_CURSOR | Set the position of the text cursor
|
SYSCALL_CONSOLE_GET_CURSOR | Get the current position of the text cursor
|
SYSCALL_CONSOLE_SET_HARDWARE_CURSOR | Set the position of the hardware cursor
|
SYSCALL_CONSOLE_GET_HARDWARE_CURSOR | Get the current position of the hardware cursor
|
SYSCALL_CONSOLE_SET_FLAGS | Set the flags for the console
|
SYSCALL_CONSOLE_GET_FLAGS | Get the current flags for the console
|
SYSCALL_FILESYSTEM_SEARCH_FILE | Searches for a given file, and returns a pointer to the file object
Returns:
|
SYSCALL_FILESYSTEM_SEARCH_DIRECTORY | Searches for a given directory, and returns a pointer to the directory object
Returns:
|
SYSCALL_FILESYSTEM_OPEN | Opens a directory or file.
|