aboutsummaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-24 17:33:11 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-24 17:33:11 +0200
commit1c053811c13f3bec4793dfb3ff0cc47854efa448 (patch)
tree623f7e358b551e670213f8d065ae6b1cd576de09 /i386
parent4480fc736bd11c22ec75a2f18a5431f88e40584d (diff)
downloadgnumach-1c053811c13f3bec4793dfb3ff0cc47854efa448.tar.gz
gnumach-1c053811c13f3bec4793dfb3ff0cc47854efa448.tar.bz2
gnumach-1c053811c13f3bec4793dfb3ff0cc47854efa448.zip
boothdr: Fix initial gdt
Diffstat (limited to 'i386')
-rw-r--r--i386/i386at/boothdr.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/i386/i386at/boothdr.S b/i386/i386at/boothdr.S
index d4e62b69..6696d966 100644
--- a/i386/i386at/boothdr.S
+++ b/i386/i386at/boothdr.S
@@ -115,7 +115,7 @@ iplt_done:
.align 16
.word 0
boot_gdt_descr:
- .word 13*8+7
+ .word 14*8-1
.long boot_gdt - KERNELBASE
.align 16
boot_gdt:
@@ -158,6 +158,7 @@ boot_gdt:
/* USER_GDT = 0x48 and 0x50 */
.quad 0
+ .quad 0
/* USER_TSS64 = 0x58 */
.quad 0