Redesign reschedule points, allow one operation to reschedule many cpus at once
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m12s

This commit is contained in:
2026-02-18 23:16:03 +01:00
parent ae0a6024da
commit f103bdd739
39 changed files with 376 additions and 223 deletions

View File

@@ -1,14 +1,19 @@
#ifndef _KERNEL_SYS_PROC_H
#define _KERNEL_SYS_PROC_H
#include <libk/list.h>
#include <libk/std.h>
#include <proc/reschedule.h>
struct proc;
struct proc* proc_from_elf (uint8_t* elf_contents);
struct proc* proc_clone (struct proc* proto, uintptr_t vstack_top, uintptr_t entry,
uintptr_t argument_ptr);
void proc_cleanup (struct proc* proc);
void proc_cleanup (struct proc* proc, struct reschedule_ctx* rctx);
void proc_init_tls (struct proc* proc);
#endif // _KERNEL_SYS_PROC_H