summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/hal/smp.h
blob: 5813dd3ba593d415d25fbaef5ba5ccad2289bda6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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;
    
    jove_obj_t *pcb_obj;
    pcb_t *pcb;
} processor_t;

void smp_init_bsp(void);

#endif