Finished basic task switching mechansim
PCB is local to a process's address space. Context switches are written in assembly. Moved x86 headers to include/x86
This commit is contained in:
@@ -5,4 +5,6 @@
|
||||
|
||||
void *initialize_context(void *task_entry, struct page_stack_t *page_stack);
|
||||
|
||||
void load_context(struct process_state_t *context) __attribute__((naked));
|
||||
void save_context(struct process_state_t *context, void *ptr);
|
||||
|
||||
void load_context(struct process_state_t *context);
|
||||
|
||||
Reference in New Issue
Block a user