summaryrefslogtreecommitdiffstats
path: root/c/src/exec/itron/src/dis_dsp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/exec/itron/src/dis_dsp.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/c/src/exec/itron/src/dis_dsp.c b/c/src/exec/itron/src/dis_dsp.c
new file mode 100644
index 0000000000..348a3d64af
--- /dev/null
+++ b/c/src/exec/itron/src/dis_dsp.c
@@ -0,0 +1,35 @@
+/*
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include <itron.h>
+
+#include <rtems/score/thread.h>
+#include <rtems/score/userext.h>
+#include <rtems/score/wkspace.h>
+#include <rtems/score/apiext.h>
+#include <rtems/score/sysstate.h>
+
+#include <rtems/itron/task.h>
+
+
+/*
+ * dis_dsp - Disable Dispatch
+ */
+
+ER dis_dsp( void )
+{
+ /*
+ * Disable dispatch for protection
+ */
+
+ _Thread_Disable_dispatch();
+
+ return E_OK;
+}
+
+