OSDN Git Service

チケット #30491 Natural Tiny Shell (NT-Shell)の追加を実施。
[uzume/uzume_bfin.git] / uzumeapp / kernel / uzume / ntshell / ntshell_task.h
diff --git a/uzumeapp/kernel/uzume/ntshell/ntshell_task.h b/uzumeapp/kernel/uzume/ntshell/ntshell_task.h
new file mode 100644 (file)
index 0000000..6880cde
--- /dev/null
@@ -0,0 +1,56 @@
+/**
+ * @file ntshell_task.h
+ * @author Shinichiro Nakamura
+ * @brief NT-Shellタスク。
+ * @details
+ */
+
+/*
+ * ===============================================================
+ *  Natural Tiny Shell (NT-Shell)
+ * ===============================================================
+ * Copyright (c) 2010-2012 Shinichiro Nakamura
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ * ===============================================================
+ */
+
+#ifndef NTSHELL_TASK_H
+#define NTSHELL_TASK_H
+
+#include <t_services.h>
+#include <s_services.h>
+
+#ifndef NTSHELL_TASK_PRIORITY
+#   define NTSHELL_TASK_PRIORITY    (7)
+#endif
+
+#ifndef NTSHELL_TASK_STACK_SIZE
+#   define NTSHELL_TASK_STACK_SIZE  (2048)
+#endif
+
+#ifndef _MACRO_ONLY
+void ntshell_task(VP_INT exinf);
+#endif
+
+#endif
+