From 79ad2556be55a61a41d5d849e396ad4b3a72a23e Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 13 Feb 2025 06:43:02 +0100 Subject: ADD: Much needed tweaks for Driver Manager, DMA, PIO ATA, and SATA. Signed-off-by: Amlal El Mahrouss --- dev/Kernel/src/DriveMgr.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dev/Kernel/src') diff --git a/dev/Kernel/src/DriveMgr.cc b/dev/Kernel/src/DriveMgr.cc index 53b22a58..bc3caeac 100644 --- a/dev/Kernel/src/DriveMgr.cc +++ b/dev/Kernel/src/DriveMgr.cc @@ -189,13 +189,15 @@ namespace Kernel trait.fPacket.fPacketReadOnly = YES; trait.fKind = kMassStorageDrive | kUnformattedDrive | kReadOnlyDrive; - kout << "Scheme Found: " << block_struct.Name << endl; - if (block_struct.Name[0] == 0 || !rt_is_alnum(block_struct.Name[0])) { kout << "Disk partition is empty (Read Only)\r"; } + else + { + kout << "Scheme Found: " << block_struct.Name << endl; + } } rt_copy_memory((VoidPtr) "*/*", trait.fPacket.fPacketMime, @@ -204,6 +206,9 @@ namespace Kernel trait.fPacket.fPacketLba = 0; trait.fPacket.fPacketSize = 0UL; trait.fPacket.fPacketContent = nullptr; + + while (1) + ; } } // namespace Detect -- cgit v1.2.3