Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / ntoskrnl / ex / zw.S
diff --git a/ntoskrnl/ex/zw.S b/ntoskrnl/ex/zw.S
new file mode 100644 (file)
index 0000000..53a98ce
--- /dev/null
@@ -0,0 +1,30 @@
+
+#include <syscalls.inc>
+
+#ifdef _M_ARM
+
+    TEXTAREA
+
+#define SVC_(name, argcount) STUB_K name
+
+#include <sysfuncs.h>
+
+#else
+
+#ifdef _M_IX86
+EXTERN _KiSystemService:PROC
+#elif defined(_M_AMD64)
+#include <ksamd64.inc>
+EXTERN KiSystemService:PROC
+EXTERN KiZwSystemService:PROC
+#endif
+
+.code
+
+#define SVC_(name, argcount) STUB_K name, argcount
+
+#include <sysfuncs.h>
+
+#endif
+
+    END