Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2012-02-26 21:46:39 +0000
committerThomas Schuetz2012-02-26 21:46:39 +0000
commitfa4a03389b5596fbaa65d5acb0e198013c1820a8 (patch)
tree1a6ef7e8b46a1cfa85956dfa7fa9201cb228a1d1 /runtime/org.eclipse.etrice.runtime.c/src/common
parenta121360a55b1b4c8f834b6d68689064cd70499db (diff)
downloadorg.eclipse.etrice-fa4a03389b5596fbaa65d5acb0e198013c1820a8.tar.gz
org.eclipse.etrice-fa4a03389b5596fbaa65d5acb0e198013c1820a8.tar.xz
org.eclipse.etrice-fa4a03389b5596fbaa65d5acb0e198013c1820a8.zip
[runtime] added etPlatform for user defined lifecycle functions (etUserEntry, etUserPreRun, ..., added TI-MSP430 specific platform
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/common')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/common/platform/etPlatform.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/common/platform/etPlatform.h b/runtime/org.eclipse.etrice.runtime.c/src/common/platform/etPlatform.h
new file mode 100644
index 000000000..b462146fb
--- /dev/null
+++ b/runtime/org.eclipse.etrice.runtime.c/src/common/platform/etPlatform.h
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Thomas Schuetz (initial contribution)
+ *
+ *******************************************************************************/
+
+/*
+ * etPlatform.h defines a generic interface for platform specific implementations
+ *
+ * */
+
+/*
+ * Platform startup and shutdown -> generated code for SubSystemClass uses these interfaces
+ * */
+
+void etUserEntry(void);
+void etUserPreRun(void);
+/* void etUserRun(void); */ /* TODO: do we need this function? */
+void etUserPostRun(void);
+void etUserExit(void);
+

Back to the top