summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/Sources/FileMgr.cxx
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-08 08:18:37 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-08 08:18:37 +0200
commitdf8a42aa1266d953a9ee473afe9f6349bd1837c7 (patch)
treecad53c222ca90ee98ac82ee2d630a4ff0b0c3ee3 /dev/ZKA/Sources/FileMgr.cxx
parent884ea5c2d43b6c8d4c2bb4fc33c11dc2313eeca2 (diff)
[dev/FeatureAdd] Add mm_new_class, as C++ new doesn't initialize class directly.
[dev/FeatureFix] CR2 set to invalid address due to stack corruption, fixing that. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/ZKA/Sources/FileMgr.cxx')
-rw-r--r--dev/ZKA/Sources/FileMgr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/ZKA/Sources/FileMgr.cxx b/dev/ZKA/Sources/FileMgr.cxx
index 3e3977ab..eff3c334 100644
--- a/dev/ZKA/Sources/FileMgr.cxx
+++ b/dev/ZKA/Sources/FileMgr.cxx
@@ -12,18 +12,18 @@
namespace Kernel
{
- STATIC FilesystemMgrInterface* kMounted = nullptr;
+ STATIC IFilesystemMgr* kMounted = nullptr;
/// @brief FilesystemMgr getter.
/// @return The mounted filesystem.
- _Output FilesystemMgrInterface* FilesystemMgrInterface::GetMounted()
+ _Output IFilesystemMgr* IFilesystemMgr::GetMounted()
{
return kMounted;
}
/// @brief Unmount filesystem.
/// @return The unmounted filesystem.
- _Output FilesystemMgrInterface* FilesystemMgrInterface::Unmount()
+ _Output IFilesystemMgr* IFilesystemMgr::Unmount()
{
if (kMounted)
{
@@ -39,7 +39,7 @@ namespace Kernel
/// @brief Mount filesystem.
/// @param mount_ptr The filesystem to mount.
/// @return if it succeeded true, otherwise false.
- bool FilesystemMgrInterface::Mount(_Input FilesystemMgrInterface* mount_ptr)
+ bool IFilesystemMgr::Mount(_Input IFilesystemMgr* mount_ptr)
{
if (mount_ptr != nullptr)
{