Files
quark-kernel/include/context.h
ngiddings 5efc389935 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
2021-04-19 03:40:33 -05:00

11 lines
257 B
C

#pragma once
#include "pageallocator.h"
#include "process.h"
void *initialize_context(void *task_entry, struct page_stack_t *page_stack);
void save_context(struct process_state_t *context, void *ptr);
void load_context(struct process_state_t *context);