2015-07-20 16:34:46 +04:00
|
|
|
#include "GDT/gdt.hpp"
|
2015-07-19 11:52:01 +04:00
|
|
|
|
|
|
|
//----- PiegOS kernel main -----
|
|
|
|
|
2015-07-20 16:34:46 +04:00
|
|
|
int main(){
|
2015-07-19 11:20:21 +04:00
|
|
|
|
2015-07-21 14:23:57 +04:00
|
|
|
//Create Gdt instance
|
|
|
|
Gdt gdt;
|
|
|
|
|
|
|
|
//Load Gdt into memory
|
|
|
|
gdt.loadGdt();
|
|
|
|
|
2015-07-19 11:20:21 +04:00
|
|
|
while(1);
|
2015-07-20 16:34:46 +04:00
|
|
|
|
|
|
|
return 0;
|
2015-07-19 11:20:21 +04:00
|
|
|
}
|