summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/hal/smp.h
blob: 68e420f5750b8afd38e0c491b5e8f6aac8d116e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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