summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/KernelKit/CodeMgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/kernel/KernelKit/CodeMgr.h')
-rw-r--r--dev/kernel/KernelKit/CodeMgr.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev/kernel/KernelKit/CodeMgr.h b/dev/kernel/KernelKit/CodeMgr.h
index 15ec420e..c781263e 100644
--- a/dev/kernel/KernelKit/CodeMgr.h
+++ b/dev/kernel/KernelKit/CodeMgr.h
@@ -33,5 +33,11 @@ namespace Kernel
/// @note This sets up a new stack, anything on the main function that calls the Kernel will not be accessible.
/// @param main the start of the process.
/// @return The team's process id.
- ProcessID rtl_create_process(rtl_main_kind main, const Char* process_name) noexcept;
+ ProcessID rtl_create_kernel_process(rtl_main_kind main, const Char* process_name) noexcept;
+
+ /// @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 accessible.
+ /// @param main the start of the process.
+ /// @return The team's process id.
+ ProcessID rtl_create_user_process(rtl_main_kind main, const Char* process_name) noexcept;
} // namespace Kernel