bump-allocated PID but kheap needs fix to kmalloc more than PAGE_SIZE

This commit is contained in:
2026-02-02 11:05:27 +01:00
parent 4a90de9521
commit 7bb542d901
8 changed files with 96 additions and 31 deletions

View File

@@ -82,6 +82,21 @@ struct boot_context boot_ctx;
extern struct process_t* processes_list;
extern struct process_t* current_process;
void pedicel_main(void* arg)
{
}
void two_main(void* arg)
{
}
void three_main(void* arg)
{
}
// This is our entry point
void kmain()
{
@@ -118,13 +133,9 @@ void kmain()
vmm_init();
struct process_t* pedicel = process_create();
struct process_t* two = process_create();
struct process_t* three = process_create();
process_add(&processes_list, pedicel);
process_add(&processes_list, two);
process_add(&processes_list, three);
struct process_t* pedicel = process_create("pedicel", (void*)pedicel_main, 0);
struct process_t* two = process_create("two", (void*)two_main, 0);
struct process_t* three = process_create("three", (void*)three_main, 0);
process_display_list(processes_list);
scheduler_init();