Kernel: GDT tss selector is now 16 bit value

This commit is contained in:
2023-05-06 17:34:22 +03:00
parent f36b94d039
commit ab8aac7dcf
+1 -1
View File
@@ -54,7 +54,7 @@ namespace Kernel::GDT
uint64_t address;
} __attribute__((packed));
static constexpr uint8_t s_tss_offset = 0x28;
static constexpr uint16_t s_tss_offset = 0x28;
static TaskStateSegment* s_tss = nullptr;
static SegmentDescriptor* s_gdt = nullptr;