void base_gdt_load(void); void i16_base_gdt_load(void);
This function loads the base GDT into the processor's GDTR, and then reinitializes all segment registers from the descriptors in the newly loaded GDT. It returns with the CS segment set to KERNEL_CS (the default kernel code segment; see Section 10.7.1 for details), DS, ES, and SS set to KERNEL_DS (the default kernel data segment), and FS and GS set to 0.
- kvtolin
- 10.6.2
- base_gdt
- 10.7.1