summaryrefslogtreecommitdiff
path: root/cesar/cesar.h
diff options
context:
space:
mode:
authorchertier2008-04-28 13:57:05 +0000
committerchertier2008-04-28 13:57:05 +0000
commit455d7877a0d767b546fdf07ec28e82c55124acc4 (patch)
tree7399607ba70643a9b7ec8031518f6abd7f867864 /cesar/cesar.h
parent247020bf51f440097d23dbfc939188c64487aff5 (diff)
creation of cesar software initialization steps (moved from station core)
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1918 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cesar.h')
-rw-r--r--cesar/cesar.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/cesar/cesar.h b/cesar/cesar.h
new file mode 100644
index 0000000000..4539cb4abc
--- /dev/null
+++ b/cesar/cesar.h
@@ -0,0 +1,41 @@
+#ifndef cesar_h
+#define cesar_h
+/* Cesar project {{{
+ *
+ * Copyright (C) 2008 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file cp/sta/core/core.h
+ * \brief STA core.
+ * \ingroup cp_sta
+ */
+
+BEGIN_DECLS
+
+/**
+ * \brief CESAR application software entry-point function.
+ *
+ * \return true
+ *
+ */
+int
+cesar_init (void);
+
+/**
+ * \brief Entry-point function, main() or cyg_user_start().
+ * - main() or cyg_user_start() called directly by maximus core in case of maximus simulation environment,
+ * - cyg_user_start() called by eCos on true target...
+ *
+ * \return cesar initialisation return code
+ *
+ * 1) in case of running in Maximus simulator, performs specific inits
+ * relating to use of Maximus resources (Maximus station init, Maximus log level/mask)
+ * 2) jump to (call) cesar_init()
+ */
+int
+main (void);
+
+#endif /* cesar_h */