summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/src/PEFCodeMgr.cc
AgeCommit message (Collapse)Author
2025-08-12feat! abi! Breaking ABI changes in the PEF format!Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-08-07feat: PEFCodeMgr.cc: `ldr_get_platform` shall be static.Amlal El Mahrouss
2025-08-05feat: PEFCodeMgr: Improved FAT binary support, made code more readable.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-04feat: check if the command header has the same CPU type as the container.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-04fix: PEFCodeMgr: codebase fixes.Amlal El Mahrouss
The PEF Code Manager had critical bugs in memory safety and virtual memory mapping. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-04feat: PEFCodeMgr: make use of explicit types instead of `auto`Amlal El Mahrouss
why: - for better code clarity. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-04meta: PEFCodeMgr: fix code styling issues.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-04fix! PEFCodeMgr: critical fixes applied to PEF loader.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-04feat&fix: critical patches to the PEFCodeMgr.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-04feat: `mm_map_page` should iterate over `pages_count`, not `VMSize` directly.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-04fix: PEFCodeMgr: container_header didn't increment, fixed that.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-04feat: use `kPefMagicFat` instead of `kPefMagic` to check for a FAT binary.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-04feat: Improve iteration loop for PEFCodeMgr's VMAddress mapping.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-04fix: PEFCodeMgr: loop over `VMAddress` correctly inside PEF Code Manager.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-08feat: Reinforce code inside PEFCodeMgr and mkfs.hefs, extend fsck.hefsAmlal El Mahrouss
and libmkfs. fix: Fix UserMgr FNV hashing. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-04feat: see below.Amlal El Mahrouss
feat: Rework `OpenMSG` into `LibMSG` feat: Rename `generic_kits` to `misc` Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-27fix: Fix a bad `stacksym` check.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-23fix: Fix AP init code, and format codebase.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-22fix: PEFLdr: Fix compilation error on `mmap`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-22;)0xf00sec
2025-06-22PEFCodeMgr.cc: ArchKit0xf00sec
2025-06-22rt_copy_memory_safe: PEFCodeMgr.cc0xf00sec
2025-06-18PEF format update `5.0` and codebase refactors.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-25kernel!: lots of changes, see commit details.Amlal El Mahrouss
refactor(hal): unify file naming and drop redundant architecture suffixes feat(build): rename kernel and bootloader to 'ne_kernel' and 'ne_bootz' refactor(memory): replace mm_get_phys_address with mm_get_page_addr feat(bitmap): track bitmap allocator usage and add out-of-memory error fix(heap): correct heap magic naming and alignment logic chore(fs): downgrade HeFS disk size check to warning chore(tools): clean up formatting in 'ping' and 'manual' docs(design): update OS_DESIGN.drawio to reflect Hypr86 and new layout Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-23refactor(kernel): Refactor HeapMgr functions.Amlal El Mahrouss
what: - mm_new_ptr is now mm_alloc_ptr. - mm_delete_ptr is now mm_free_ptr. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-23feat!(Kernel): Improvements on the BitMapMgr, HTS, and UPS.Amlal El Mahrouss
other: - Add ZXD header file. - Reworking AMD64 interrupts. - Improved HTS's design implementation. - Improved UPS's balancing implementation. breaking changes: - Rename MemoryMgr to HeapMgr. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-23feat!(kernel): Rename NewKit to NeKit.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-17feat(kernel): don't schedule process when it's under signals such as:Amlal El Mahrouss
ABRT, KILL, TRAP. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-15feat(kernel): Finalizing the first version of the user scheduler.Amlal El Mahrouss
other: - Removed DmaPool into its own Kit. - ApplicationProcessor unit has been cleaned up. - Rename functions of MemoryMgr. - Use KIB instead of MIBs of stack. - Cleanup parts of the scheduler, and hw scheduler. - Use UD handler for INT 6. Signed-off-by: Amlal El Mahrouss <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: HeFS: did progress on IND allocation.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-01kernel: scheduler and pef code mgr improvements.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-05-01kernel: mmap the blob to VMAddress in PEFCodeMgr, alongside other fixes ↵Amlal
regarding memory leaks. Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-25dev: better .clang-format, ran format command.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-04-11tweak kernel, boot: use -Wall, -Werror, -Wpedantic now.Amlal El Mahrouss
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-29ddk: refactor: reorganize kit into a standard kernel kit.Amlal El Mahrouss
sched: refactor: refactor scheduler file names, for future additions. xcoff: refactor: document and improve XCOFF for NeFS (regarding Ne's FW) codemgr: refactor: make a difference between kernel and user processes. refactor: document project overall. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-03-28kernel: breaking: Change namespace from NeOS to Kernel.Amlal El Mahrouss
sched: Fix redundancy in NeKernel's user scheduler macros, refactored the other files using the redundant macros too. part one of a series of commit for NeKernel. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
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>