summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-06-29 20:51:57 -0400
committerIan Moffett <ian@osmora.org>2025-06-29 20:51:57 -0400
commit78fe4f99b6cb6c85be3d28fdb7ee8ac6de55575e (patch)
treed2cc2b9ab9fafaa2c54936d2bd624243d32fea18 /sys/kern/init_main.c
parent1551310aa5484a483cad4e6ae4a358cb509cbef8 (diff)
kernel: Introduce SYS_inject syscall
The SYS_inject syscall will allow the user to inject Kernel Runtime Quantums (KRQs) into the running kernel. As of now, set paths are not supported and the initial implementation includes a NULL path used to load all deferrable drivers. Previously during kernel startup, all deferrable drivers were loaded automatically. This commit makes it so that they are only loaded when sys_inject() is called with a NULL path. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index dfb058a..6b3e09b 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -128,7 +128,6 @@ main(void)
* and here we go!
*/
mp_bootstrap_aps(&g_bsp_ci);
- DRIVERS_SCHED();
sched_enter();
__builtin_unreachable();
}