diff --git a/linux/src/api/Ipc.c b/linux/src/api/Ipc.c
index 96804660ab401ba5489188d970224552f6f49794..42ac0cbe415ad0a8d75f71e7fd5dc3a81d60cbbd 100644 (file)
--- a/linux/src/api/Ipc.c
+++ b/linux/src/api/Ipc.c
Int attached[MultiProc_MAXPROCESSORS];
} Ipc_Module;
+/* hack: rpmsgproto driver work around */
+Void MessageQ_bind(UInt16 procId);
+Void MessageQ_unbind(UInt16 procId);
+
/* =============================================================================
* Globals
goto done;
}
+ /* hack: bind all existing message queues to remote processor */
+ MessageQ_bind(procId);
+
/* getting here means we have successfully attached */
Ipc_module.attached[clusterId]++;
goto done;
}
+ /* hack: unbind all existing message queues from remote processor */
+ MessageQ_unbind(procId);
+
/* detach transport from remote processor */
status = Ipc_module.transportFactory->detachFxn(procId);