diff options
| author | Lukas Oesch <lukasoesch20@gmail.com> | 2026-02-26 11:24:27 +0100 |
|---|---|---|
| committer | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-17 16:42:10 +0100 |
| commit | 035c8d6e38fd901e6769a81f67b8d9e1e3fcea20 (patch) | |
| tree | 5ca549e23b86529fa65045e2f63cdc8411e165ba /kernel/src/main.cpp | |
| parent | ea8172296fa5b56137f97c01650b8d392bdb897f (diff) | |
| download | teachos-035c8d6e38fd901e6769a81f67b8d9e1e3fcea20.tar.xz teachos-035c8d6e38fd901e6769a81f67b8d9e1e3fcea20.zip | |
implemented boot_modules and boot_module_registry, init boot_modules in kernel main
Diffstat (limited to 'kernel/src/main.cpp')
| -rw-r--r-- | kernel/src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/src/main.cpp b/kernel/src/main.cpp index 01bcbb0..117a1d8 100644 --- a/kernel/src/main.cpp +++ b/kernel/src/main.cpp @@ -1,3 +1,4 @@ +#include "kapi/boot_modules.hpp" #include "kapi/cio.hpp" #include "kapi/memory.hpp" #include "kapi/system.hpp" @@ -16,5 +17,8 @@ auto main() -> int kstd::println("[OS] Memory subsystem initialized."); kapi::system::memory_initialized(); + kapi::boot_modules::init(); + kstd::println("[OS] Boot module registry initialized."); + kapi::system::panic("Returning from kernel main!"); } |
