aboutsummaryrefslogtreecommitdiff
path: root/core/kernel.c
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2017-03-05 22:37:54 +0100
committerRobin Krahl <robin.krahl@ireas.org>2017-03-05 22:51:36 +0100
commitf01e48444829cce9eec25f4562778da0ed4ae66c (patch)
tree7ccf320bd4fb611c989f21f679ad5eed7b77c409 /core/kernel.c
parentd42b629d983de336ddd3c22782caa2791ab78897 (diff)
downloadgarmos-f01e48444829cce9eec25f4562778da0ed4ae66c.tar.gz
garmos-f01e48444829cce9eec25f4562778da0ed4ae66c.tar.bz2
gdt: add simple gdt implementation
Add a simple Global Descriptor Table implementation based on [0]. [0] http://www.lowlevel.eu/wiki/Global_Descriptor_Table
Diffstat (limited to 'core/kernel.c')
-rw-r--r--core/kernel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/kernel.c b/core/kernel.c
index be9782d..586fe20 100644
--- a/core/kernel.c
+++ b/core/kernel.c
@@ -12,11 +12,14 @@
* more details.
*/
+#include <garmos/gdt.h>
#include <garmos/term.h>
#include <garmos/types.h>
void kernel_main(uint32_t multiboot, unsigned int *magicno)
{
+ gdt_init();
+
term_clear();
term_print("garmos 0.1.0\n\n");