summaryrefslogtreecommitdiffhomepage
path: root/DDK/KernelVersion.c
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-26 09:18:51 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-26 09:18:51 +0200
commit14769b940725a9e323d237179e812ccfdae08382 (patch)
tree67892a70fc54e30373442acaae6a4058ce3a983e /DDK/KernelVersion.c
parent31f1293d3192e0910906858aded1aca88c6ef4c5 (diff)
[IMP] DDK compiles as a DLL now.
[IMP] DDK versioning symbols. [UPD] manifest.json of NetBoot has been updated. [UPD] update OS-Design.drawio to replace launcher to UI and CF and CG at the same level, SCI is the lowest level of abstraction as it should be. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'DDK/KernelVersion.c')
-rw-r--r--DDK/KernelVersion.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/DDK/KernelVersion.c b/DDK/KernelVersion.c
new file mode 100644
index 00000000..0f27d345
--- /dev/null
+++ b/DDK/KernelVersion.c
@@ -0,0 +1,21 @@
+/* -------------------------------------------
+
+ Copyright ZKA Technologies
+
+ Purpose: DDK versioning.
+
+------------------------------------------- */
+
+#include <KernelStd.h>
+
+#ifndef cDDKVersionHighest
+#define cDDKVersionHighest 1
+#endif // cDDKVersionHighest
+
+#ifndef cDDKVersionLowest
+#define cDDKVersionLowest 1
+#endif // cDDKVersionLowest
+
+int32_t c_api_version_highest = cDDKVersionHighest;
+int32_t c_api_version_least = cDDKVersionLowest;
+int32_t c_api_version = cDDKVersionHighest | cDDKVersionLowest; \ No newline at end of file