Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: 4ace3543aea62d9356dec5f044111187a8691190 https://github.com/OpenAMP/open-amp/commit/4ace3543aea62d9356dec5f044111187a... 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: Add memory operation interface for virtio device
Buffer management is different for different transport layer:
For MMIO transport layer, the buffer can directly allocated from the geust OS heap beacase the hypervisor can access all the memory own by guest OS.
For remoteproc transport layer, the buffer should be allocated 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