summaryrefslogtreecommitdiffhomepage
path: root/public/frameworks/DiskImage.fwrk/headers/DiskImage.h
AgeCommit message (Collapse)Author
32 hours[CHORE] Add SPDX header for files.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
32 hours[CHORE] Add SPDX header for files.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
10 dayschore: upstream fixes.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-12-27kernel! giant source code refactor.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-12-26feat! breaking API changes, use header guards and libSystem fixes.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-11-29feat: kernel: Introduce Vet.h, better Ref.h, and more improved containers ↵Amlal El Mahrouss
for better kernel code. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-11-29chore: source code review and fixes.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-11-21meta: Codebase improvements on NeKernel.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-11-17feat: NeKernel is now under the Apache 2.0 license.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-10-26feat: refactor HeFS to OpenHeFS.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-09feat: DiskImage.fwrk: Made `DIFormatPartitionEPM` cross platform.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-30global: architectural changes, see commit details.Amlal El Mahrouss
refactor: Refactor libSystem, user frameworks, and preparing for OpenMSG. feat: Jail info client structure (libSystem) feat: Document what the RTime is doing starting from line 504. feat: use `int 50` instead of `syscall` for now. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-27feat: generic_kits: Add X64Chrono inside BenchKit.Amlal El Mahrouss
refactor: libSystem: Refactored as a whole. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-14feat(kernel): Improved DiskImage.fwrk's Format functions, don't assumeAmlal El Mahrouss
that 512B is always what we want when formating a disk. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-14feat(DiskImage.fwrk): Fix duplicate symbols link error.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-25dev: better .clang-format, ran format command.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-15dev, user: drafting a system call map.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-04-01boot, kernel, modules: unify gfx headers, fix AHCI LBA48, standardize ModuleMainAmlal El Mahrouss
- Consolidated CoreGfx headers: * Renamed `FBMgr.h` to `CoreGfx.h` * Renamed `TextMgr.h` → `TextGfx.h`, `MathMgr.h` → `MathGfx.h`, and `AccessibilityMgr.h` → `CoreAccess.h` * Updated all includes across bootloader, HAL, and kernel to use new names - Standardized EFI entrypoint: * Replaced `Main` with `ModuleMain` in EFI boot sources and linker flags * Updated GDB and build scripts accordingly - Improved AHCI identify logic: * Added full 48-bit LBA extraction (words 100–102) * Fallback to 28-bit if LBA48 not supported * Refactored `drv_get_size` and `drv_std_detected` into separate `#ifdef __AHCI__` region - DiskImage framework improvements: * Namespaced API into `DI` namespace * Split implementation: `DiskImage+EPM.cc` and `DiskImage+NeFS.cc` * Updated CLI tool accordingly - KernelTest framework: * Namespaced macros and classes with `KT_` * Changed test result to use `MUST_PASS` and boolean return - Misc: * Corrected minor logic in `NetworkDevice::Name()` * Bumped down KernelKit and NewKit versions to 0.0.1 * Renamed `HalUtils.asm` → `HalUtilsAPI.asm` Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-31meta/repository: fix capitalization on my name 'El' instead of 'EL'.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-27add: new driver device kit API. (DDK)Amlal El Mahrouss
refactor: rename SCIKit -> user (then libuser.dylib) boot/modules/netboot: fixed compilation for amd64. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-25cli(diutil): FIX: fill DI_DISK_IMAGE with the retrieved fields.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-25refactor(kernel): Refactor MemoryMgr code and log freed address location.Amlal El Mahrouss
feat(setup_amd64): Add 'disk' build step. fix(hal/amd64): Fix warning regarding resb being used inside a non-bss area (using no-op instead). feat(kernelkit/lockdelegate): add new entry to lock delegate's enum (ensure validation). feat(meta): ran format.sh to format files according to .clang-format. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-24kernel(feat): Add basic wide system bug check (memory check), otherAmlal El Mahrouss
changes have been made too, see commit details for more information. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-03-23meta(kernel): Reworked repository's filesystem structure.Amlal El Mahrouss
Removing useless parts of the project too. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-03-22kernel(general): Refactor AHCI driver and clean up project structureAmlal El Mahrouss
- 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>
2025-03-22fwrk(DiskImage): Add JSON build config, rename API, and unify disk ↵Amlal El Mahrouss
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>
2025-03-21project(format): Ran the run_format.sh, in order to comply withAmlal El Mahrouss
repository standards. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-03-21FIX: DI_DISK doesn't exist, it's DI_DISK_IMAGE.Amlal El Mahrouss
2025-03-21DiskImage.h: Minor tweak to avoid future issues.Amlal El Mahrouss
2025-03-20Refactored BootKit and DiskImage framework, minor kernel fixesAmlal El Mahrouss
- 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>
2025-03-20DiskImage.h: Completed documentation for DIFormatDiskToFileAmlal El Mahrouss
2025-03-09RAN format command, and fix DiskImage framework.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
2025-03-08TQ-22: Ticket done.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>