From c08af30448618c5d1950dc1fa0fb1685782e7b22 Mon Sep 17 00:00:00 2001 From: Amlal Date: Tue, 29 Oct 2024 07:11:56 +0100 Subject: FIX: Fix scheduler crash (1/2) - UserProcessScheduler has been improved and cleaned up. - Same goes for the HardwareThreadScheduler Signed-off-by: Amlal --- dev/ZKAKit/src/CodeMgr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/ZKAKit/src/CodeMgr.cc') diff --git a/dev/ZKAKit/src/CodeMgr.cc b/dev/ZKAKit/src/CodeMgr.cc index c855347b..429858d6 100644 --- a/dev/ZKAKit/src/CodeMgr.cc +++ b/dev/ZKAKit/src/CodeMgr.cc @@ -14,7 +14,7 @@ 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 if the process was started or not. - SizeT rtl_create_process(MainKind main, const Char* process_name) noexcept + ProcessID rtl_create_process(MainKind main, const Char* process_name) noexcept { if (!main) return No; -- cgit v1.2.3