diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-07 19:50:39 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-07 19:50:39 +0100 |
| commit | 33cf55c0f5855a55e54a83eb3fee58776e789ed8 (patch) | |
| tree | 2ebdb1f2b7715e80a74b670c44e9e76c41a09a7e /src/kernel/KernelKit/CodeMgr.h | |
| parent | b7d4f9943ca6d2561a31fc212b8e074e4984b850 (diff) | |
[CHORE] KernelTask system for DDK drivers.kernel-task-scheduler-impl
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/KernelKit/CodeMgr.h')
| -rw-r--r-- | src/kernel/KernelKit/CodeMgr.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kernel/KernelKit/CodeMgr.h b/src/kernel/KernelKit/CodeMgr.h index 85c2a44f..c74d3a5e 100644 --- a/src/kernel/KernelKit/CodeMgr.h +++ b/src/kernel/KernelKit/CodeMgr.h @@ -1,4 +1,4 @@ -// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) +// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org) // Licensed under the Apache License, Version 2.0 (see LICENSE file) // Official repository: https://github.com/ne-foss-org/nekernel @@ -18,6 +18,8 @@ namespace Kernel { /// @brief Image process entrypoint. typedef void (*rtl_start_kind)(void); +typedef void (*rtl_kstart_kind)(VoidPtr); + /// @brief C++ Constructor entrypoint. typedef void (*rtl_cxx_ctor_kind)(void); @@ -29,7 +31,7 @@ typedef void (*rtl_cxx_dtor_kind)(void); /// accessible. /// @param main the start of the process. /// @return The team's process id. -BOOL rtl_create_kernel_task(HAL::StackFramePtr main, const KID kid); +BOOL rtl_create_kernel_task(KernelTask& main, const KID& kid); /// @brief Executes a new process from a function. User code only. /// @note This sets up a new stack, anything on the main function that calls the Kernel will not be |
