blob: ef0a66098d1e6b01c996e135f58f638d9102f4a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef SMP_H
#define SMP_H
#include "kernel.h"
typedef struct
{
uint8_t boot; //which processor in array is bsp
// (boot strap processor)
uint8_t processors; // total number of usable processors
uint32_t local_apic_address;// same for every processor
uint32_t io_apic_address;
uint32_t local_apic_id[SMP_MAX_PROC]; // unique for every processor
uint32_t flags;
}smp_processors;
#endif
|