From aa8a096ad429640e752d69a89c572da35493d4c0 Mon Sep 17 00:00:00 2001 From: Amlal Date: Thu, 20 Feb 2025 11:58:55 +0100 Subject: FS, DriveMgr, AHCI: Actively working on it. PagingMgr: Define get_phys_address in C++ source directly. Signed-off-by: Amlal --- dev/Kernel/src/KernelMain.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dev/Kernel/src/KernelMain.cc') diff --git a/dev/Kernel/src/KernelMain.cc b/dev/Kernel/src/KernelMain.cc index c9b8a629..30727a42 100644 --- a/dev/Kernel/src/KernelMain.cc +++ b/dev/Kernel/src/KernelMain.cc @@ -31,14 +31,14 @@ namespace Kernel::Detail class NeFilesystemInstaller final { private: - Kernel::NeFileSystemParser* mNeFS{nullptr}; - Kernel::NeFileSystemJournal mJournal; + NeFileSystemParser* mNeFS{nullptr}; + NeFileSystemJournal mJournal; public: /// @brief wizard constructor. explicit NeFilesystemInstaller() { - mNeFS = new Kernel::NeFileSystemParser(); + mNeFS = new NeFileSystemParser(); if (mNeFS) { @@ -47,7 +47,7 @@ namespace Kernel::Detail "/", "/boot/", "/sys/", "/media/", "/etc/", "/usr/", "/lib/", "/mnt/", "/sbin/", "/n/", "/dev/", "/run/", "/root/"}; - for (Kernel::SizeT dir_index = 0UL; dir_index < kFolderCount; ++dir_index) + for (SizeT dir_index = 0UL; dir_index < kFolderCount; ++dir_index) { auto catalog_folder = mNeFS->GetCatalog(kFolderStr[dir_index]); @@ -72,7 +72,7 @@ namespace Kernel::Detail if (!mJournal.GetJournal(mNeFS)) mJournal.CreateJournal(mNeFS); - mJournal.CommitJournal(mNeFS, "['Name': 'NeFS', 'Type': 'AutoFormat']", "FormatLog.json"); + mJournal.CommitJournal(mNeFS, "['FS': 'NeFS', 'Type': 'AutoFormat']", "FormatLog.json"); mJournal.ReleaseJournal(); } } -- cgit v1.2.3