summaryrefslogtreecommitdiffhomepage
path: root/DDK/KernelStd.h
blob: b0dba70ec401f7088737f3ccdd3c38b7f9c5a7c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* -------------------------------------------

	Copyright SoftwareLabs

	Purpose: Kernel Definitions.

------------------------------------------- */

#pragma once

#if defined(__cplusplus)
#define DK_EXTERN extern "C"
#define NIL		  nullptr
#else
#define DK_EXTERN extern
#define NIL		  NULL
#endif // defined(__cplusplus)

#include <stdint.h>
#include <stddef.h>

DK_EXTERN void* kernelCall(const char* kernelRpcName, int32_t cnt, ...);