blob: 0f0fc40eb1e89f736d7f7333098d3f31c6478820 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef _JOVE_x86_64_HAL_SMP_H
#define _JOVE_x86_64_HAL_SMP_H 1
#include "arch/x86_64/hal/paging.h"
#include "arch/x86_64/proc/process.h"
#include "gdt.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];
page_t syscall_page;
page_t interrupt_page;
jove_owned_obj_t *pcb_obj;
pcb_t *pcb;
} processor_t;
void smp_init_bsp(void);
#endif
|