From aff54fd3dc6855b62c047f126c6fe20ca717ee0f Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 3 Feb 2024 22:53:06 +0100 Subject: HCR-11 : SATA support phase 1, work in progress AHCI implementation. Signed-off-by: Amlal El Mahrouss --- Private/Source/NewFS.cxx | 10 +++++----- Private/Source/Storage/Storage.cxx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'Private/Source') 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 -const OSScsiPacket kCDRomPacketTemplate = {0x43, 0, 1, 0, 0, 0, +const SKScsiPacket kCDRomPacketTemplate = {0x43, 0, 1, 0, 0, 0, 0, 12, 0x40, 0, 0}; -- cgit v1.2.3