[Kernel] Added support for loading modules before main

This commit is contained in:
Gliniak
2025-07-28 21:23:51 +02:00
committed by Radosław Gliński
parent 70364e73ae
commit 2969a04145
4 changed files with 58 additions and 5 deletions

View File

@@ -226,6 +226,7 @@ class KernelState {
bool RegisterUserModule(object_ref<UserModule> module);
void UnregisterUserModule(UserModule* module);
bool IsKernelModule(const std::string_view name);
bool IsModuleLoaded(const std::string_view name);
object_ref<XModule> GetModule(const std::string_view name,
bool user_only = false);