summaryrefslogtreecommitdiffhomepage
path: root/DDK/KernelCall.c
diff options
context:
space:
mode:
authoramlal <amlalelmahrouss@icloud.com>2024-06-13 22:02:27 +0200
committeramlal <amlalelmahrouss@icloud.com>2024-06-13 22:02:27 +0200
commit67a14f5c12510e277911cbcf8ea5ce01f8b8fbb1 (patch)
treead0ef9e95ef9ce136160bfa915c042e778f34b1e /DDK/KernelCall.c
parent12126f9eebfa7fc6b2cd6148f13585ff71cf5425 (diff)
MHR-31: Detect all types of cores except the boot one.
Signed-off-by: amlal <amlalelmahrouss@icloud.com>
Diffstat (limited to 'DDK/KernelCall.c')
-rw-r--r--DDK/KernelCall.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/DDK/KernelCall.c b/DDK/KernelCall.c
index a16a5278..7dc5761c 100644
--- a/DDK/KernelCall.c
+++ b/DDK/KernelCall.c
@@ -9,13 +9,14 @@
#include <DDK/KernelStd.h>
#include <stdarg.h>
+/// @brief this is an internal call, do not use it.
DK_EXTERN __attribute__((naked)) void* __kernelDispatchCall(const char* name, int32_t cnt, void* data, size_t sz);
/// @brief Execute a function on the kernel.
/// @param kernelRpcName the name of the function.
/// @param cnt number of arguments.
-/// @param
-/// @return
+/// @param
+/// @return
DK_EXTERN void* kernelCall(const char* kernelRpcName, int32_t cnt, void* data, size_t sz)
{
if (!kernelRpcName || cnt == 0)