expand protected mode code segment

refactor
pantonshire 1 month ago
parent da6f981a6a
commit a90c727a9a

@ -25,7 +25,7 @@
- 0x07e00 - 0x08000: gpt partition header
- 0x08000 - 0x08200: stage 2 partition table entry
- 0x08200 - 0x0c000: stage 2 text, stage 3 stack
- 0x0c000 : gdt
- 0x0e000 : gdt
- 0x10000 : stage 3 text
0x10000: stage 3

@ -134,13 +134,13 @@ gdt_flat:
dq 0
; 32-bit code segment.
; Bytes 0x0000 - 0xffff.
; Pages 0x0000 - 0xffff.
.segment_code_32:
db 0xff, 0xff, \
0x00, 0x00, \
0x00, \
10011011b, \
01000000b, \
11000000b, \
0x00
; 16-bit code segment, to use if we want to switch back to real mode.

Loading…
Cancel
Save