diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-21 15:16:00 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-21 15:16:00 +0100 |
| commit | 96651830ce90a6acd2c9d7ceb4eb0bb4eb32f86e (patch) | |
| tree | 96c98486115aedf8ecc4e6e119bf24881c8de171 | |
| parent | 59bb4017bff80dcbb0a05c6339720b0556c1967e (diff) | |
project(format): Ran the run_format.sh, in order to comply with
repository standards.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
| -rw-r--r-- | dev/Kernel/HALKit/AMD64/Storage/AHCI+Generic.cc | 4 | ||||
| -rw-r--r-- | dev/Kernel/SystemKit/SwapDisk.h | 2 | ||||
| -rw-r--r-- | public/frameworks/DiskImage.fwrk/headers/DiskImage.h | 14 |
3 files changed, 10 insertions, 10 deletions
diff --git a/dev/Kernel/HALKit/AMD64/Storage/AHCI+Generic.cc b/dev/Kernel/HALKit/AMD64/Storage/AHCI+Generic.cc index 23ac2aeb..27a57a93 100644 --- a/dev/Kernel/HALKit/AMD64/Storage/AHCI+Generic.cc +++ b/dev/Kernel/HALKit/AMD64/Storage/AHCI+Generic.cc @@ -337,7 +337,7 @@ namespace NeOS if (!disk) return; - + drv_std_input_output<NO, YES, NO>(disk->fPacket.fPacketLba, (UInt8*)disk->fPacket.fPacketContent, kAHCISectorSize, disk->fPacket.fPacketSize); } @@ -358,7 +358,7 @@ namespace NeOS drv_std_input_output<YES, YES, NO>(disk->fPacket.fPacketLba, (UInt8*)disk->fPacket.fPacketContent, kAHCISectorSize, disk->fPacket.fPacketSize); } - } + } // namespace Detail ErrorOr<AHCIDeviceInterface> sk_acquire_ahci_device(Int32 drv_index) { diff --git a/dev/Kernel/SystemKit/SwapDisk.h b/dev/Kernel/SystemKit/SwapDisk.h index b902c5e4..11cc6332 100644 --- a/dev/Kernel/SystemKit/SwapDisk.h +++ b/dev/Kernel/SystemKit/SwapDisk.h @@ -29,7 +29,7 @@ namespace NeOS NE_COPY_DEFAULT(SwapDisk); - BOOL Write(const Char* fork_name, const SizeT fork_name_len, SWAP_DISK_HEADER* data, const SizeT data_len); + BOOL Write(const Char* fork_name, const SizeT fork_name_len, SWAP_DISK_HEADER* data, const SizeT data_len); SWAP_DISK_HEADER* Read(const Char* fork_name, const SizeT fork_name_len, const SizeT data_len); }; diff --git a/public/frameworks/DiskImage.fwrk/headers/DiskImage.h b/public/frameworks/DiskImage.fwrk/headers/DiskImage.h index 8aa8dd8e..7254009e 100644 --- a/public/frameworks/DiskImage.fwrk/headers/DiskImage.h +++ b/public/frameworks/DiskImage.fwrk/headers/DiskImage.h @@ -14,8 +14,8 @@ #include <uuid/uuid.h> #include <LibSCI/SCI.h> -#define kDISectorSz (512) -#define kDIMinDiskSz gib_cast(1) +#define kDISectorSz (512) +#define kDIMinDiskSz gib_cast(1) #define kDIDefaultOutputName "disk.eimg" #define kDISuccessStatus (0) @@ -25,11 +25,11 @@ struct DI_DISK_IMAGE; struct DI_DISK_IMAGE { - char disk_name[512] = "Disk Image"; - int sector_sz = kDISectorSz; - const int block_cnt = 0; - size_t disk_sz = kDIMinDiskSz; - char out_name[256] = kDIDefaultOutputName; + char disk_name[512] = "Disk Image"; + int sector_sz = kDISectorSz; + const int block_cnt = 0; + size_t disk_sz = kDIMinDiskSz; + char out_name[256] = kDIDefaultOutputName; }; /// @brief EPM format disk |
