summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4e7c8e0)
raw | patch | inline | side by side (parent: 4e7c8e0)
author | Wendy Liang <jliang@xilinx.com> | |
Mon, 27 Jun 2016 22:04:26 +0000 (15:04 -0700) | ||
committer | Wendy Liang <jliang@xilinx.com> | |
Thu, 13 Oct 2016 05:01:43 +0000 (22:01 -0700) |
Introduce initialize() hil_proc API to set platform data for
each remoteproc processor.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
each remoteproc processor.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/include/openamp/hil.h | patch | blob | history |
index c4fdf2c5b0202423950f5821e8dbde2a14f19c99..a8d8f44d1e6f51a20da04509a30c46b00c41579d 100644 (file)
*/
void (*shutdown_cpu) (int cpu_id);
+ /**
+ * initialize
+ *
+ * This function initialize remote processor with platform data.
+ *
+ * @param[in] pdata - platform data
+ * @param[in] proc - pointer to the remote processor
+ * @param[in] cpu_id - CPU id
+ *
+ * @return 0 on sucess, otherwise on failure
+ *
+ */
+ int (*initialize) (void *pdata,
+ struct hil_proc *proc,
+ int cpu_id);
+
};
/* Utility macros for register read/write */