17 lines
300 B
C
17 lines
300 B
C
#include "gdt.h"
|
|
#include "paging.h"
|
|
#include "isr.h"
|
|
#include "pmem.h"
|
|
#include "serial.h"
|
|
#include "../tasking.h"
|
|
|
|
void cpu_init(struct multiboot_boot_header_tag* tags) {
|
|
gdt_init();
|
|
isr_install();
|
|
asm volatile("sti");
|
|
serial_init();
|
|
pmem_init(tags);
|
|
paging_init();
|
|
tasking_init();
|
|
}
|