diff options
| author | Amlal <amlalelmahrouss@icloud.com> | 2024-12-17 10:42:10 +0100 |
|---|---|---|
| committer | Amlal <amlalelmahrouss@icloud.com> | 2024-12-17 10:42:10 +0100 |
| commit | 03902f82edb1bac41631a3c2aeac866089ccaef8 (patch) | |
| tree | 06ac75fdd12446915091a5307981459f048a9d5c /dev/ZKAKit/KernelKit/CodeMgr.h | |
| parent | 83cf6299a17d60ece650baa05069f657f783c911 (diff) | |
Kernel: Lots of fixes and improvements on the kernel's KWindow and Filesystem.
Diffstat (limited to 'dev/ZKAKit/KernelKit/CodeMgr.h')
| -rw-r--r-- | dev/ZKAKit/KernelKit/CodeMgr.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev/ZKAKit/KernelKit/CodeMgr.h b/dev/ZKAKit/KernelKit/CodeMgr.h index 1db51449..1c157e93 100644 --- a/dev/ZKAKit/KernelKit/CodeMgr.h +++ b/dev/ZKAKit/KernelKit/CodeMgr.h @@ -21,7 +21,13 @@ namespace Kernel { /// @brief Main process entrypoint. - typedef void (*rtl_main_kind)(void); + typedef void (*rtl_main_kind)(SizeT argc, char** argv, char** envp, SizeT envp_len); + + /// @brief C++ Constructor entrypoint. + typedef void(*rtl_ctor_kind)(void); + + /// @brief C++ Destructor entrypoint. + typedef void(*rtl_dtor_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. |
