Move SMP and other arch specific stuff into arch specific folders
This commit is contained in:
parent
7706e629c6
commit
2213707c6a
5 changed files with 180 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
#define KERNELGSBASE 0xC0000102
|
||||
|
||||
typedef struct cpu_state {
|
||||
uint32_t lapic_id;
|
||||
uint32_t id;
|
||||
uint64_t lapic_timer_ticks;
|
||||
struct thread *head;
|
||||
struct thread *base;
|
||||
|
|
@ -22,5 +22,6 @@ typedef struct cpu_state {
|
|||
void smp_init();
|
||||
cpu_state *get_cpu_struct();
|
||||
uint64_t get_cpu_count();
|
||||
void bsp_early_init();
|
||||
bool get_cpu_struct_initialized();
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue