20 #ifndef KERNEL_PROCESSOR_X86_GDT_H 21 #define KERNEL_PROCESSOR_X86_GDT_H 23 #include "pedigree/kernel/compiler.h" 24 #include "pedigree/kernel/processor/types.h" 71 size_t index, uint32_t base, uint32_t limit, uint8_t flags,
static X86GdtManager m_Instance
#define INITIALISATION_ONLY
static void initialiseProcessor() INITIALISATION_ONLY
X86GdtManager & operator=(const X86GdtManager &)
void setTssDescriptor(size_t index, uint32_t base) INITIALISATION_ONLY
void setTlsBase(uintptr_t base)
void initialiseTss(struct X86TaskStateSegment *pTss) INITIALISATION_ONLY
void initialise(size_t processorCount) INITIALISATION_ONLY
X86GdtManager() INITIALISATION_ONLY
void initialiseDoubleFaultTss(X86TaskStateSegment *pTss) INITIALISATION_ONLY
static X86GdtManager & instance()
void setSegmentDescriptor(size_t index, uint32_t base, uint32_t limit, uint8_t flags, uint8_t flags2)
segment_descriptor * m_Gdt