| Age | Commit message (Collapse) | Author |
|
|
|
Fix link
|
|
Fix dead link.
|
|
to avoid repeating myself in the code.
|
|
- 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>
|
|
formatting logic
Changes:
- Added DiskImage.json build description for use with Redub (custom build system)
- Replaced hardcoded strings with constants (kDIDefaultDiskName, etc.)
- Renamed:
- DIFormatDisk → DIFormatPartitionEPM
- DIFormatNeFS → DIFormatFilesystemNeFS
- Unified internal formatting logic by removing local aliases
- Restored #include for EPM.h and NeFS.h
- Removed unused uuid_generate_random call
- Minor cleanup of types (Char, SizeT, SInt32), ensuring consistency across DI_DISK_IMAGE
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
Applied the patch to Iterator.cc.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
|
|
|
|
repository standards.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
avoid using
lambdas inside the device initialization expression.
This leads to the following:
- Better readability.
- Much more predictible code.
- And a check on *disk* which could've been invalid memory area
(NULL address here)
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
|
|
|
|
|
|
NetBoot.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
- Refactored BootKit classes:
- Renamed `BTextWriter` → `BootTextWriter`
- Renamed `BFileReader` → `BootFileReader`
- Improved consistency across `BootKit.h`, `BootThread.cc`, and related files.
- Updated NetBoot module:
- Standardized text writer usage.
- Improved error handling for missing patches and EEPROM flash.
- DiskImage framework improvements:
- Introduced `DI_DISK_IMAGE` struct.
- Added new `DIFormatDisk()` and `DIFormatNeFS()` functions.
- Improved error handling and structure alignment.
- Kernel enhancements:
- Updated PE loader structures for better readability.
- Renamed PE header fields for consistency.
- Improved SwapDisk API structure (`SwapDiskHdr` → `SWAP_DISK_HEADER`).
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
|
|
|
|
|
|
|
|
- Poll for CR in ahci_enable_and_probe.
- Init NeFS, not an AHCI device for portability.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
|
|
- This one is important to test the kernel before committing and
pushing.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
|
|
|
|
|
|
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
|
|
|
|
|
|
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
|
|
|
|
|
|
|
|
|
|
Setup Build CI
|
|
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
- Make use of BFileDescriptor to provide a single file, or a bunch of
them.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
|
|
|
|
|
|
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
|
|
- Replace ambiguous WordLength templates with DataKind in `ke_dma_read/write`.
- Streamline AHCI driver initialization by directly assigning port implementations.
- Rename AHCI methods for clarity (`SetPi` → `SetPortsImplemented`).
- Standardize MMIO access by replacing `hal_mmio_read/write` with unified `ke_dma_read/write`.
- Improve GIC interrupt handler on ARM64 by explicitly handling scheduler interrupts and ensuring interrupts are ended correctly.
- Add debug breakpoint in infinite loop within AP setup for improved debugging.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|
|
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
|