Task contexts now load segment registers correctly

Interrupt enable bit set in saved EFLAGS register
This commit is contained in:
2021-04-18 02:10:03 -05:00
parent 1171aa2ca3
commit c39cbb79cd
3 changed files with 32 additions and 7 deletions

View File

@@ -5,4 +5,4 @@
void *initialize_context(void *task_entry, struct page_stack_t *page_stack);
void load_context(struct process_state_t *context) __attribute__((noreturn));
void load_context(struct process_state_t *context) __attribute__((naked));