diff options
author | Thomas Schuetz | 2012-02-26 21:46:39 +0000 |
---|---|---|
committer | Thomas Schuetz | 2012-02-26 21:46:39 +0000 |
commit | fa4a03389b5596fbaa65d5acb0e198013c1820a8 (patch) | |
tree | 1a6ef7e8b46a1cfa85956dfa7fa9201cb228a1d1 /runtime/org.eclipse.etrice.runtime.c/src/common/platform | |
parent | a121360a55b1b4c8f834b6d68689064cd70499db (diff) | |
download | org.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/platform')
-rw-r--r-- | runtime/org.eclipse.etrice.runtime.c/src/common/platform/etPlatform.h | 27 |
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); + |