diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-03-28 19:57:33 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-03-28 19:57:33 +0100 |
| commit | ba7b3ed69cd24970a28b72c54982735cd120e663 (patch) | |
| tree | 934b7645435ab1bfd2d8eb99fa861fc09e3dd5b4 /dev/kernel/StorageKit | |
| parent | 2205e801a6e84238dc8cbbb8f9de5a675eae1d81 (diff) | |
kernel: breaking: Change namespace from NeOS to Kernel.
sched: Fix redundancy in NeKernel's user scheduler macros, refactored
the other files using the redundant macros too.
part one of a series of commit for NeKernel.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/StorageKit')
| -rw-r--r-- | dev/kernel/StorageKit/AHCI.h | 4 | ||||
| -rw-r--r-- | dev/kernel/StorageKit/ATA.h | 4 | ||||
| -rw-r--r-- | dev/kernel/StorageKit/NVME.h | 4 | ||||
| -rw-r--r-- | dev/kernel/StorageKit/PRDT.h | 6 | ||||
| -rw-r--r-- | dev/kernel/StorageKit/StorageKit.h | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/dev/kernel/StorageKit/AHCI.h b/dev/kernel/StorageKit/AHCI.h index 43e81ba0..24191dbe 100644 --- a/dev/kernel/StorageKit/AHCI.h +++ b/dev/kernel/StorageKit/AHCI.h @@ -10,7 +10,7 @@ #include <KernelKit/DriveMgr.h> #include <NewKit/OwnPtr.h> -namespace NeOS +namespace Kernel { class AHCIDeviceInterface NE_DEVICE<MountpointInterface*> { @@ -57,4 +57,4 @@ namespace NeOS UInt16 sk_init_ahci_device(BOOL atapi); ErrorOr<AHCIDeviceInterface> sk_acquire_ahci_device(Int32 drv_index); -} // namespace NeOS +} // namespace Kernel diff --git a/dev/kernel/StorageKit/ATA.h b/dev/kernel/StorageKit/ATA.h index 5698fe85..562b22b6 100644 --- a/dev/kernel/StorageKit/ATA.h +++ b/dev/kernel/StorageKit/ATA.h @@ -11,7 +11,7 @@ #include <NewKit/OwnPtr.h> #include <NewKit/Utils.h> -namespace NeOS +namespace Kernel { /// @brief ATA device interface type. class ATADeviceInterface : public IDeviceObject<MountpointInterface*> @@ -36,4 +36,4 @@ namespace NeOS private: void (*fCleanup)(void) = {nullptr}; }; -} // namespace NeOS +} // namespace Kernel diff --git a/dev/kernel/StorageKit/NVME.h b/dev/kernel/StorageKit/NVME.h index 22300726..748bb02a 100644 --- a/dev/kernel/StorageKit/NVME.h +++ b/dev/kernel/StorageKit/NVME.h @@ -9,7 +9,7 @@ #include <KernelKit/DeviceMgr.h> #include <KernelKit/DriveMgr.h> -namespace NeOS +namespace Kernel { class NVMEDeviceInterface final NE_DEVICE<MountpointInterface*> { @@ -31,4 +31,4 @@ namespace NeOS private: Void (*fCleanup)(Void) = {nullptr}; }; -} // namespace NeOS +} // namespace Kernel diff --git a/dev/kernel/StorageKit/PRDT.h b/dev/kernel/StorageKit/PRDT.h index 40ba11e0..603d4f23 100644 --- a/dev/kernel/StorageKit/PRDT.h +++ b/dev/kernel/StorageKit/PRDT.h @@ -10,9 +10,9 @@ #include <KernelKit/PCI/Iterator.h> #include <NewKit/Ref.h> -#define kPrdtTransferSize (sizeof(NeOS::UShort)) +#define kPrdtTransferSize (sizeof(Kernel::UShort)) -namespace NeOS +namespace Kernel { /// @brief Tranfer information about PRD. enum kPRDTTransfer @@ -33,4 +33,4 @@ namespace NeOS void construct_prdt(Ref<PRDT>& prd); EXTERN_C Int32 kPRDTTransferStatus; -} // namespace NeOS +} // namespace Kernel diff --git a/dev/kernel/StorageKit/StorageKit.h b/dev/kernel/StorageKit/StorageKit.h index a0f1a2d1..954d368b 100644 --- a/dev/kernel/StorageKit/StorageKit.h +++ b/dev/kernel/StorageKit/StorageKit.h @@ -10,7 +10,7 @@ #define kDriveSectorSizeSSD (512U) #define kDriveSectorSizeOptical (2048) -namespace NeOS +namespace Kernel { template <typename T> class IDeviceObject; @@ -19,4 +19,4 @@ namespace NeOS class AHCIDeviceInterface; class ATADeviceInterface; class SCSIDeviceInterface; -} // namespace NeOS +} // namespace Kernel |
