samples: ipc: openamp_rsc_table: Send virtio ID as message content

The message data field is currently empty, this works for some as the all
available virtqueues can be signaled when any message comes in on the host
side. For TI Mailbox and RemoteProc Linux drivers we do check the content
and expect the message to contain the correct Vring ID to signal.

Signed-off-by: Andrew Davis <afd@ti.com>
This commit is contained in:
Andrew Davis 2024-05-17 11:28:42 -05:00 committed by Benjamin Cabé
commit c8a6bf9733

View file

@ -133,7 +133,7 @@ int mailbox_notify(void *priv, uint32_t id)
ARG_UNUSED(priv);
LOG_DBG("%s: msg received", __func__);
ipm_send(ipm_handle, 0, id, NULL, 0);
ipm_send(ipm_handle, 0, id, &id, 4);
return 0;
}