[CRT/KERNEL32]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 30 Apr 2015 21:07:08 +0000 (21:07 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 30 Apr 2015 21:07:08 +0000 (21:07 +0000)
Add some more ARM stubs

svn path=/trunk/; revision=67482

reactos/dll/win32/kernel32/client/arm/fiber.S [new file with mode: 0644]
reactos/dll/win32/kernel32/client/arm/thread.S [new file with mode: 0644]
reactos/lib/sdk/crt/except/arm/__jump_unwind.s [new file with mode: 0644]

diff --git a/reactos/dll/win32/kernel32/client/arm/fiber.S b/reactos/dll/win32/kernel32/client/arm/fiber.S
new file mode 100644 (file)
index 0000000..8cc5f67
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT:   See COPYING in the top level directory
+ * PROJECT:     ReactOS system libraries
+ * FILE:        dll/win32//kernel32/client/arm/fiber.S
+ * PURPOSE:     Fiber context switch code for the amd64 architecture
+ * PROGRAMMER:
+ */
+
+#include <ksarm.h>
+
+    TEXTAREA
+
+    LEAF_ENTRY BaseFiberStartup
+    __assertfail
+    bx lr
+    LEAF_END BaseFiberStartup
+
+    LEAF_ENTRY SwitchToFiber
+    __assertfail
+    bx lr
+    LEAF_END SwitchToFiber
+
+    END
+/* EOF */
diff --git a/reactos/dll/win32/kernel32/client/arm/thread.S b/reactos/dll/win32/kernel32/client/arm/thread.S
new file mode 100644 (file)
index 0000000..8006d1e
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ * COPYRIGHT:  See COPYING in the top level directory
+ * PROJECT:    ReactOS system libraries
+ * FILE:       lib/kernel32/thread/arm/thread.S
+ * PURPOSE:    Thread and process start thunks
+ * PROGRAMMER:
+ */
+
+#include <ksarm.h>
+
+    IMPORT BaseThreadStartup
+    IMPORT BaseProcessStartup
+
+    TEXTAREA
+
+    LEAF_ENTRY BaseThreadStartupThunk
+    __assertfail
+    bx lr
+    LEAF_END BaseThreadStartupThunk
+
+    LEAF_ENTRY BaseProcessStartThunk
+    __assertfail
+    bx lr
+    LEAF_END BaseProcessStartThunk
+
+    END
+/* EOF */
diff --git a/reactos/lib/sdk/crt/except/arm/__jump_unwind.s b/reactos/lib/sdk/crt/except/arm/__jump_unwind.s
new file mode 100644 (file)
index 0000000..c1a4121
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * COPYRIGHT:         See COPYING in the top level directory
+ * PROJECT:           ReactOS CRT library
+ * PURPOSE:           Implementation of __jmp_unwind
+ * PROGRAMMER:        Timo Kreuzer (timo.kreuzer@reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+    TEXTAREA
+
+    LEAF_ENTRY __jmp_unwind
+    __assertfail
+    bx lr
+    LEAF_END __jmp_unwind
+
+    END
+/* EOF */