diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-21 23:07:43 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-21 23:07:43 +0200 |
| commit | b95b1fc42d371b08aa82fea8e92aa04b2ef5631f (patch) | |
| tree | 7bde92a0378bd1be9f34c98e8620daa542f31b17 /dev/ZKA | |
| parent | dc33dd4b6722d3fb60aaf10a7472162b07180f9c (diff) | |
Kernel+DLL: See below.
+ Document LPC functions and reworked err_bug_check function to return false when everything is OK.
+ Added native APIs to SCI as well (threading, loader...)
+ Update ReadMe(s) of the other DLLs.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA')
| -rw-r--r-- | dev/ZKA/KernelKit/LPC.hxx | 7 | ||||
| -rw-r--r-- | dev/ZKA/Sources/LPC.cxx (renamed from dev/ZKA/Sources/HError.cxx) | 4 | ||||
| -rw-r--r-- | dev/ZKA/amd64-efi.make | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/dev/ZKA/KernelKit/LPC.hxx b/dev/ZKA/KernelKit/LPC.hxx index fec1d637..6553f45c 100644 --- a/dev/ZKA/KernelKit/LPC.hxx +++ b/dev/ZKA/KernelKit/LPC.hxx @@ -51,6 +51,11 @@ namespace Kernel inline constexpr HError kErrorInvalidCreds = 61; inline constexpr HError kErrorUnimplemented = 0; - Void err_bug_check_raise(void) noexcept; + /// @brief Reports a bug to system check. + Void err_bug_check_raise(void) noexcept; + + /// @brief Does a system wide bug check. + /// @param void no params. + /// @return if error-free: false, otherwise true. Boolean err_bug_check(void) noexcept; } // namespace Kernel diff --git a/dev/ZKA/Sources/HError.cxx b/dev/ZKA/Sources/LPC.cxx index 5ccf8aea..46f621bb 100644 --- a/dev/ZKA/Sources/HError.cxx +++ b/dev/ZKA/Sources/LPC.cxx @@ -13,7 +13,7 @@ namespace Kernel /// @brief Does a system wide bug check. /// @param void no params. - /// @return if error-free: true, otherwise false. + /// @return if error-free: false, otherwise true. Boolean err_bug_check(void) noexcept { if (cRaise) @@ -21,7 +21,7 @@ namespace Kernel ke_stop(RUNTIME_CHECK_BAD_BEHAVIOR); } - return true; + return false; } /// @brief Tells if we should raise a bug check not. diff --git a/dev/ZKA/amd64-efi.make b/dev/ZKA/amd64-efi.make index 0926e7c0..3797e5ba 100644 --- a/dev/ZKA/amd64-efi.make +++ b/dev/ZKA/amd64-efi.make @@ -71,7 +71,7 @@ link-amd64-epm: .PHONY: all all: newos-amd64-epm link-amd64-epm - @echo "NewOSKrnl => OK." + @echo "Kernel => OK." .PHONY: help help: |
