From 8251da342161767fe203627223ccd4a7026701c6 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Fri, 4 Sep 2026 11:31:40 -0400 Subject: initial commit. working on tasking --- arch/x86_64/hal/smp.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 arch/x86_64/hal/smp.h (limited to 'arch/x86_64/hal/smp.h') diff --git a/arch/x86_64/hal/smp.h b/arch/x86_64/hal/smp.h new file mode 100644 index 0000000..68e420f --- /dev/null +++ b/arch/x86_64/hal/smp.h @@ -0,0 +1,18 @@ +#ifndef _JOVE_x86_64_HAL_SMP_H +#define _JOVE_x86_64_HAL_SMP_H 1 + +#include "gdt.h" +#include "process.h" +#include "hal/smp.h" + +typedef struct processor +{ + struct gdt_entry gdt[GDT_TSS_HI+1]; + struct tss tss; + + pcb_t *pcb; +} processor_t; + +void smp_init_bsp(void); + +#endif -- cgit v1.2.3