[−][src]Module obsidianos_kernel::gdt
Global descriptor table segments management and initialization
Structs
GdtEntry | A struct which represents an entry in the GDT |
Constants
DOUBLE_FAULT_IST_INDEX | The index of the Double Fault entry in the Interrupt Stack Table (IST) |
GDT_KERNEL_CODE | The index of the KERNEL_CODE segment in the GDT |
GDT_KERNEL_DATA | The index of the KERNEL_DATA segment in the GDT |
GDT_NULL | The index of the NULL segment in the GDT |
GDT_TSS | The index of the TSS segment in the GDT |
GDT_TSS_HIGH | The index of the high part of the TSS segment in the GDT |
GDT_USER_CODE | The index of the USER_CODE segment in the GDT |
GDT_USER_DATA | The index of the USER_DATA segment in the GDT |
Statics
GDT | The global GDT used by the kernel |
GDTR | The pointer to the global GDT |
TSS | The task state segment (TSS) which handles some informations about the current process |
Functions
init⚠ | Initialize GDT |
set_stack⚠ | Set the kernel's stack pointer in the TSS |