From 7ee9347560768641096df68c545ac085a20233e4 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sun, 17 Aug 2025 14:16:55 -0400 Subject: working usermode pager. fix usermode interrupts --- arch/x86_64/lgdt.s | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'arch/x86_64/lgdt.s') diff --git a/arch/x86_64/lgdt.s b/arch/x86_64/lgdt.s index 7122ef9..55e37b5 100644 --- a/arch/x86_64/lgdt.s +++ b/arch/x86_64/lgdt.s @@ -20,7 +20,6 @@ gdt_load: .global tss_flush .type tss_flush @function tss_flush: - movw %di, %ax - ltr %ax + ltr %di retq .size tss_flush, . - tss_flush -- cgit v1.2.1