diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-27 19:37:29 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-27 19:37:29 +0200 |
| commit | c9e0e4b6058f833f39c2193e217dc38f4edd8b82 (patch) | |
| tree | 7eadd57a88b51fc70ffd2668c7adc29386650e91 /dev/ZKA/Sources/NewFS+FileManager.cxx | |
| parent | fdbcbba07cac3dbf9ef377f2f5248dd662f6babd (diff) | |
[WIP] Finishing SMP support, and then working on system driver and
loader.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/Sources/NewFS+FileManager.cxx')
| -rw-r--r-- | dev/ZKA/Sources/NewFS+FileManager.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev/ZKA/Sources/NewFS+FileManager.cxx b/dev/ZKA/Sources/NewFS+FileManager.cxx index e40e98aa..6f50733f 100644 --- a/dev/ZKA/Sources/NewFS+FileManager.cxx +++ b/dev/ZKA/Sources/NewFS+FileManager.cxx @@ -68,6 +68,14 @@ namespace Kernel return node_cast(fImpl->CreateCatalog(path, 0, kNewFSCatalogKindAlias)); } + /// @brief Creates a node with is a page file. + /// @param path The filename path. + /// @return The Node pointer. + NodePtr NewFilesystemManager::CreateSwapFile(const Char* path) + { + return node_cast(fImpl->CreateCatalog(path, 0, kNewFSCatalogKindPage)); + } + /// @brief Gets the root directory. /// @return const Char* NewFilesystemHelper::Root() |
