summaryrefslogtreecommitdiff
path: root/arch/i386/boot
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/boot')
-rw-r--r--arch/i386/boot/gdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/boot/gdt.c b/arch/i386/boot/gdt.c
index 8be5563..d7873cc 100644
--- a/arch/i386/boot/gdt.c
+++ b/arch/i386/boot/gdt.c
@@ -68,7 +68,7 @@ uint64_t create_gdt_entry(uint32_t base, uint32_t limit, uint16_t flag) {
}
void gdt_install(void) {
- gp.limit = 64 * 3 - 1;
+ gp.limit = 64 * 5 - 1;
gp.base = (uint32_t)&desc;
desc[0] = create_gdt_entry(0, 0, 0);