From 0ad50c878838640ce53c202ab028d7b2c5810fe6 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Tue, 28 Sep 2021 09:04:01 -0500 Subject: arch: i386: add support for 8259 PIC Add support for the 8259 programmable interrupt controller. Signed-off-by: Danny Holman --- arch/i386/boot/boot.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch/i386/boot/boot.s') diff --git a/arch/i386/boot/boot.s b/arch/i386/boot/boot.s index e0005bb..c62abbf 100644 --- a/arch/i386/boot/boot.s +++ b/arch/i386/boot/boot.s @@ -45,7 +45,7 @@ _start: loop 1b 3: movl $(0x000B8000 | 0x003), boot_page_table0 - 0xC0000000 + 1023 * 4 - + movl $(boot_page_table0 - 0xC0000000 + 0x003), boot_page_directory - 0xC0000000 movl $(boot_page_table0 - 0xC0000000 + 0x003), boot_page_directory - 0xC0000000 + 768 * 4 @@ -70,6 +70,7 @@ _start: call gdt_install call idt_install + call pic_remap call kernel_main -- cgit v1.2.3