Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: f81114b21d32c21d39375e90efa368922673d051 https://github.com/OpenAMP/open-amp/commit/f81114b21d32c21d39375e90efa368922... Author: Andrew Davis afd@ti.com Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths: M lib/include/openamp/rpmsg.h M lib/rpmsg/rpmsg.c
Log Message: ----------- rpmsg: Add API for retrieving message buffer sizes
Add an RPMsg API to get the buffer sizes supported by the backing transport layer. Add hooks so that transport layers can register functions to provide this data.
Signed-off-by: Andrew Davis afd@ti.com
Commit: 52c27fbd91f748f93f46330aff0f12c7dd594f2d https://github.com/OpenAMP/open-amp/commit/52c27fbd91f748f93f46330aff0f12c7d... Author: Andrew Davis afd@ti.com Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths: M lib/rpmsg/rpmsg_virtio.c
Log Message: ----------- rpmsg_virtio: Connect rpmsg get buffer for the virtio transport layer
RPMsg provides functions to get a transport's backing buffer sizes. Connect this up for the virtio transport here.
Signed-off-by: Andrew Davis afd@ti.com
Commit: 89a8a3002fc0e8171b91f0d220608facbaa08342 https://github.com/OpenAMP/open-amp/commit/89a8a3002fc0e8171b91f0d220608facb... Author: Andrew Davis afd@ti.com Date: 2024-04-09 (Tue, 09 Apr 2024)
Changed paths: M apps/examples/echo/rpmsg-echo.c M apps/examples/echo/rpmsg-ping.c M apps/examples/nocopy_echo/rpmsg-nocopy-ping.c M apps/tests/msg/rpmsg-flood-ping.c M apps/tests/msg/rpmsg-nocopy-ping.c M apps/tests/msg/rpmsg-ping.c
Log Message: ----------- apps: Convert examples to rpmsg_get_{tx,rx}_buffer_size()
The contents of app() in these examples is given a rpmsg_device. We should not have to know about the backing transport layer. We assume it is virtio and call into the virtio layer to get the buffer size. This information is now available from the rpmsg layer. Use those functions to make the app() agnostic to the backing layer.
Signed-off-by: Andrew Davis afd@ti.com
Compare: https://github.com/OpenAMP/open-amp/compare/9ddd85c9aae4...89a8a3002fc0
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications