diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-03-16 23:47:18 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-03-16 23:47:18 -0700 |
commit | 3240c761e83bed01f6105ee7074c884e629195cc (patch) | |
tree | 0b74df5b0213d9f1fc19c720bdca70f2cec67502 | |
parent | eae5483bf6d1f163680e93c198ae5a502a44bdc7 (diff) | |
download | mu-3240c761e83bed01f6105ee7074c884e629195cc.tar.gz |
.
-rw-r--r-- | boot.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.subx b/boot.subx index 9374557f..fd7c26e8 100644 --- a/boot.subx +++ b/boot.subx @@ -134,7 +134,7 @@ 0f 01/lgdt 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/or 3/mod/direct 0/rm32/eax 1/r32/?? 1/imm8 # eax <- or 0x1 + 66 83 1/subop/or 3/mod/direct 0/rm32/eax 1/imm8 # eax <- or 0x1 0f 22/->cr 3/mod/direct 0/rm32/eax 0/r32/cr0 # far jump to initialize_32bit_mode that sets cs to offset 8 in the gdt in the process # We can't refer to the label directly because SubX doesn't have syntax for |