summaryrefslogtreecommitdiffhomepage
path: root/dev
AgeCommit message (Collapse)Author
2024-09-28feat: Add common XPCOM controls directory, restructure project, and ↵Amlal
introduce API breaking changes - Added a new directory for common XPCOM controls to organize reusable components. - Restructured project layout for better modularity and maintainability. - Introduced API breaking changes in the process, requiring adjustments for backward compatibility. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-28refactor: Moved functions to end of namespace in Processor.hxxAmlal
- Refactor HalPagingMgr.cxx to not cast pt_index value. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-28feat: math.hxx, pdf.hxx and CoreCG had breaking changes or were just introduced.Amlal
- math.hxx: Got a new fixed API. - pdf.hxx: New PDF API. - Processor.hxx: Add BP and SP on AMD64 targets. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-27Merge branch 'unstable' of gitlab.com:mahrouss/zka-dev into unstableAmlal
2024-09-27feat&wip: Math API for CG, WiP HAL Paging API.Amlal
- NOTE: HAL Paging API is still in wip, issues have to be fixed. - Moved WM code to corecg driver. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-25IMP: Add driver creation tool, zxdmake. Also adding a FireWall system.Amlal EL Mahrouss
- A FW is used to block connections from unknown ends. - The ZXD is a format used to describe a ZKA PE32+ driver. - Some refactors have been done as well. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
2024-09-25Refactor codebase: Move Objects to obj/, fix flags, remove .vscode, add syscallsAmlal
- Refactored Objects directory to obj/ for better organization. - Fixed incorrect flags in the build process. - Removed .vscode folder to clean up unnecessary IDE settings. - Added syscall implementations for enhanced functionality. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-24Refactor kernel refactors and worked on fixing the GPF on user mode switch.Amlal
TODO: Re-implement the mm_map_page function. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-24META: Update commit number.Amlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
2024-09-24Refactor: Rename FAT32.cxx to HPFS.cxxAmlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
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-20Add License file for Macros.hxxAmlal
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
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-15FIX: Zero memory the HIB's padding zone. (Heap.cxx)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-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-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>