From b89617b46abd41a9d8aad4338cc0e94123bd9300 Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Thu, 14 Oct 2021 15:52:38 +0800 Subject: [PATCH] interrupt: load data segment 0 instead of 2 --- interrupt/load_gdt.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interrupt/load_gdt.S b/interrupt/load_gdt.S index 09d12bc..21aac5b 100644 --- a/interrupt/load_gdt.S +++ b/interrupt/load_gdt.S @@ -11,7 +11,7 @@ section '.text' executable ; ; Clobbers: rax interrupt_ReloadSegments: - mov eax, 0x10 ; my data segment + ;mov eax, 0x10 ; my data segment xor ax, ax mov ds, ax mov es, ax