summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/src/KernelMain.cc
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-02-20 11:58:55 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-02-20 11:58:55 +0100
commitaa8a096ad429640e752d69a89c572da35493d4c0 (patch)
tree4616c7cf8f8baedfa91e46eba9a6c76ab10de7a2 /dev/Kernel/src/KernelMain.cc
parent807dbca22a151713ff7b7527cbf66b6c350ed938 (diff)
FS, DriveMgr, AHCI: Actively working on it.
PagingMgr: Define get_phys_address in C++ source directly. Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/src/KernelMain.cc')
-rw-r--r--dev/Kernel/src/KernelMain.cc10
1 files changed, 5 insertions, 5 deletions
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();
}
}