summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/HALKit
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-02-24 20:49:30 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-02-24 20:49:30 +0100
commita69dc6b982be67156ba4273b37a87c9e03a54b2c (patch)
tree6e6c84c58d06a663bb23c3a3d8be36ed9cc51197 /dev/Kernel/HALKit
parent9ff5f391e7d7630c3b03faeba34696efa47f37a7 (diff)
IMPL: NeFS doesn't store full path now in catalog name.
IMPL: HPFS defining data structures. META: Ran format command for project. Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/HALKit')
-rw-r--r--dev/Kernel/HALKit/AMD64/HalDebugOutput.cc2
-rw-r--r--dev/Kernel/HALKit/ARM64/Storage/MFlash+IO.cc15
2 files changed, 9 insertions, 8 deletions
diff --git a/dev/Kernel/HALKit/AMD64/HalDebugOutput.cc b/dev/Kernel/HALKit/AMD64/HalDebugOutput.cc
index ba4e4a7c..d5a1f327 100644
--- a/dev/Kernel/HALKit/AMD64/HalDebugOutput.cc
+++ b/dev/Kernel/HALKit/AMD64/HalDebugOutput.cc
@@ -84,7 +84,7 @@ namespace NeOS
static int x = kFontSizeX, y = kFontSizeY;
- static BOOL not_important = NO;
+ static BOOL not_important = YES;
while (index < len)
{
diff --git a/dev/Kernel/HALKit/ARM64/Storage/MFlash+IO.cc b/dev/Kernel/HALKit/ARM64/Storage/MFlash+IO.cc
index 99200349..c9df9b20 100644
--- a/dev/Kernel/HALKit/ARM64/Storage/MFlash+IO.cc
+++ b/dev/Kernel/HALKit/ARM64/Storage/MFlash+IO.cc
@@ -92,13 +92,14 @@ namespace NeOS
if (packet_frame[8] != (UInt64)kFlashBridgeRevision)
return;
- packet_frame[16+0] = lba;
- packet_frame[16+4] = sector_sz;
- packet_frame[16+8] = lba;
- packet_frame[16+12] = buf_sz;
- packet_frame[16+14] = (UIntPtr)HAL::hal_get_phys_address(buf);
-
- while (packet_frame[0] == lba);
+ packet_frame[16 + 0] = lba;
+ packet_frame[16 + 4] = sector_sz;
+ packet_frame[16 + 8] = lba;
+ packet_frame[16 + 12] = buf_sz;
+ packet_frame[16 + 14] = (UIntPtr)HAL::hal_get_phys_address(buf);
+
+ while (packet_frame[0] == lba)
+ ;
}
Void drv_std_read(Int32 slot, UInt64 lba, Char* buf, SizeT sector_sz, SizeT buf_sz)