Move platform-specific code for process loading/init for AMD64 to amd64/
All checks were successful
Build documentation / build-and-deploy (push) Successful in 49s

This commit is contained in:
2026-01-01 20:08:37 +01:00
parent 5e6bdcc52d
commit 121fb3b33c
7 changed files with 92 additions and 64 deletions

View File

@@ -2,6 +2,7 @@
#define _KERNEL_PROC_PROC_H
#include <aux/compiler.h>
#include <aux/elf.h>
#include <libk/std.h>
#include <sync/spin_lock.h>
#include <sys/mm.h>
@@ -51,6 +52,9 @@ struct procw {
void proc_sched (void);
void proc_kill (struct proc* proc);
void proc_map (struct proc* proc, uintptr_t start_paddr, uintptr_t start_vaddr, size_t pages,
uint32_t flags);
struct elf_aux proc_load_segments (struct proc* proc, uint8_t* elf);
void proc_init (void);
#endif // _KERNEL_PROC_PROC_H