did some restructuring, got multitasking almost working
This commit is contained in:
13
kernel/scheduler.h
Normal file
13
kernel/scheduler.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef KSCHEDULER_H
|
||||
#define KSCHEDULER_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void init_scheduler();
|
||||
|
||||
int create_task(uint32_t entry_point, uint32_t cr3);
|
||||
|
||||
void sleep(uint32_t ticks);
|
||||
void yield();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user