summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/HALKit
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ZKA/HALKit')
-rw-r--r--dev/ZKA/HALKit/AMD64/HalKernelMain.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/dev/ZKA/HALKit/AMD64/HalKernelMain.cxx b/dev/ZKA/HALKit/AMD64/HalKernelMain.cxx
index c5548df7..1c3d4187 100644
--- a/dev/ZKA/HALKit/AMD64/HalKernelMain.cxx
+++ b/dev/ZKA/HALKit/AMD64/HalKernelMain.cxx
@@ -227,15 +227,10 @@ Kernel::Void hal_real_init(Kernel::Void) noexcept
Kernel::NewFilesystemManager::Mount(fs);
-#ifdef __DEBUG__
const auto cPassword = "debug_usr";
- Kernel::User user{Kernel::RingKind::kRingSuperUser, kSuperUser};
-
- user.TrySave(cPassword);
-
- Kernel::UserManager::The()->TryLogIn(user);
-#endif
+ Kernel::User user_debug{Kernel::RingKind::kRingSuperUser, kSuperUser};
+ Kernel::UserManager::The()->TryLogIn(user_debug, cPassword, cPassword);
Kernel::ke_stop(RUNTIME_CHECK_FAILED);
}