summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/Sources/NeFS+FileMgr.cxx
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-10 10:33:39 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-10 10:34:53 +0200
commit5aef44da0ce752e7ac6bd9c95489942b1a0319ae (patch)
treef3c6f613048ab091def7afc726f0227f552df519 /dev/ZKA/Sources/NeFS+FileMgr.cxx
parentb11bf31c59d447e62e6ba9b3d8455f9b2828703f (diff)
Fix: See below.
- Fixing PML4 mapping and getting it to work. - Don't update cr4, instead do lidt to triple fault. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/ZKA/Sources/NeFS+FileMgr.cxx')
-rw-r--r--dev/ZKA/Sources/NeFS+FileMgr.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/dev/ZKA/Sources/NeFS+FileMgr.cxx b/dev/ZKA/Sources/NeFS+FileMgr.cxx
index 609f2ece..85630018 100644
--- a/dev/ZKA/Sources/NeFS+FileMgr.cxx
+++ b/dev/ZKA/Sources/NeFS+FileMgr.cxx
@@ -15,16 +15,16 @@
namespace Kernel
{
/// @brief C++ constructor
- NewFilesystemMgr::NewFilesystemMgr()
+ NeFileSystemMgr::NeFileSystemMgr()
{
MUST_PASS(Detail::fs_init_newfs());
fImpl = mm_new_class<NeFSParser>();
MUST_PASS(fImpl);
- kcout << "We are done here... (NewFilesystemMgr).\r";
+ kcout << "We are done here... (NeFileSystemMgr).\r";
}
- NewFilesystemMgr::~NewFilesystemMgr()
+ NeFileSystemMgr::~NeFileSystemMgr()
{
kcout << "Destroying it...\r";
@@ -37,7 +37,7 @@ namespace Kernel
/// @brief Removes a node from the filesystem.
/// @param fileName The filename
/// @return If it was deleted or not.
- bool NewFilesystemMgr::Remove(const Char* fileName)
+ bool NeFileSystemMgr::Remove(const Char* fileName)
{
if (fileName == nullptr || *fileName == 0)
return false;
@@ -48,7 +48,7 @@ namespace Kernel
/// @brief Creates a node with the specified.
/// @param path The filename path.
/// @return The Node pointer.
- NodePtr NewFilesystemMgr::Create(const Char* path)
+ NodePtr NeFileSystemMgr::Create(const Char* path)
{
return node_cast(fImpl->CreateCatalog(path));
}
@@ -56,7 +56,7 @@ namespace Kernel
/// @brief Creates a node with is a directory.
/// @param path The filename path.
/// @return The Node pointer.
- NodePtr NewFilesystemMgr::CreateDirectory(const Char* path)
+ NodePtr NeFileSystemMgr::CreateDirectory(const Char* path)
{
return node_cast(fImpl->CreateCatalog(path, 0, kNeFSCatalogKindDir));
}
@@ -64,7 +64,7 @@ namespace Kernel
/// @brief Creates a node with is a alias.
/// @param path The filename path.
/// @return The Node pointer.
- NodePtr NewFilesystemMgr::CreateAlias(const Char* path)
+ NodePtr NeFileSystemMgr::CreateAlias(const Char* path)
{
return node_cast(fImpl->CreateCatalog(path, 0, kNeFSCatalogKindAlias));
}
@@ -72,35 +72,35 @@ namespace Kernel
/// @brief Creates a node with is a page file.
/// @param path The filename path.
/// @return The Node pointer.
- NodePtr NewFilesystemMgr::CreateSwapFile(const Char* path)
+ NodePtr NeFileSystemMgr::CreateSwapFile(const Char* path)
{
return node_cast(fImpl->CreateCatalog(path, 0, kNeFSCatalogKindPage));
}
/// @brief Gets the root directory.
/// @return
- const Char* NewFilesystemHelper::Root()
+ const Char* NeFileSystemHelper::Root()
{
return kNeFSRoot;
}
/// @brief Gets the up-dir directory.
/// @return
- const Char* NewFilesystemHelper::UpDir()
+ const Char* NeFileSystemHelper::UpDir()
{
return kNeFSUpDir;
}
/// @brief Gets the separator character.
/// @return
- const Char NewFilesystemHelper::Separator()
+ const Char NeFileSystemHelper::Separator()
{
return kNeFSSeparator;
}
/// @brief Gets the metafile character.
/// @return
- const Char NewFilesystemHelper::MetaFile()
+ const Char NeFileSystemHelper::MetaFile()
{
return kNeFSMetaFilePrefix;
}