summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/HALKit
AgeCommit message (Collapse)Author
2025-08-31feat! BenchKit breaking changes.Amlal El Mahrouss
why: - Made it expandable to other traits and platforms. - You can provide a `Traits` now to the `HWChrono`. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-31feat: kernel: Revamped `SignalKit` framework. DDK revamp.Amlal El Mahrouss
ci: testing improvements. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-30feat: BitMapMgr: move cursor to `ArchKit/ArchKit.h` to be zeroed out byAmlal El Mahrouss
HAL. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-27feat: docs/tex: Update OpenHeFS specs.Amlal El Mahrouss
feat: HAL/amd64: Harden AP files. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-21feat: refactor and fixed python scripts.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-08-17feat: kernel: (HALKit/KernelKit): Scheduler, and dylib improvements.Amlal
feat: ZXD: Define the ZXD format. TeX file for PEF and ZXD to be written soon. Signed-off-by: Amlal <amlal@nekernel.org>
2025-08-13feat! Breaking changes in the DDK.Amlal
Signed-off-by: Amlal <amlal@nekernel.org>
2025-08-13feat: DmaPool: remove useless casts and increment size if zero.Amlal
feat: Generic+Basic+RTL8139: fix warning on rsp. Signed-off-by: Amlal <amlal@nekernel.org>
2025-08-11feat: Semaphore API has been documented, RTL driver improvements, and better ↵Amlal
help for fsck.hefs. Signed-off-by: Amlal <amlal@nekernel.org>
2025-08-09feat: warning fixes and Semaphore API patches.Amlal
what: - The Semaphore API is being preppared for v0.0.4 Signed-off-by: Amlal <amlal@nekernel.org>
2025-07-31fix: SMP: Fix `mp_register_task` thrdid could have been index out of bounds.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-21fix: kernel{aarch64}: it now builds without issue because of a fix in the ↵Amlal El Mahrouss
bitmap manager. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-21feat: HAL/HPET: document source code.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-21feat: NeKernel Semaphore API.Amlal El Mahrouss
includes: - New semaphore API for the kernel, we also make use of the HardwareTimer class here. - Defined header only for now. - New HAL HW Timer API in AMD64. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-19feat: wip: new tree kind 'kSpecial' and refactor user scheduler code ↵Amlal El Mahrouss
temporary regarding FileTree allocation. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-17feat: Update tooling from btb to nebuild. Moved platform specific ABI into ↵Amlal El Mahrouss
their own HAL. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-10fix: Validate `kKernelVM` correctly, instead of using the debugAmlal El Mahrouss
`MUST_PASS` macro. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-10fix: `kKernelVM` shall be validated in case it is null.Amlal El Mahrouss
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-23fix: Fix AP init code, and format codebase.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-22fix: HAL: syscall interrupt must be ring-3 only.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-22feat: kernel: HAL: reworked `kerncall` system.Amlal El Mahrouss
how: - By taking additional arguments according to DDKKit. - Adding a `HAL_KERNEL_DISPATCH_ENTRY` and `rt_kerncall_proc` Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-18feat: level based virtual memory mapping for NeKernel's paging system.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-18feat: Implemented `HalPagingMgr` for AArch64.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-18meta: Ran `format.sh`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-15feat: DmaPool, and Scheduler Interrupts for ARM.Amlal El Mahrouss
I extended DmaKit to support `ARM` fully, taking ISA internals, such as alignment into play. Also implemented the scheduler's interrupts for `ARM` too. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-12feat: libSystem, kernel: finalizing the hash and routing system of ↵Amlal El Mahrouss
libSystem's handlers. feat: Rework TTY, and CD-ROM API too. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-08feat: arm64: add .ldr stub for ARM64 VMKernel.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-06feat: The `APM` HW protocol implementation got improvements (ARM64)Amlal El Mahrouss
fix: BootNet: be more descriptive when trying to flash from network, and it fails. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-06feat: kernel: Start enforcing `User`s validation when issuing OS calls.Amlal El Mahrouss
refactor: PE: remove BaseOfData, as we are only relying on PE32+ now. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-02fix: hal/aarch64: aarch64 patches for ne_kernel.Amlal El Mahrouss
2025-06-01feat: Be more flexible when the OS is not SMP-aware.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-30refactor: Format codebase and fix warning in UserProcessScheduler.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-30refactor: Refactor IDeviceObject to DeviceInterface and its usages.Amlal El Mahrouss
refactor: Cleanup UPS (UserProcessScheduler) implementation. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-29feat: Improve libSystem's architecture and implementation.Amlal El Mahrouss
fix: Fix NeKit's Ref, and ErrorOr classes. fix: Fix userland tools. next: - Finish the latest tickets and then release nekernel 0.0.3 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-27feat: Assign ThreadID to APIC's ProcessID when initialzing APs.Amlal El Mahrouss
refactor: Cleanup copyright headers and source code. feat: Add PrinterNetworkDevice, and DBGNetworkDevice. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-27fix: DBG_TRAP being called before IDT is setup.Amlal El Mahrouss
refactor: rename HalSyscallEntry to HAL_DISPATCH_ENTRY. also: - Better hashing function in ArchKit: Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-26feat!: Add IFS layer within DriveMgr, and IFS API.Amlal El Mahrouss
also: - Use ThreadID in AP system. - Refactor kernel according to new IFS layer. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-26feat: Validate stack_ptr and task switch.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-26fix: remove useless process_index variable.Amlal El Mahrouss
Located in mp_get_current_task, we just need to push thrdid to the stack now. Since we don't do any modulos anymore. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-26fix(HAL/AP): Fix task getter function inside AP system.Amlal El Mahrouss
why: - It used to modulo the index value, which will index an invalid index. - Also refactored the function name to mp_get_current_task. 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-24feat(kernel): Better syscall routing, also added new tools.Amlal El Mahrouss
what: - ping, manual have been added. - Rework RtlCurrentPID to SchedGetCurrentProcessID. - Cleanup codebase overall. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-24feat(nekit)!: Change dbg_break_point to DBG_TRAP.Amlal El Mahrouss
BREAKING CHANGE: renamed symbol to match the codebase's macro style. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-23feat(kernel/libSystem): Lots of improvements, see below.Amlal El Mahrouss
what: - Reworked NetworkDevice. - Reworked RTL8139 driver. - Don't assert fCleanup on NetworkDevice destructor. - Add new Ref types in libSystem. 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-21feat(hal/DescriptorLoader): Wrap IDTLoader::Load under the MKC macro.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-21feat(kernel): Architectural changes, and introducing a kKernelVM.Amlal El Mahrouss
see code for more details. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>