diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-03-18 22:49:20 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-03-18 22:49:20 -0700 |
commit | 31e1c468030f5de7f1556d71ac383493fe2c8ec4 (patch) | |
tree | 12ca274df075023d83bb5b5df0e2e43cb74bfa5e | |
parent | e4a224d3a9939d71fe30be9e2901fda69f0c69bd (diff) | |
download | mu-31e1c468030f5de7f1556d71ac383493fe2c8ec4.tar.gz |
.
-rw-r--r-- | boot.subx | 4 |
1 files 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. |