[CLASS2]: Fix status code on too small as exposed by kernel32:DeviceIoControl
[reactos.git] / ntoskrnl / ntdll.S
index ec073ac..b1c291f 100644 (file)
@@ -1,12 +1,23 @@
 
-#include <asm.inc>
 #include <syscalls.inc>
 
+#ifdef _M_ARM
+
+    TEXTAREA
+
+#define SVC_(name, argcount) STUB_U name
+
+#include <sysfuncs.h>
+
+    END
+
+#else
+
 .code
 
-SyscallId = 0
 #define SVC_(name, argcount) STUB_U name, argcount
 
 #include <sysfuncs.h>
 
 END
+#endif