summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKAKit/KernelKit
diff options
context:
space:
mode:
authorAmlal <amlalelmahrouss@icloud.com>2024-12-16 06:02:01 +0100
committerAmlal <amlalelmahrouss@icloud.com>2024-12-16 06:02:01 +0100
commit83cf6299a17d60ece650baa05069f657f783c911 (patch)
treeb886d51fe3a46e32eb063b96ac932cbf40080d5a /dev/ZKAKit/KernelKit
parent6e17212bee66c76a82787e32f50962c95c9b3044 (diff)
IMPL: rtl_main_kind type from CodeMgr.
Signed-off-by: Amlal <amlalelmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKAKit/KernelKit')
-rw-r--r--dev/ZKAKit/KernelKit/CodeMgr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/ZKAKit/KernelKit/CodeMgr.h b/dev/ZKAKit/KernelKit/CodeMgr.h
index 1915d55d..1db51449 100644
--- a/dev/ZKAKit/KernelKit/CodeMgr.h
+++ b/dev/ZKAKit/KernelKit/CodeMgr.h
@@ -3,7 +3,7 @@
Copyright (C) 2024, Theater Quality Inc, all rights reserved.
File: CodeMgr.hpp
- Purpose: Code Mgr and DLL mgr.
+ Purpose: Code Mgr.
Revision History:
@@ -21,11 +21,11 @@
namespace Kernel
{
/// @brief Main process entrypoint.
- typedef void (*MainKind)(void);
+ typedef void (*rtl_main_kind)(void);
/// @brief Executes a new process from a function. Kernel 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_process(MainKind main, const Char* process_name) noexcept;
+ ProcessID rtl_create_process(rtl_main_kind main, const Char* process_name) noexcept;
} // namespace Kernel