1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef _JOVE_x86_64_TCB_H #define _JOVE_x86_64_TCB_H 1 #include <stdint.h> typedef struct jove_ThreadControlBlock { void *stack; uintptr_t sp, ksp; void *pml4; void *mailbox; /* PML caching for faster calls?*/ uint8_t kstack[KERNEL_STACKBYTES]; } tcb_t; #endif