OpenAMP Library  353
virtio_memory_ops Struct Reference

#include <virtio.h>

Data Fields

void *(* alloc )(struct virtio_device *dev, size_t size, size_t align)
 Allocate memory from the virtio device. More...
 
void(* free )(struct virtio_device *dev, void *buf)
 Free memory allocated from the virtio device. More...
 

Field Documentation

◆ alloc

void*(* virtio_memory_ops::alloc) (struct virtio_device *dev, size_t size, size_t align)

Allocate memory from the virtio device.

◆ free

void(* virtio_memory_ops::free) (struct virtio_device *dev, void *buf)

Free memory allocated from the virtio device.


The documentation for this struct was generated from the following file: