feat(pic): use remap_pic
This commit is contained in:
parent
ff0f7f79bd
commit
d5a8623acd
2
k/k.c
2
k/k.c
@ -26,6 +26,7 @@
|
|||||||
#include "gdt.h"
|
#include "gdt.h"
|
||||||
#include "idt.h"
|
#include "idt.h"
|
||||||
#include "multiboot.h"
|
#include "multiboot.h"
|
||||||
|
#include "pic.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "stdio.h"
|
#include "stdio.h"
|
||||||
|
|
||||||
@ -34,6 +35,7 @@ static void k_init(void)
|
|||||||
init_serial();
|
init_serial();
|
||||||
init_gdt();
|
init_gdt();
|
||||||
init_idt();
|
init_idt();
|
||||||
|
remap_pic();
|
||||||
}
|
}
|
||||||
|
|
||||||
void k_main(unsigned long magic, multiboot_info_t *info)
|
void k_main(unsigned long magic, multiboot_info_t *info)
|
||||||
|
Loading…
Reference in New Issue
Block a user