diff options
| author | Amlal <amlal@zka.com> | 2024-07-23 12:02:10 +0200 |
|---|---|---|
| committer | Amlal <amlal@zka.com> | 2024-07-23 12:02:10 +0200 |
| commit | 274cba18b8f1c255ddcff2f5c14aab4d0c846820 (patch) | |
| tree | aa56d2223c79d447b85a2bfefdbaab90b25fc8fe /Kernel/Sources/Main.cxx | |
| parent | 8eee31685e4334415870bb00b11b6b0d29821f10 (diff) | |
[IMP] User class and current user global.
[REMOVE] ApplicationInterface struct.
[IMP] DDK_STATUS_STRUCT data structure for driver events.
Signed-off-by: Amlal <amlal@zka.com>
Diffstat (limited to 'Kernel/Sources/Main.cxx')
| -rw-r--r-- | Kernel/Sources/Main.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Kernel/Sources/Main.cxx b/Kernel/Sources/Main.cxx index 92dac251..b0083730 100644 --- a/Kernel/Sources/Main.cxx +++ b/Kernel/Sources/Main.cxx @@ -63,7 +63,7 @@ namespace Kernel::Detail const auto cDirCount = 9; const char* cDirStr[cDirCount] = { "\\Boot\\", "\\System\\", "\\Support\\", "\\Applications\\", - "\\Users\\", "\\Library\\", "\\Mounted\\", "\\DCIM\\", "\\Applications\\Storage\\"}; + "\\Users\\", "\\Library\\", "\\Mounted\\", "\\DCIM\\", "\\Applications\\Store\\"}; for (Kernel::SizeT dirIndx = 0UL; dirIndx < cDirCount; ++dirIndx) { @@ -188,6 +188,10 @@ namespace Kernel::Detail /// @return void no return value. STATIC Kernel::Void ke_user_switch(Kernel::Void) { + + Kernel::cRootUser = new User(RingKind::kRingSuperUser, kSuperUser); + Kernel::kcout << "newoskrnl: logged in as: " << Kernel::cRootUser->Name().CData() << Kernel::endl; + Kernel::kcout << "newoskrnl: " << cKernelVersion.GetKey().CData() << ": " << Kernel::number(cKernelVersion.GetValue()) << Kernel::endl; } } // namespace Kernel::Detail |
