summaryrefslogtreecommitdiff
path: root/kernel/smp.h
blob: ebf007d5558edd8064da887877c71383af9bb697 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define SMP_MAX_PROC 32

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 local_apic_id[SMP_MAX_PROC];	// unique for every processor
    
}smp_processors;