summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/src/FS
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-31 19:05:36 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-31 19:05:36 +0100
commitd0c7a3e05a1bb5c9cffd1a0946e403d3a8e37e63 (patch)
tree686f7f3c99a08a7bebfc925839f0f9d882177c54 /dev/Kernel/src/FS
parent9c1e80e1bb3a8d549a9053f0d7bf4afb0c806f80 (diff)
Match the changes in OpenNE, (without reusing it)
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/src/FS')
-rw-r--r--dev/Kernel/src/FS/NeFS+FileMgr.cc8
-rw-r--r--dev/Kernel/src/FS/NeFS.cc6
2 files changed, 7 insertions, 7 deletions
diff --git a/dev/Kernel/src/FS/NeFS+FileMgr.cc b/dev/Kernel/src/FS/NeFS+FileMgr.cc
index ebf03078..f1661938 100644
--- a/dev/Kernel/src/FS/NeFS+FileMgr.cc
+++ b/dev/Kernel/src/FS/NeFS+FileMgr.cc
@@ -7,7 +7,7 @@
#include <KernelKit/FileMgr.h>
#include <KernelKit/MemoryMgr.h>
-#ifndef __ZKA_MINIMAL_OS__
+#ifndef __NE_MINIMAL_OS__
#ifdef __FSKIT_INCLUDES_NEFS__
/// @brief NeFS File manager.
@@ -166,7 +166,7 @@ namespace Kernel
if (!data)
return;
- ZKA_UNUSED(flags);
+ NE_UNUSED(flags);
if ((reinterpret_cast<NFS_CATALOG_STRUCT*>(node))->Kind == kNeFSCatalogKindFile)
mParser->WriteCatalog(reinterpret_cast<NFS_CATALOG_STRUCT*>(node)->Name, (flags & kFileFlagRsrc ? true : false), data, size,
@@ -184,7 +184,7 @@ namespace Kernel
if (!sz)
return nullptr;
- ZKA_UNUSED(flags);
+ NE_UNUSED(flags);
if ((reinterpret_cast<NFS_CATALOG_STRUCT*>(node))->Kind == kNeFSCatalogKindFile)
return mParser->ReadCatalog(reinterpret_cast<NFS_CATALOG_STRUCT*>(node), (flags & kFileFlagRsrc ? true : false), sz,
@@ -242,4 +242,4 @@ namespace Kernel
} // namespace Kernel
#endif // ifdef __FSKIT_INCLUDES_NEFS__
-#endif // ifndef __ZKA_MINIMAL_OS__
+#endif // ifndef __NE_MINIMAL_OS__
diff --git a/dev/Kernel/src/FS/NeFS.cc b/dev/Kernel/src/FS/NeFS.cc
index ecfafab4..2b62710c 100644
--- a/dev/Kernel/src/FS/NeFS.cc
+++ b/dev/Kernel/src/FS/NeFS.cc
@@ -24,7 +24,7 @@
using namespace Kernel;
-#ifdef __ZKA_NO_BUILTIN__
+#ifdef __NE_NO_BUILTIN__
/***********************************************************************************/
/**
Define those external symbols, to make the editor shutup
@@ -452,7 +452,7 @@ _Output NFS_CATALOG_STRUCT* NeFileSystemParser::CreateCatalog(_Input const Char*
/// @return If it was sucessful, see err_global_get().
bool NeFileSystemParser::Format(_Input _Output DriveTrait* drive, _Input const Lba endLba, _Input const Int32 flags, const Char* part_name)
{
-#ifdef ZKA_EPM_SUPPORT
+#ifdef NE_EPM_SUPPORT
if (*part_name == 0 ||
endLba == 0)
return false;
@@ -609,7 +609,7 @@ bool NeFileSystemParser::Format(_Input _Output DriveTrait* drive, _Input const L
drive->fInput(&drive->fPacket);
}
-#endif // ZKA_EPM_SUPPORT
+#endif // NE_EPM_SUPPORT
return false;
}