Commit b0aec2d3 authored by Jayan John's avatar Jayan John Committed by Hari Kanigeri

Syslink: Patch to resolve Notify shared memory configuration issue.

This patch correctly assigns the self_id and proc_id values for MPU and Ducati.
Signed-off-by: default avatarJayan John <x00jayan@ti.com>
parent 4564105a
...@@ -295,8 +295,8 @@ struct notify_driver_object *notify_ducatidrv_create(char *driver_name, ...@@ -295,8 +295,8 @@ struct notify_driver_object *notify_ducatidrv_create(char *driver_name,
} }
if (status >= 0) { if (status >= 0) {
/*FIX ME Need to use MultiProc*/ /*FIX ME Need to use MultiProc*/
driver_obj->self_id = OTHER_ID; driver_obj->self_id = SELF_ID;
driver_obj->other_id = SELF_ID; driver_obj->other_id = OTHER_ID;
shm_va = get_ducati_virt_mem(); shm_va = get_ducati_virt_mem();
driver_obj->ctrl_ptr = (struct notify_shmdrv_ctrl *) shm_va; driver_obj->ctrl_ptr = (struct notify_shmdrv_ctrl *) shm_va;
ctrl_ptr = &(driver_obj->ctrl_ptr-> ctrl_ptr = &(driver_obj->ctrl_ptr->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment