From d13a35a3802e81efb60eecd3028dca67509b81f4 Mon Sep 17 00:00:00 2001 From: Amelia Coutard Date: Thu, 12 May 2022 16:58:53 +0200 Subject: [PATCH] Fixed the IO map "in" the TSS --- src/boot.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/boot.S b/src/boot.S index c156d36..955503c 100644 --- a/src/boot.S +++ b/src/boot.S @@ -25,6 +25,7 @@ multiboot_header_start: multiboot_header_end: .section .data +.align 0x1000 GDT: .set GDT.NULL, . - GDT .quad 0 @@ -81,9 +82,13 @@ TSS: IST6: .quad 0 IST7: .quad 0 .skip 10 - IOPB: .short 0 + IOPB: .short TSS_SIZE TSS_END: .set TSS_SIZE, TSS_END - TSS +IO_MAP: + .int 0xFFFFFFFF +IO_MAP_END: + .align 0x1000 PML4T: .quad PDPT_low - KERNEL_VMA + 3 .skip 0x1000 - 16 -- 2.47.0