forked from Bananymous/banan-os
Kernel: GDT tss selector is now 16 bit value
This commit is contained in:
parent
06bc807e34
commit
bc35a561d3
|
@ -54,7 +54,7 @@ namespace Kernel::GDT
|
||||||
uint64_t address;
|
uint64_t address;
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
static constexpr uint8_t s_tss_offset = 0x28;
|
static constexpr uint16_t s_tss_offset = 0x28;
|
||||||
|
|
||||||
static TaskStateSegment* s_tss = nullptr;
|
static TaskStateSegment* s_tss = nullptr;
|
||||||
static SegmentDescriptor* s_gdt = nullptr;
|
static SegmentDescriptor* s_gdt = nullptr;
|
||||||
|
|
Loading…
Reference in New Issue