4 * proc.h - Process/Thread management code
12 // TODO: Rebuild once IDT code is done
14 Uint rax, rcx, rdx, rbx;
15 Uint krsp, rbp, rsi, rdi;
16 Uint r8, r9, r10, r11;
17 Uint r12, r13, r14, r15;
18 Uint int_num, err_code;
24 * \brief Memory State for thread handler
26 typedef struct sMemoryState
32 * \brief Task state for thread handler
34 typedef struct sTaskState