1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef _JOVE_x86_64_HAL_SMP_H #define _JOVE_x86_64_HAL_SMP_H 1 #include "gdt.h" #include "process.h" #include "hal/obj.h" #include "hal/smp.h" typedef struct processor { struct gdt_entry gdt[GDT_TSS_HI+1]; struct tss tss; uint8_t iopb[0x2000]; jove_obj_t *pcb_obj; pcb_t *pcb; } processor_t; void smp_init_bsp(void); #endif