From ab8aac7dcf4c139d9185e60ff15622f426c076cf Mon Sep 17 00:00:00 2001 From: Bananymous Date: Sat, 6 May 2023 00:57:00 +0300 Subject: [PATCH] Kernel: GDT tss selector is now 16 bit value --- kernel/arch/x86_64/GDT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/arch/x86_64/GDT.cpp b/kernel/arch/x86_64/GDT.cpp index b2ae5205..eb04d2c0 100644 --- a/kernel/arch/x86_64/GDT.cpp +++ b/kernel/arch/x86_64/GDT.cpp @@ -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;