forked from Bananymous/banan-os
Kernel: Store current processor pointer in IA32_GS_BASE
This allows easier access to processors fields
This commit is contained in:
@@ -61,6 +61,7 @@ namespace Kernel
|
||||
|
||||
public:
|
||||
static GDT* create();
|
||||
void load() { flush_gdt(); flush_tss(); }
|
||||
|
||||
static constexpr inline bool is_user_segment(uint8_t segment)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user