]> git.ameliathe1st.gay Git - voyage-au-centre-des-fichiers.git/commitdiff
Fixed the IO map "in" the TSS
authorAmelia Coutard <eliottulio.coutard@gmail.com>
Thu, 12 May 2022 14:58:53 +0000 (16:58 +0200)
committerAmelia Coutard <eliottulio.coutard@gmail.com>
Thu, 12 May 2022 14:58:53 +0000 (16:58 +0200)
src/boot.S

index c156d36b9e5ce3ee2372c5b040bd892a377f8dcc..955503c685a6b9e32cd1f94efef82f1e91bea0cb 100644 (file)
@@ -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