blob: 33deed40c53c5d63f67634008c1bb7244e123f6f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef _JOVE_DEVICE_PROCESSOR_H
#define _JOVE_DEVICE_PROCESSOR_H 1
#if defined(__x86_64__)
#include "arch/x86_64/processor.h"
#endif
/**@FUNC Initialize the bootstrap processor.*/
void bsp_setup(void);
/**@FUNC Initialize the given processor with kernel-specific values.
* Generically:
* Instantiates a new kernel object representing the passed processor.
* For x86_64:
* Loads and uses the generic GDT and IDT.
* @PARAM processor processor to initialize.*/
void processor_setup(void* processor);
/**@FUNC Returns the processor struct this function is called by.
* @RET pointer to current processor.*/
void *processor_current(void);
#endif
|