os/kernel/cpu/x86_64/cpu_init.c

14 lines
265 B
C
Raw Normal View History

2019-04-30 17:11:26 -05:00
#include "paging.h"
2019-04-27 09:51:32 -05:00
#include "isr.h"
2019-04-30 17:11:26 -05:00
#include <grub/multiboot2.h>
#include "pmem.h"
2019-04-27 09:51:32 -05:00
// #include "../tasking.h"
2019-04-30 17:11:26 -05:00
void cpu_init(struct multiboot_boot_header_tag* mbd) {
2019-04-27 09:51:32 -05:00
isr_install();
asm volatile("sti");
2019-04-30 17:11:26 -05:00
pmem_init(mbd);
paging_init();
2019-04-27 09:51:32 -05:00
// tasking_init();
}