summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-09-24IMP: Working on Paging API...Amlal
FIX: Fixed the path of filesystem's ESP. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-22Refactor: Fixed invalid path for case sensitive file systems.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-22:boom: A big refactor on the filesystem structure.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-20Merge branch 'unstable' of gitlab.com:mahrouss/zka-dev into unstableAmlal
2024-09-20Add License file for Macros.hxxAmlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-20Add new file, named CODEOWNERSAmlal El Mahrouss
2024-09-20Patches for kernel, alongside code fixes for user after free and Heap API ↵Amlal
refactor. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-19IMP: Heap.hxx, Add mm_delete_class, which calls C++ destructor and then ↵Amlal
frees it. FIX: BMPMgr.cxx, fix cast issue. RM: Remove filesystem initialization code for now, need to have a clear structure depending on product. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-15IMP: Add Scheduler design diagram.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-15FIX: Zero memory the HIB's padding zone. (Heap.cxx)Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-14Replace Draw IO file for ZXD.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-14IMP: Fixes and improvements on PEF Loader, User scheduler and BMP manager.Amlal
- This covers the Memory Manager, User Scheduler Manager and Loader Manager. - These are mostly fixes and added features. - Such as a new symbol to get heap reserve. META: Run format command. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-13META: Add CREDITS for code.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-13ZKA:HalBMPMGr.cxx: Fixed bit map allocator.Amlal
CoreCG:WindowRenderer.hxx: Fixed function signature. Next step is to add back the page mapping function. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-13DDK: Export DDK symbols by default.Amlal
ADD: Add ZWM (ZKA Window Manager). META: The rest are refactors. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-13Handover.hxx: Remove useless BootMainKind type.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-13META: Daily bump.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-12Improve BMP allocator and add kPeDLLBase and kPeEXEBase.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-12Heap.cxx: Improvements and fixes over heap.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-12Kernel and Bootloader improvements.Amlal
- The Allocator works, we have to find a free memory region for the kernel though. - Add Init procedure to DriveMgr. - Refactor CG for cgwm.sys Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-12Kernel improvements, and Paging API changes.Amlal
ZKA: - Updated and fixed 4KB pages on ARM64. - Fixed 4KB pages on AMD64. - Refactor BMP allocator. ZBA: - Refactor Handover protocol. DDK: - Refactor and breaking API changes. HPFS: - Update code according to DDK. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-11Did work on lowering overhead and a faster kernel to userspace loading.Amlal
- Userspace code and stack needs to be mapped to ring-3. - Reworking PML4 from the ground up on AMD64. - Start doing R&D on an ARM64 version of ZKA, running on CoreBoot. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-11REWORK: Reworking Paging API on AMD64.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-11IMP: Better architecture for task scheduling.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-11Update EPM standard.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-11IMP: Add FreeBitMap method in IBitMapAllocator.Amlal
IMP: Using a better memory strategy than a pre-allocated chunk of memory. FIX: Moved compile_flags.txt only at root directory. FIX: Refactor HandoverInformationHeader to HANDOVER_INFO_HEADER. IMP: Handover version 1.16. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-10Improve makefile.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-10FIX: Don't disable optimizationsAmlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-10[ IMP ] Repository bump.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-10Fix: See below.Amlal
- Fixing PML4 mapping and getting it to work. - Don't update cr4, instead do lidt to triple fault. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-09META: Update run_format to format .cc alsoAmlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-09FIX: Kernel related, see below.Amlal
- Allocate space for heap header as well. - Don't forget to turn user bit off, and turn present off when dealing with virtual memory. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-09FIX: Scheduler improvements, MM improvements, worked on a tiny bmp allocator ↵Amlal
for pages. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-09Bump repository.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-09META: Bumping repository.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-08A lot:Amlal
- Changed task banks are being switched in the kernel. - Changed user mode switch mode, improved it to push rflags. - User proc will start the scheduler when it's being jumped on. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-08Tiny refactors, changes soon.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-08[ IMP ] Don't use the functions when jumping to user space via scheduler, ↵Amlal
since they're not on the same page. [ ADD ] Add ZXD diagram (ZKA eXtended Driver) Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-08[ IMP ] DDK Model improvements and reworked the drvsign tool.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-08[dev/FeatureAdd] Add mm_new_class, as C++ new doesn't initialize class directly.Amlal
[dev/FeatureFix] CR2 set to invalid address due to stack corruption, fixing that. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-07[dev/ZKA/HalProcessor.cxx] Better mm_map_page function.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-07Update Hang test.Amlal EL Mahrouss
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
2024-09-07[dev/HPFS] Include EBS header after EPM.Amlal EL Mahrouss
[dev/ZBA] Rename ZKA (A:) to FileSystem (A:) [dev/INST] Updated it. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
2024-09-07REFACTOR: Rename RunSCM to RunXPCOM.Amlal EL Mahrouss
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
2024-09-07[ IMP ] Fill Kind to be kEPMNewOS.Amlal EL Mahrouss
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
2024-09-07[ IMP ] Found issue, address of HangCPU isn't in paged area, so it doesn't ↵Amlal
really work well. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-07Daily bump.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-06Code refactors and improvements.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-06Kernel: Improvements and fixes have been done. (Amlal)Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-06Fix Global Scheduler and fixing ring-3 switch on non MP Scheduler.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>