Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: 80284e3ac0e94d2e9f15bab79e84f57d4cf77976 https://github.com/OpenAMP/open-amp/commit/80284e3ac0e94d2e9f15bab79e84f57d4... Author: Francesco Valla francesco@valla.it Date: 2026-09-21 (Mon, 21 Sep 2026)
Changed paths: M lib/include/openamp/virtqueue.h M lib/virtio/virtqueue.c
Log Message: ----------- virtqueue: add writable buffer helper
An application at device side might need to know if a buffer has been marked as device-writable by the driver. An example is the virtio SPI protocol, in which the direction of an half-duplex communication can be determined by the device only by checking if the buffer containing the data is writable or not.
Add a simple helper to test if a buffer is device-writable, that is, if the VRING_DESC_F_WRITE flag is present on it.
Signed-off-by: Francesco Valla francesco@valla.it
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications