summaryrefslogtreecommitdiff
path: root/kernel/source/entry.cpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-05-19 13:27:11 -0400
committerBenji Dial <benji@benjidial.net>2024-05-19 13:27:11 -0400
commit649ff9636fe7289749c91141bbf32b2dcbe6dde4 (patch)
tree5da6e8ddfd449b012d8936040e292fa4de534cc0 /kernel/source/entry.cpp
parentf8ff95f19289a88706935abebd71e317355641d4 (diff)
downloadhilbert-os-649ff9636fe7289749c91141bbf32b2dcbe6dde4.tar.gz
add serial logging for exceptions, fix virtualbox issue
Diffstat (limited to 'kernel/source/entry.cpp')
-rw-r--r--kernel/source/entry.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/source/entry.cpp b/kernel/source/entry.cpp
index 820b107..5db3515 100644
--- a/kernel/source/entry.cpp
+++ b/kernel/source/entry.cpp
@@ -3,6 +3,7 @@
#include <hilbert/kernel/application.hpp>
#include <hilbert/kernel/framebuffer.hpp>
#include <hilbert/kernel/paging.hpp>
+#include <hilbert/kernel/serial.hpp>
#include <hilbert/kernel/input.hpp>
#include <hilbert/kernel/panic.hpp>
#include <hilbert/kernel/vfile.hpp>
@@ -97,6 +98,8 @@ static bool have_initfs;
extern "C" [[noreturn]] void entry() {
+ serial_init();
+
//TODO?: maybe we should check if the limine requests were
// fulfilled and display some error message if not