summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/src/FS
AgeCommit message (Collapse)Author
2025-05-11dev(kernel:HeFS): Cleanup filesystem and AHCI driver.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-11feat(kernel/hefs): Fixed the shortcomings and issues of HeFS.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-11feat(kernel): HeFS TeX specs have been updated, and cleaned up the official ↵Amlal
filesystem implementation, with a bootinfo.cfg being added too. why: - The LaTeX specs were outdated, some elements had to be reseen. also: - Removed useless part of the logger, for the panic message. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-11fix(dev): emergency patches.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-11dev(feat:kernel): Working Core Layer of HeFS (Write/Read)Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-10dev(kernel/HeFS): code cleanup, and improvements on the FS driver code.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-10dev(kernel): saving changes regarding HeFS, and also for the 0.0.2e2 release.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-10dev(kernel): feat: AHCI driver improvements against 'disk hangs', and HeFS ↵Amlal
has been improved with better traversal, and inode/ind allocation. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-09dev(kernel, tooling): better code quality inside the codebase and more ↵Amlal
checks inside the kernel, and cli. also: - make use _NeMain for the mk_fwrk tool. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-08meta(kernel): saving changes to avoid loss.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-08feat(tooling): update HeFS headers, and better HeFS tooling.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-07feat(kernel): HeFS fixes, AHCI improvements, and MBCI tweaks.Amlal
why? - Some parts were causing issues on the filesystem. - The slot probe code was naive. - Made the current MBCI implementation clearer. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-07feat(modules/MBCI): Finalize MBCI base module.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-06dev(kernel): Fix typo of `kHeFSDefaultVoluneName` to ↵Amlal El Mahrouss
`kHeFSDefaultVolumeName` in HeFS.
2025-05-06feat(HeFS): Filesystem fixes and optimizations.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-06feat(kernel/HeFS): move sz_out out of the loop, to avoid it being reset.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-06feat(kernel): Working on the last parts of HeFS V1, which will act as the ↵Amlal
base layer of the filesystem. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-05feat(kernel): new HeFS version, scheduler allocation tree improvements and ↵0.0.2e1Amlal
reintroduce VEPM. why? - The extents structure on HeFS has to be clearer. - The allocation tracker group has to be organized according to pointer size. - VEPM was scraped because HeFS took time, so now I can focus on it now. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-05feat(kernel): add .filetest to check if filesystem works correctly.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-05feat(kernel): remove usage of `left` inside `hefsi_rotate_tree`Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-05fs:HeFS: Filesystem fixes.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-05feat(HeFS): Improving implementation and its quirks.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-05kernel(feat): fix compilation error casued by the previous commit being too ↵Amlal
'clever' Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-04meta(format.sh): format codebase.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-04feat(kernel/filesystem): update HeFS's FNV algorithm to 64-bit.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-04feat(filesystem): Update HeFS implementation and specifications.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-03FS:HeFS: document hefsi_hash_64.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-03Remove accidental add of HeFS+TreeParser.ccAmlal
2025-05-03kernel: HeFS: breaking changes — major refactor of Index Node Directory layoutAmlal
Why: - Enables efficient allocation of nested paths like '/boot/pagefile.sys' without pre-creating parent paths manually. - Reduces disk space waste by avoiding placeholder or stub directories. - Faster and cleaner: avoids expensive Utf8Char* traversal and comparison at runtime. - Prepares the filesystem for structural hashing and future journaling. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-02kernel: HeFS: disk security improvements and new CreateFile and DeleteFile ↵0.0.2Amlal
method on FSParser class. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-02kernel, FS: Mostly patches regarding NeFS's formating and disk write ↵Amlal
implementation. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-02kernel: tex: Update spec docs.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-02kernel, fskit: HeFS: Worked on IND allocation and added removal support.Amlal
notice: - parent_dir_fmt has to be formated to take care of subdirs. Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-01kernel:ifs:HeFS: The IFS is now able to write IND into disk correctly.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-01kernel: HeFS: did progress on IND allocation.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-01tooling, fs: Improve tooling and clean up HeFS filesystem code.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-01dev, kernel: HeFS spec and tooling, and PEF spec updates.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-30kernel: keep track of cr3 in AMD HAL/HEL.Amlal
why? To keep track of it, avoid security issues in the future. Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-30kernel(HeFS): IFS traversal fixes.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-30kernel, FS/HeFS: saving changes on HeFS IFS.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-30kernel: filesystem+vmem: don't be verbose on the allocator when we don't ↵Amlal
need it. details: - Reworked HeFS traversal algorithm, fixing last parts of HeFS regarding IND allocation. Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-29dev(kernel, HeFS): reworking filesystem to find an hybrid solution regarding ↵Amlal
memory footprint (unstable changes) Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-29kernel, fs: Fixing and optimizing filesystem allocator.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-29kernel: Figuring out the EPM header bug; where it gets duplicated when ↵Amlal
writing an IND. (HeFS) Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-28kernel: getting that filesystem to work as intended.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-28dev, kernel: Fixed HeFS directory allocation routine.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-28dev, kernel: HeFS improvements and tweaks.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-28dev, kernel: HeFS, Tooling: reworked the mkfs.hefs tool for the new filesystem.Amlal
other/related: - Add new KPC codes. - Final refactors for HeFS's Format method. - Dma pool improvements. - Better standard disk I/O names. - Add mm_memory_fence function inside HalPagingMgrAMD64.cc Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-27dev, kernel: HeFS had to be redesigned to be less problematic with hard-drives.Amlal
why? the struct were way too big to fit wihin a sector. Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-27dev, kernel: refactor and improve parts of the kernel, related to I/OAmlal
Signed-off-by: Amlal <amlal@nekernel.org>