documented kernel syscalls

This commit is contained in:
antifallobst 2023-05-29 02:10:43 +02:00
parent b19b1c353d
commit 0b1d3d7c04
1 changed files with 5 additions and 5 deletions

View File

@ -57,13 +57,13 @@ The following calls should be implemented to some degree in noxos 1.0.
| 0x0303 | `nx_drv_flush_command_buffer` | This has to be called from a driver. Flushes the command queue buffer at _addr_. | addr | | | | status | N/A | | 0x0303 | `nx_drv_flush_command_buffer` | This has to be called from a driver. Flushes the command queue buffer at _addr_. | addr | | | | status | N/A |
## Kernel ## Kernel
The kernel syscalls can only be called from the kernels main process [link to processing article needed]. These syscalls can only be called from the kernel process.
If another process calls them, they will just return without doing anything. If another process calls them, they will just return without doing anything.
| ID | Name | Description | Arg1 | Arg2 | Arg3 | Arg4 | Result | Status | | ID | Name | Description | Arg1 | Arg2 | Arg3 | Arg4 | Result | Status |
|-----|------|-------------|------|------|------|------|--------|--------| |--------|-----------------------------|------------------------------------------------------------------------------------------------------|------|------|------|------|--------|-------------|
| | | | | | | | | | | 0xFF01 | `nx_kernel_scheduler_start` | Starts the kernel scheduler. The current execution point will be the kernel processes' first thread. | | | | | | Implemented |
| 0xFF02 | `nx_kernel_panic` | Causes a kernel panic. With _msg_ as error message. | msg | | | | | Implemented |
--- ---