summaryrefslogtreecommitdiffhomepage
path: root/dev
AgeCommit message (Collapse)Author
2025-06-15fix: fix invalid bounds check in `DmaPool.h`'s `rtl_dma_alloc`v0.0.3e1Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org> Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-15fix: Include `Processor.h` according to HAL.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-14fix: Fix CB header regarding NeKernel.org's `/fw` repo.Amlal El Mahrouss
why? - In order to prevent future issues. next: - More ARM64 commits are coming. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-12feat: Use `.dll` extension for `libSystem` instead of `.sys`Amlal El Mahrouss
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-11feat: `___chkstk_ms` has been implemented for AMD64 HAL.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-11fix: warning regarding `kBootNetVersion`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-11refactor!: Refactor the `ONet` protocol to include a version field.Amlal El Mahrouss
and a updated magic string. feat: Add validation for `Version` field inside `net.efi`. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-11fix: HeFS: Fix compiler warning regarding `kHeFSEncodingFlagsUTF8`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-11refactor: HeFS: Updated and fixed HeFS's enums.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-10security: fix: memory-leak on `ups-alloc-tree`, and mismatch inAmlal El Mahrouss
traversal. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-10fix: security: UAF on the `ups-allocation-tree`Amlal El Mahrouss
credits: - @0xf00sec who reported the issue. - @amlel-el-mahrouss who implemented the patch. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-10fix: UserProcessScheduler security patches.Amlal El Mahrouss
These patches are regarding: - Thread safety (exit code global has been removed.) - Code quality, in `SpawnDylib` - In memory allocation checks too. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-10fix: better allocation system in BootZ (aarch, amd64)Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-10feat: boot: Better checks in BootThread, and cleanup BootEFI's init on AArch64.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-08fix: Fix argument registers usage inside jump proc.Amlal El Mahrouss
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-08fix: boot/arm64: fix `rt_jump_to_address`Amlal El Mahrouss
why? - It wasn't a conform procedure here, made it ABI compliant on clang. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-08fix: cf/utils: Fix MSDOS header jump on anything else than AMD64.Amlal El Mahrouss
why? - This quirk of adding `+ 1` at the end is something related to the x64 ISA only. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-07fix/feat: NetworkKit: Better IPAddr.cc implementation for both IP6 and IP4.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-05feat: Update thread name for `ne_kernel`'s aarch64 version in BootZ.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-05fix: aarch64: Don't exit Boot Services, when the kernel already does it.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-04Merge pull request #38 from 0xf00sec/0xf00sec-patch-5Amlal El Mahrouss
# Name: Sec: FS/Kernel # Brief: Filesystem & Kernel Offset/Buffer.
2025-06-04Fixx0xf00sec
2025-06-04Fix0xf00sec
2025-06-04Sec: FS/Kernel0xf00sec
filesystem & Kernel Offset/Buffer.
2025-06-04meta: Ran `./format.sh`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-04fix: Fix #37 compilation errors and warnings.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-04F* Macros0xf00sec
2025-06-04Fix mParser0xf00sec
2025-06-04fix: Better architectural design of BootZ's SATA device.Amlal El Mahrouss
fix: Use 512 instead of 4096 as a sector size inside SATA's BootZ device. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-03feat: TLS: Improved its implementation, and add a user field for additional ↵Amlal El Mahrouss
checks. refactor: Reworked `open_msg`'s messaging system. refactor: Rename `Utils.cc` to `AsciiUtils.cc` Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-03feat: Last changes before `0.0.3`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-02fix: hal/aarch64: aarch64 patches for ne_kernel.Amlal El Mahrouss
2025-06-02Revise rt_* mem APIs0xf00sec
2025-06-01Revise rt_* mem APIs0xf00sec
2025-06-01Heap Overflow in `rt_copy_memory`0xf00sec
To avoid directly affecting the API that relies on null-termination, this patch applies a minimal fix by removing the overflow without adding bounds checks or changing the function signature.
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-30global: architectural changes, see commit details.Amlal El Mahrouss
refactor: Refactor libSystem, user frameworks, and preparing for OpenMSG. feat: Jail info client structure (libSystem) feat: Document what the RTime is doing starting from line 504. feat: use `int 50` instead of `syscall` for now. 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: UserProcessScheduler: reset UTime when exiting.Amlal El Mahrouss
feat: drawio: Rename OS_DESIGN to SYSTEM_DESIGN. 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-29fix: Fix Ref class, which caused memory leaks on the kernel.0.0.2e3Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-05-27fix: X64Chrono: Elapsed time was backward.Amlal El Mahrouss
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>