summaryrefslogtreecommitdiffstats
path: root/kernel/kernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kernel.cpp')
-rw-r--r--kernel/kernel.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/kernel/kernel.cpp b/kernel/kernel.cpp
new file mode 100644
index 0000000..c280755
--- /dev/null
+++ b/kernel/kernel.cpp
@@ -0,0 +1,19 @@
+
+#include "../arch/SecondaryInit.h"
+#include "../arch/x86/ic/Pic.h"
+
+
+void empty() {};
+
+void main()
+{
+ SecondaryInitialization init;
+
+ init.processorInitialize();
+ init.devicesInitialize();
+
+ out::display << "Hello, World!\n";
+
+ asm("sti");
+ while(true);
+};