summaryrefslogtreecommitdiffstats
path: root/kernel/GlobalConstruct.cpp
blob: b16b6ae5e6aac5d25ad1fa1fdff6639291f68115 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "GlobalConstruct.h"

void GlobalConstruct::terminalInit()
{
    display = VGADisplay();
};

void GlobalConstruct::gdtInit()
{
    mngGdt = MngGdt();

    mngGdt.addDescriptor(DescSeg32::flatCodeKernel());
    mngGdt.addDescriptor(DescSeg32::flatDataKernel()); 
    mngGdt.loadGdt();
};