diff options
Diffstat (limited to 'arch/x86/gdt/GlobalObj.cpp')
| -rw-r--r-- | arch/x86/gdt/GlobalObj.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/x86/gdt/GlobalObj.cpp b/arch/x86/gdt/GlobalObj.cpp new file mode 100644 index 0000000..5832c11 --- /dev/null +++ b/arch/x86/gdt/GlobalObj.cpp @@ -0,0 +1,14 @@ +#include "GlobalObj.h" + + +uint64 MngGdt::gdt[MngGdt::size]; + +MngGdt mngGdt; + +void mngGdtInit() +{ + if(!mngGdt.getIsGdtLoaded()) + { + mngGdt = MngGdt(); + } +}; |
