work on tss descriptor
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "gdt.h"
|
||||
|
||||
#include "core.h"
|
||||
#include "tss.h"
|
||||
|
||||
namespace GDT {
|
||||
|
||||
@@ -30,6 +31,11 @@ alignas(16) constinit SegmentDescriptor long_mode[] = {
|
||||
// Global data segment
|
||||
SegmentDescriptor::Segment64(false, 0),
|
||||
|
||||
SegmentDescriptor::Segment64(true , 3),
|
||||
SegmentDescriptor::Segment64(false, 3),
|
||||
|
||||
//SegmentDescriptor::TSSLow(),
|
||||
//SegmentDescriptor::TSSHigh(),
|
||||
};
|
||||
extern "C" constexpr Pointer gdt_long_mode_pointer(long_mode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user