summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit/DriveManager.hxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-23 00:59:31 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-23 01:04:00 +0100
commit77bf7cab39fef40797e8832aaef91abbdf0098f5 (patch)
tree157f6f82188c505f1333abf93aeda63b3373cf04 /Private/KernelKit/DriveManager.hxx
parent954285b6c9553a047d0789707ad520c84099e74a (diff)
Kernel and Bootloader: See below.
Kernel: Add kPefArchPowerPC type. Kernel: Working on NewFS support for NewKernel. Kernel: Cleaned-up DriveManager. Kernel: Use kernel mouse on install mode. Bootloader: Refactor and cleanup. FirmwareKit: Fix EPM header. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/KernelKit/DriveManager.hxx')
-rw-r--r--Private/KernelKit/DriveManager.hxx17
1 files changed, 6 insertions, 11 deletions
diff --git a/Private/KernelKit/DriveManager.hxx b/Private/KernelKit/DriveManager.hxx
index abca0ad3..40933aad 100644
--- a/Private/KernelKit/DriveManager.hxx
+++ b/Private/KernelKit/DriveManager.hxx
@@ -54,26 +54,21 @@ struct DriveTrait final {
Void (*fVerify)(DrivePacket* packetPtr);
};
-#define kDrivePacketBinary "file/x-binary"
-#define kDrivePacketSource "file/x-source"
-#define kDrivePacketASCII "file/x-ascii"
-#define kDrivePacketZip "file/x-zip"
-
//! drive as a device.
typedef DeviceInterface<DriveTrait> DriveDevice;
typedef DriveDevice* DriveDevicePtr;
/**
- * @brief Abstracted hard-drive container class.
+ * @brief Mounted drives interface.
* @note This class has all of it's drive set to nullptr, allocate them using
* GetAddressOf(index).
*/
-class Mountpoint final {
+class MountpointInterface final {
public:
- explicit Mountpoint() = default;
- ~Mountpoint() = default;
+ explicit MountpointInterface() = default;
+ ~MountpointInterface() = default;
- HCORE_COPY_DEFAULT(Mountpoint);
+ HCORE_COPY_DEFAULT(MountpointInterface);
public:
DriveDevicePtr A() { return mA; }
@@ -95,7 +90,7 @@ class Mountpoint final {
return &mD;
default: {
DbgLastError() = kErrorNoSuchDisk;
- kcout << "HCoreKrnl\\Mountpoint: Check HError.\n";
+ kcout << "NewKernel.exe: Check HError.\n";
break;
}