summaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-22 20:21:08 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-22 20:21:08 +0100
commiteba5dbf36b5c96ce8d3e2c46cf9d798c3fb7ec89 (patch)
treeb3fb44810197b791c62b64a1069fd385fba23f8e /public
parent89e8d71556a88fa36f8b18a553f589ab66748895 (diff)
kernel(general): Refactor AHCI driver and clean up project structure
- Reworked AHCI command setup: fixed command slot indexing and clarified memory setup - Updated AHCI disk initialization to use reference for ATAPI flag - Cleaned up verbose logging in scheduler and IRQ handler for a quieter kernel log - Updated boot image target from fat32.img to neos.img - Renamed and moved documentation files from `doc/` to `docs/` for consistency - Renamed `make_docs.sh` to `osx_docs.sh` to reflect platform-specific intent - Minor formatting improvements in DiskImage struct - Revised ReadMe: clarified mount instructions and removed outdated screenshots Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'public')
-rw-r--r--public/frameworks/DiskImage.fwrk/headers/DiskImage.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/public/frameworks/DiskImage.fwrk/headers/DiskImage.h b/public/frameworks/DiskImage.fwrk/headers/DiskImage.h
index 704776a4..fb05154d 100644
--- a/public/frameworks/DiskImage.fwrk/headers/DiskImage.h
+++ b/public/frameworks/DiskImage.fwrk/headers/DiskImage.h
@@ -14,19 +14,19 @@
#define kDISectorSz (512)
#define kDIMinDiskSz (1024 * 1024 * 1024)
#define kDIDefaultOutputName "disk.eimg"
-#define kDIDefaultDiskName "Disk"
-#define kDISuccessStatus (0)
-#define kDIFailureStatus (1)
+#define kDIDefaultDiskName "Disk"
+#define kDISuccessStatus (0)
+#define kDIFailureStatus (1)
struct DI_DISK_IMAGE;
struct DI_DISK_IMAGE
{
- Char disk_name[512] = kDIDefaultDiskName;
- SInt32 sector_sz = kDISectorSz;
- SInt32 block_cnt = 0;
- SizeT disk_sz = kDIMinDiskSz;
- Char out_name[256] = kDIDefaultOutputName;
+ Char disk_name[512] = kDIDefaultDiskName;
+ SInt32 sector_sz = kDISectorSz;
+ SInt32 block_cnt = 0;
+ SizeT disk_sz = kDIMinDiskSz;
+ Char out_name[256] = kDIDefaultOutputName;
};
/// @brief Format with an EPM partition.