tasking: make tasks run with arguments

This commit is contained in:
2025-04-01 16:28:27 +03:00
parent 9381b4cdb7
commit cb3d25f490
2 changed files with 32 additions and 14 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ typedef struct Process
struct Process* next; // Pointer to the next task in the list
} Process;
Process* task_create(EntryPoint func);
//Process* task_create(EntryPoint func);
Process* task_create(EntryPoint func, void** args, uint32_t arg_count);
void scheduler_init();
void schedule();
void scheduler_lock();