summaryrefslogtreecommitdiff
path: root/kernel/GDT/gdt.cpp
blob: c3a5d438dd10c82d3748d23b9ac98b882158e759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "gdt.hpp"
#include "../Types/types.hpp"


Gdt::Gdt(){
	//Init desc 1 (0 conventional)
	//Init desc 2 (code segment)
	//Init desc 3 (data segment)
	//Init desc 4 (stack segment)
	
	

}

Gdt::~Gdt(){
	
}

void Gdt::initGdtDesc(u32 base, u32 limit, u8 type, u8 param, gdtDescriptorStruct *Descriptor){
	//Load parameter into "Descriptor"
}

void Gdt::loadGdt(){
	//Copy Gdt into memory
}