diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-28 13:05:28 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-28 13:05:28 +0100 |
| commit | 84cc6ff6f43b48383248282743efc514946db641 (patch) | |
| tree | fa7f9099b87e235ba122d17b6a3b39234cd39883 /Private/StorageKit | |
| parent | 3d798c5fc738768493df925d1f5d72256f2dec4e (diff) | |
Kernel: :boom: breaking changes, Update API and the HCORE based
macros, rename HCore to NewOS.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/StorageKit')
| -rw-r--r-- | Private/StorageKit/AHCI.hpp | 4 | ||||
| -rw-r--r-- | Private/StorageKit/NVME.hpp | 4 | ||||
| -rw-r--r-- | Private/StorageKit/PRDT.hpp | 6 | ||||
| -rw-r--r-- | Private/StorageKit/Storage.hpp | 2 | ||||
| -rw-r--r-- | Private/StorageKit/StorageCore.inl | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/Private/StorageKit/AHCI.hpp b/Private/StorageKit/AHCI.hpp index 1eac212e..20cddf3f 100644 --- a/Private/StorageKit/AHCI.hpp +++ b/Private/StorageKit/AHCI.hpp @@ -9,7 +9,7 @@ #include <KernelKit/DeviceManager.hpp> #include <NewKit/OwnPtr.hpp> -namespace HCore { +namespace NewOS { class AHCIPacket; class AHCIDeviceInterface : public DeviceInterface<AHCIPacket> { @@ -37,4 +37,4 @@ class AHCIPacket final { Lba Begin; Lba End; }; -} // namespace HCore
\ No newline at end of file +} // namespace NewOS
\ No newline at end of file diff --git a/Private/StorageKit/NVME.hpp b/Private/StorageKit/NVME.hpp index fc89b3af..d2ed585f 100644 --- a/Private/StorageKit/NVME.hpp +++ b/Private/StorageKit/NVME.hpp @@ -9,7 +9,7 @@ #include <KernelKit/DeviceManager.hpp> #include <NewKit/OwnPtr.hpp> -namespace HCore { +namespace NewOS { class NVMEPacket; class NVMEDeviceInterface : public DeviceInterface<NVMEPacket> { @@ -42,4 +42,4 @@ class NVMEPacket final { Lba Begin; Lba End; }; -} // namespace HCore +} // namespace NewOS diff --git a/Private/StorageKit/PRDT.hpp b/Private/StorageKit/PRDT.hpp index a07fa6bf..f3f4aa67 100644 --- a/Private/StorageKit/PRDT.hpp +++ b/Private/StorageKit/PRDT.hpp @@ -9,9 +9,9 @@ #include <KernelKit/PCI/Dma.hpp> #include <KernelKit/PCI/Iterator.hpp> -#define kPrdtTransferSize (sizeof(HCore::UShort)) +#define kPrdtTransferSize (sizeof(NewOS::UShort)) -namespace HCore { +namespace NewOS { class PRDT final { public: explicit PRDT() = delete; @@ -42,4 +42,4 @@ class PRDT final { }; using PhysicalAddress = PRDT; // here -} // namespace HCore +} // namespace NewOS diff --git a/Private/StorageKit/Storage.hpp b/Private/StorageKit/Storage.hpp index 1fe74094..6654c62b 100644 --- a/Private/StorageKit/Storage.hpp +++ b/Private/StorageKit/Storage.hpp @@ -10,7 +10,7 @@ #include <StorageKit/NVME.hpp> #include <StorageKit/AHCI.hpp> -typedef HCore::UInt16 SKScsiPacket[12]; +typedef NewOS::UInt16 SKScsiPacket[12]; extern const SKScsiPacket kCDRomPacketTemplate; diff --git a/Private/StorageKit/StorageCore.inl b/Private/StorageKit/StorageCore.inl index 3288b4a2..8a7ca0b9 100644 --- a/Private/StorageKit/StorageCore.inl +++ b/Private/StorageKit/StorageCore.inl @@ -12,7 +12,7 @@ /// @file StorageCore.inl /// @brief Storage Management API. -namespace HCore { +namespace NewOS { typedef Char* SKStr; ///! @brief Storage context, reads and write file according to the descriptor @@ -36,6 +36,6 @@ class StorageInterface { virtual PacketDescriptor* Read(const SKStr name) = 0; virtual Int32 Write(PacketDescriptor* packet, const SKStr name) = 0; }; -} // namespace HCore +} // namespace NewOS #endif /* ifndef __STORAGEKIT_STORAGECORE_INL__ */ |
