![]() |
Max OS 0.3
|
Defines a Global Descriptor Table (GDT) for setting up memory segments in protected mode. More...
#include <cstdint>#include <common/macros.h>#include <system/multiboot.h>Go to the source code of this file.
Classes | |
| struct | MaxOS::system::GDTRegister |
| How the CPU stores the GDT. More... | |
| class | MaxOS::system::GlobalDescriptorTable |
| Sets up the GDT in the CPU. More... | |
Typedefs | |
| typedef struct PACKED MaxOS::system::GDTRegister | MaxOS::system::gdtr_t |
| Alias for GDTRegister struct. | |
Enumerations | |
| enum class | MaxOS::system::DescriptorFlags : uint64_t { Write = (1ULL << 41) , Execute = (1ULL << 43) , CodeOrDataSegment = (1ULL << 44) , GrowDown = (1ULL << 45) , ConformFromLower = (1ULL << 46) , Present = (1ULL << 47) , LongMode = (1ULL << 53) } |
| Flags for the GDT entries. More... | |
Defines a Global Descriptor Table (GDT) for setting up memory segments in protected mode.
Definition in file gdt.h.
|
strong |
Flags for the GDT entries.
DescriptorFlags
Definition at line 24 of file gdt.h.