Added functions to create and load process contexts
This commit is contained in:
8
include/context.h
Normal file
8
include/context.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "pageallocator.h"
|
||||
#include "process.h"
|
||||
|
||||
void *initialize_context(void *task_entry, struct page_stack_t *page_stack);
|
||||
|
||||
void load_context(struct process_state_t *context) __attribute__((noreturn));
|
||||
Reference in New Issue
Block a user