Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: 2181888ed94ee003e8bf440e6a2be5435201a4c3 https://github.com/OpenAMP/open-amp/commit/2181888ed94ee003e8bf440e6a2be5435... Author: Bowen Wang wangbowen6@xiaomi.com Date: 2024-11-05 (Tue, 05 Nov 2024)
Changed paths: M lib/include/openamp/virtio.h
Log Message: ----------- virtio.h: add memory operation for virtio device
Buffer management is different for different transport layer:
For MMIO transport layer, the buffer can direclty malloced from the gust os heap beacase the hypervisor can access all the memmory own by guest os.
For remoteproc transpor layer, the buffer should be malloced from the share memory region to make sure the remote core can access this buffer too.
So add memory ops in virtio device to make different transport/device can implement their own share memory management.
Signed-off-by: Bowen Wang wangbowen6@xiaomi.com
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
openamp-rp@lists.openampproject.org