summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel
AgeCommit message (Collapse)Author
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-31feat: Replace CoreBoot module with NeBoot module.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-31feat: IPC: use C-lock pattern to retain IPC transfers.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-24feat: __CF_64BIT__ macro for CoreFoundation.fwrk.Amlal El Mahrouss
refactor! Semaphore API breaking changes in the new 'SemaphoreArr' type. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-24refactor: FB.h, Semaphore.h: minor style changes.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-23feat: new 'kErrorUnavailable' type and semaphore API breaking changes.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-23feat: new 'kErrorAccessDenied' type for semaphore api.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-23feat: sem: fix usage of 'kErrorNetworkTimeout' to 'kErrorTimeout'Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-23fix: sem: use 'kErrorTimeout' instead of 'kErrorNetworkTimeout'Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-23fix: sem: fix decrement logic of the semaphore api's 'rtl_sem_wait'Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-23feat: rtl_sem_wait: check semaphore for underflows.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-23fix: sem: Add 'Semaphore.cc'Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-23fix: sem: fix condition in 'rtl_sem_is_valid' as it was to strict.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-23fix: sem: fix Semaphore API of kernel, validation and typo fixes.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-23fix: sem: remove useless 'namespace Kernel' comment on function.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-23feat: dev/kernel: Finish kernel semaphore API.Amlal El Mahrouss
note: - The API is very new, except breaking changces. - It may be buggy in some areas, except some changes soon. 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-21fix: KPC: Fix duplicate of kErrorNetworkTimeout.Amlal El Mahrouss
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-19feat: CoreProcessScheduler has now a 'kSpecial' type for trees. (Because of ↵Amlal El Mahrouss
SwapKit, or devices) reworked LibMSG lisp function pointer type. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-18fix: GfkKit&MKFSLib: inline function inside headers to avoid symbol ↵Amlal El Mahrouss
duplicates (libmkfs) and include DeviceMgr in FB inside GfxKit, remove FB module too from the includes; as it is not necessary and confusing inside GfxKit. 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-10refactor: use `rt_debug_cmd` instead of `rt_debug_type`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-10feat: Add ownership for future audit purposes.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-10feat: Add ownership for future audit purposes.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-10feat: Fix FNV's pointer check.Amlal El Mahrouss
why: - It doesn't have any pointer check. - We could save cycles by also checking for `*path == 0` Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-09feat: KID, UPS improvements, and future refactors regarding theAmlal El Mahrouss
FileTree system inside the UPS. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-09refactor! `CoreProcessScheduler` now uses `kFile` instead of `kFD`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-08refactor: comments cleanup, breaking change! updated TLS magic from ZKAAmlal El Mahrouss
to NKO. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-08refactor: Refactor NeKernel's TLS API.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-07refactor: FileMgr: remove useless macros.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-07fix: FileMgr: use `sz` when `Reading` blob inside file.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-06feat: set `fFile` to nullptr when freeing it.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-06fix: CoreProcessScheduler.h: Correct `kTreeKindCount` enum value to three.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-05feat: add magic check in `fsck.hefs`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-07-05feat: Document `SpawnDylib`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-30refactor: UPS: use correct name for *_ptr_tree functions.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-30fix!: feat: Generic `sched_try_go_upper_ptr_tree` support.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-30feat: Generic `sched_try_go_upper_ptr_tree` support.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-30feat: FileTree `free` support.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-30feat: Introducing `FileTree` allocation and WiP DebugSrv integration.Amlal El Mahrouss
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-27fix: remove redundant header include.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-26fix: UPS: Don't exit when process crashes.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>