summaryrefslogtreecommitdiffhomepage
path: root/Private/Source
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-03 22:53:06 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-03 22:55:18 +0100
commitaff54fd3dc6855b62c047f126c6fe20ca717ee0f (patch)
treec283173ea6e2ed8a273113dcf597b0f10b2f1d93 /Private/Source
parentf99e383775fa43c5c1354067962b1590ff2abdae (diff)
HCR-11 : SATA support phase 1, work in progress AHCI implementation.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/Source')
-rw-r--r--Private/Source/NewFS.cxx10
-rw-r--r--Private/Source/Storage/Storage.cxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/Private/Source/NewFS.cxx b/Private/Source/NewFS.cxx
index 28e102fd..114c1e6b 100644
--- a/Private/Source/NewFS.cxx
+++ b/Private/Source/NewFS.cxx
@@ -23,21 +23,21 @@ NewFilesystemManager::~NewFilesystemManager() = default;
bool NewFilesystemManager::Remove(const char* node_name) {
if (node_name == nullptr || *node_name == 0) return false;
- if (auto catalog = fIO->GetCatalog(node_name); catalog)
- return fIO->RemoveCatalog(*catalog);
+ if (auto catalog = fImpl->GetCatalog(node_name); catalog)
+ return fImpl->RemoveCatalog(*catalog);
return false;
}
NodePtr NewFilesystemManager::Create(const char* path) {
- return node_cast(fIO->CreateCatalog(path, 0, kCatalogKindFile));
+ return node_cast(fImpl->CreateCatalog(path, 0, kCatalogKindFile));
}
NodePtr NewFilesystemManager::CreateDirectory(const char* path) {
- return node_cast(fIO->CreateCatalog(path, 0, kCatalogKindDir));
+ return node_cast(fImpl->CreateCatalog(path, 0, kCatalogKindDir));
}
NodePtr NewFilesystemManager::CreateAlias(const char* path) {
- return node_cast(fIO->CreateCatalog(path, 0, kCatalogKindAlias));
+ return node_cast(fImpl->CreateCatalog(path, 0, kCatalogKindAlias));
}
} // namespace HCore
diff --git a/Private/Source/Storage/Storage.cxx b/Private/Source/Storage/Storage.cxx
index d9b997e1..7d4ba70a 100644
--- a/Private/Source/Storage/Storage.cxx
+++ b/Private/Source/Storage/Storage.cxx
@@ -9,5 +9,5 @@
#include <StorageKit/Storage.hpp>
-const OSScsiPacket kCDRomPacketTemplate = {0x43, 0, 1, 0, 0, 0,
+const SKScsiPacket kCDRomPacketTemplate = {0x43, 0, 1, 0, 0, 0,
0, 12, 0x40, 0, 0};