From 0b1d3d7c04893c4c43f0b25b786c5ced00bd3f24 Mon Sep 17 00:00:00 2001 From: antifallobst Date: Mon, 29 May 2023 02:10:43 +0200 Subject: [PATCH] documented kernel syscalls --- kernel/sysabi.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/sysabi.md b/kernel/sysabi.md index fad1143..f9139e7 100644 --- a/kernel/sysabi.md +++ b/kernel/sysabi.md @@ -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 | ## 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. - -| 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 | ---