diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-28 08:37:45 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-28 10:07:41 +0200 |
| commit | d42e9fa42af70105346f14c8b48f60cd3f4ea845 (patch) | |
| tree | 34b58def6fb1129028276e90c2a1f594634b6c1e /Kernel/StorageKit | |
| parent | 3feb5cb72e3e422e804098e2fdcb0bd3e7961627 (diff) | |
[IMP] New Storage.hpp inside StorageKit.
[REFACTOR] Process heap adjustements.
[WIP] SMP and Ring-3 switch for scheduler core.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/StorageKit')
| -rw-r--r-- | Kernel/StorageKit/Storage.hpp | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/Kernel/StorageKit/Storage.hpp b/Kernel/StorageKit/Storage.hpp index 981463ab..aa9e335e 100644 --- a/Kernel/StorageKit/Storage.hpp +++ b/Kernel/StorageKit/Storage.hpp @@ -6,11 +6,17 @@ #pragma once -#include <NewKit/Defines.hpp> -#include <StorageKit/NVME.hxx> -#include <StorageKit/AHCI.hpp> -#include <StorageKit/SCSI.hxx> +#define kDriveSectorSizeHDD (512) +#define kDriveSectorSizeSSD (4096) +#define kDriveSectorSizeOptical (2048) -#define kDriveSectorSizeHDD (512) -#define kDriveSectorSizeSSD (4096) -#define kDriveSectorSizeCDROM (2048) +namespace Kernel +{ + template <typename T> + class DeviceInterface; + + class NVMEDeviceInterface; + class AHCIDeviceInterface; + class ATADeviceInterface; + class SCSIDeviceInterface; +} // namespace Kernel |
