20 #ifndef KERNEL_PROCESSOR_X64_GDT_H 21 #define KERNEL_PROCESSOR_X64_GDT_H 23 #include "pedigree/kernel/compiler.h" 24 #include "pedigree/kernel/processor/types.h" 70 size_t index, uint64_t base, uint32_t limit, uint8_t flags,
#define INITIALISATION_ONLY
static X64GdtManager & instance()
void initialiseTss(X64TaskStateSegment *pTss) INITIALISATION_ONLY
void setSegmentDescriptor(size_t index, uint64_t base, uint32_t limit, uint8_t flags, uint8_t flags2)
void initialise(size_t processorCount) INITIALISATION_ONLY
X64GdtManager() INITIALISATION_ONLY
static X64GdtManager m_Instance
void setTssDescriptor(size_t index, uint64_t base) INITIALISATION_ONLY
X64GdtManager & operator=(const X64GdtManager &)
static void loadSegmentRegisters()
static void initialiseProcessor() INITIALISATION_ONLY
segment_descriptor * m_Gdt