NeKernel dev
Loading...
Searching...
No Matches
CodeMgr.h
Go to the documentation of this file.
1/* ========================================
2
3 Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
4
5 File: CodeMgr.h
6 Purpose: Code Mgr.
7
8 Revision History:
9
10 30/01/24: Added file (amlel)
11 3/8/24: Add UPP struct.
12
13======================================== */
14
15#pragma once
16
21
25
26namespace Kernel {
28typedef void (*rtl_start_kind)(void);
29
31typedef void (*rtl_cxx_ctor_kind)(void);
32
34typedef void (*rtl_cxx_dtor_kind)(void);
35
42
49} // namespace Kernel
Core Process Scheduler header file.
#define BOOL
PEF Code Manager header file.
SInt32 main(SInt32 argc, Char *argv[])
Placeholder program.
Definition CommandLine.cc:11
StackFrame * StackFramePtr
Definition Processor.h:34
UPS inline definitions.
Definition Device.h:12
char Char
Definition Config.h:51
Int64 ProcessID
Local Process Identifier type.
Definition CoreProcessScheduler.h:219
void(* rtl_cxx_ctor_kind)(void)
C++ Constructor entrypoint.
Definition CodeMgr.h:31
void(* rtl_start_kind)(void)
Image process entrypoint.
Definition CodeMgr.h:28
ProcessID KID
Definition KernelTaskScheduler.h:20
void(* rtl_cxx_dtor_kind)(void)
C++ Destructor entrypoint.
Definition CodeMgr.h:34
BOOL rtl_create_kernel_task(HAL::StackFramePtr main, const KID kid)
Executes a new process from a function. Kernel code only.
Definition CodeMgr.cc:18
ProcessID rtl_create_user_process(rtl_start_kind main, const Char *process_name)
Executes a new process from a function. User code only.
Definition CodeMgr.cc:31