summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2010-06-03 22:41:31 -0500
committerHari Kanigeri <h-kanigeri2@ti.com>2010-07-09 17:57:51 -0500
commit3b9c105894c3298fd79e5bed499dfa36d18095ba (patch)
tree3f0bb1ebaccdfd0db56f7d3b1b994e21ba857028 /arch/arm
parent87ef5fa1e5d626376a8d0515c9cf9783fd9ea2f4 (diff)
SYSLINK: ipc - Updated platform module to SysLink 2.0
This is part of migration to SysLink 2.0. The platform module still serves very much the same purpose as before. However, some major changes have been introduced: - Handles setup/destroy of individual IPC/notify modules. This was previously done by sysmgr module. - Reading/writing config info to shared memory is done by this module. This was previously done by sysmgr module. - Creation/opening and deleting/clsoing of IPC/notify module instances has been removed. Previously it was done in the start/stop callback functions. It has been moved to the new ipc module. - platform_override_cfg has been moved into platform.c and platformcfg.c has been eliminated. Signed-off-by: Simon Que <sque@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/plat-omap/include/syslink/platform.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/arm/plat-omap/include/syslink/platform.h b/arch/arm/plat-omap/include/syslink/platform.h
index 298d20f7ab5d..9dbae5cf1521 100644
--- a/arch/arm/plat-omap/include/syslink/platform.h
+++ b/arch/arm/plat-omap/include/syslink/platform.h
@@ -18,28 +18,27 @@
#ifndef _PLATFORM_H_
#define _PLATFORM_H_
-/* Module headers */
-#include <sysmgr.h>
+#define PLATFORM_S_SUCCESS 0
+#define PLATFORM_E_FAIL -1
+#define PLATFORM_E_INVALIDARG -2
/* =============================================================================
* APIs
* =============================================================================
*/
/* Function to setup the platform */
-s32 platform_setup(struct sysmgr_config *config);
+s32 platform_setup(void);
/* Function to destroy the platform */
s32 platform_destroy(void);
/* Function called when slave is loaded with executable */
-void platform_load_callback(void *arg);
+int platform_load_callback(u16 proc_id, void *arg);
/* Function called when slave is in started state*/
-void platform_start_callback(void *arg);
+int platform_start_callback(u16 proc_id, void *arg);
/* Function called when slave is stopped state */
-void platform_stop_callback(void *arg);
-
-s32 platform_override_config(struct sysmgr_config *config);
+int platform_stop_callback(u16 proc_id, void *arg);
#endif /* ifndef _PLATFORM_H_ */