summaryrefslogtreecommitdiffhomepage
path: root/dev/HintKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-27 17:24:21 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-27 17:24:21 +0100
commitb8f7ef086d1d1b1cd686fff04d0a587f8fd39d81 (patch)
treeb6c2eb3ca2c51dc87ddd81b6170d5f63eabb9090 /dev/HintKit
parenteb86df50ec5afb392998e2e171de54e1f26d8e7a (diff)
add: new driver device kit API. (DDK)
refactor: rename SCIKit -> user (then libuser.dylib) boot/modules/netboot: fixed compilation for amd64. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/HintKit')
-rw-r--r--dev/HintKit/CompilerHint.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev/HintKit/CompilerHint.h b/dev/HintKit/CompilerHint.h
new file mode 100644
index 00000000..9a1be9f6
--- /dev/null
+++ b/dev/HintKit/CompilerHint.h
@@ -0,0 +1,25 @@
+/* -------------------------------------------
+
+ Copyright (C) 2024-2025, Amlal EL Mahrouss, all rights reserved.
+
+------------------------------------------- */
+
+#ifndef HINTKIT_HINT_H
+#define HINTKIT_HINT_H
+
+#ifdef __LIBCOMPILER__
+#pragma compiler(hint_manifest)
+#endif
+
+#define _Input
+#define _Output
+
+#define _Optional
+
+#define _StrictCheckInput
+#define _StrictCheckOutput
+
+#define _InOut
+#define _StrictInOut
+
+#endif // ifndef HINTKIT_HINT_H