#pragma once #include struct process { void *stack_top; struct pagedir *pages; struct registers regs; }; extern struct process *process_current; struct process *process_new(); void process_switch(struct process *proc);