Skip to content

Commit b999930

Browse files
committed
lessons 8, 9, 10, entering 32-bit mode
1 parent adc8463 commit b999930

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

09-32bit-gdt/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ but it's good enough to boot, we'll fix this later with a higher language.
1919
As a curiosity, the first GDT entry must be `0x00` to make sure that the
2020
programmer didn't make any mistakes managing addresses.
2121

22-
Furthermore, since the CPU needs to know how long the GDT is, we'll use
22+
Furthermore, the CPU can't directly load the GDT address, but it requires
2323
a meta structure called the "GDT descriptor" with the size (16b) and address
24-
(32b) of our actual GDT.
24+
(32b) of our actual GDT. It is loaded with the `lgdt` operation.
2525

2626
Let's directly jump to the GDT code in assembly. Again, to understand
2727
all the segment flags, refer to the os-dev.pdf document. The theory for

0 commit comments

Comments
 (0)