Skip to content

Commit c8a6bf9

Browse files
glneokartben
authored andcommitted
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 <[email protected]>
1 parent 226c6ae commit c8a6bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/subsys/ipc/openamp_rsc_table/src/main_remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ int mailbox_notify(void *priv, uint32_t id)
133133
ARG_UNUSED(priv);
134134

135135
LOG_DBG("%s: msg received", __func__);
136-
ipm_send(ipm_handle, 0, id, NULL, 0);
136+
ipm_send(ipm_handle, 0, id, &id, 4);
137137

138138
return 0;
139139
}

0 commit comments

Comments
 (0)