From 31e1c468030f5de7f1556d71ac383493fe2c8ec4 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 18 Mar 2021 22:49:20 -0700 Subject: . --- boot.subx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot.subx b/boot.subx index d004e60e..6b0eeab9 100644 --- a/boot.subx +++ b/boot.subx @@ -131,7 +131,7 @@ # We can't refer to the label directly because SubX doesn't do the right # thing for lgdt, so rather than make errors worse in most places we instead # pin gdt_descriptor below. - 0f 01/lgdt 2/subop/lgdt 0/mod/indirect 6/rm32/use-disp16 0x7cf8/disp16/gdt_descriptor + 0f 01 2/subop/lgdt 0/mod/indirect 6/rm32/use-disp16 0x7cf8/disp16/gdt_descriptor # enable paging 0f 20/<-cr 3/mod/direct 0/rm32/eax 0/r32/cr0 66 83 1/subop/or 3/mod/direct 0/rm32/eax 1/imm8 # eax <- or 0x1 @@ -200,7 +200,7 @@ initialize_32bit_mode: # We can't refer to the label directly because SubX doesn't do the right # thing for lidt, so rather than make errors worse in most places we instead # pin idt_descriptor below. - 0f 01/lidt 3/subop/lidt 0/mod/indirect 5/rm32/use-disp32 0x8000/disp32/idt_descriptor + 0f 01 3/subop/lidt 0/mod/indirect 5/rm32/use-disp32 0x8000/disp32/idt_descriptor # For now, not bothering reprogramming the IRQ to not conflict with software # exceptions. -- cgit 1.4.1-2-gfad0