diff options
| author | Amlal <amlal.elmahrouss@icloud.com> | 2025-02-24 20:49:30 +0100 |
|---|---|---|
| committer | Amlal <amlal.elmahrouss@icloud.com> | 2025-02-24 20:49:30 +0100 |
| commit | a69dc6b982be67156ba4273b37a87c9e03a54b2c (patch) | |
| tree | 6e6c84c58d06a663bb23c3a3d8be36ed9cc51197 /dev/Kernel/HALKit/ARM64 | |
| parent | 9ff5f391e7d7630c3b03faeba34696efa47f37a7 (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/ARM64')
| -rw-r--r-- | dev/Kernel/HALKit/ARM64/Storage/MFlash+IO.cc | 15 |
1 files changed, 8 insertions, 7 deletions
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) |
