Kernel: GDT tss selector is now 16 bit value

This commit is contained in:
Bananymous
2023-05-06 00:57:00 +03:00
parent f36b94d039
commit ab8aac7dcf

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;