diff options
Diffstat (limited to 'Private/KernelKit')
| -rw-r--r-- | Private/KernelKit/DeviceManager.hpp | 6 | ||||
| -rw-r--r-- | Private/KernelKit/DriveManager.hxx | 17 | ||||
| -rw-r--r-- | Private/KernelKit/PEF.hpp | 7 |
3 files changed, 13 insertions, 17 deletions
diff --git a/Private/KernelKit/DeviceManager.hpp b/Private/KernelKit/DeviceManager.hpp index 4c9c7970..4eada620 100644 --- a/Private/KernelKit/DeviceManager.hpp +++ b/Private/KernelKit/DeviceManager.hpp @@ -14,9 +14,9 @@ #pragma once -/* HCore */ -/* File: KernelKit/Device.hpp */ -/* Device abstraction and I/O buffer. */ +/* HCore device interface manager. */ +/* @file KernelKit/DeviceManager.hpp */ +/* @brief Device abstraction and I/O buffer. */ #include <NewKit/ErrorOr.hpp> #include <NewKit/Ref.hpp> 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; } diff --git a/Private/KernelKit/PEF.hpp b/Private/KernelKit/PEF.hpp index e1750242..df95d82e 100644 --- a/Private/KernelKit/PEF.hpp +++ b/Private/KernelKit/PEF.hpp @@ -39,7 +39,8 @@ enum { kPefArchRISCV, kPefArch64x0, /* 64x0. ISA */ kPefArch32x0, /* 32x0. ISA */ - kPefArchCount = (kPefArch32x0 - kPefArchIntel86S) + 1, + kPefArchPowerPC, + kPefArchCount = (kPefArchPowerPC - kPefArchIntel86S) + 1, kPefArchInvalid = 0xFF, }; @@ -47,7 +48,7 @@ enum { kPefKindExec = 1, /* .exe */ kPefKindSharedObject = 2, /* .lib */ kPefKindObject = 4, /* .obj */ - kPefKindDebug = 5, /* .debug */ + kPefKindDebug = 5, /* .dbg */ kPefKindDriver = 6, kPefKindCount, }; @@ -90,7 +91,7 @@ enum { #define kPefDylibExt ".dll" #define kPefLibExt ".lib" #define kPefObjectExt ".obj" -#define kPefDebugExt ".pdb" +#define kPefDebugExt ".dbg" // HCore System Binary Interface. #define kPefAbi (0xDEAD2) |
