diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-15 08:03:35 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-15 08:03:35 +0100 |
| commit | b3e76bf866b4223390585589786600475c9fdcae (patch) | |
| tree | 7b10c496e94aa98dedf441f67fb39d0aaa7fbda9 /Private/KernelKit/DriveManager.hpp | |
| parent | 159d312c0dd3c02995950270e173cc10ade273cf (diff) | |
API: Inconsitency fix.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/KernelKit/DriveManager.hpp')
| -rw-r--r-- | Private/KernelKit/DriveManager.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Private/KernelKit/DriveManager.hpp b/Private/KernelKit/DriveManager.hpp index 6cfb007b..027c9391 100644 --- a/Private/KernelKit/DriveManager.hpp +++ b/Private/KernelKit/DriveManager.hpp @@ -7,7 +7,7 @@ #ifndef __DRIVE_MANAGER__ #define __DRIVE_MANAGER__ -#include <CompilerKit/CompilerKit.hpp> +#include <CompilerKit/CompilerKit.hxx> #include <KernelKit/DebugOutput.hpp> #include <KernelKit/DeviceManager.hpp> #include <KernelKit/HError.hpp> @@ -37,7 +37,7 @@ typedef Int64 rt_drive_id_type; struct DriveTraits final { Char fName[kDriveNameLen]; // /System, /Boot, //./Devices/USB... Int32 fKind; // fMassStorage, fFloppy, fOpticalDisc. - rt_drive_id_type fId; // Drive id. + rt_drive_id_type fId; // Drive id. Int32 fFlags; // fReadOnly, fXPMDrive, fXPTDrive //! for StorageKit. @@ -61,7 +61,8 @@ typedef DriveDevice* DriveDevicePtr; /** * @brief Abstracted hard-drive container class. - * @note This class has all of it's drive set to nullptr, allocate them using GetAddressOf(index). + * @note This class has all of it's drive set to nullptr, allocate them using + * GetAddressOf(index). */ class Mountpoint final { public: @@ -91,7 +92,7 @@ class Mountpoint final { default: { DbgLastError() = kErrorNoSuchDisk; kcout << "HCoreKrnl\\Mountpoint: Check HError.\n"; - + break; } } |
