Skip to content

Commit

Permalink
virtio: Add virtio_dev_name function description
Browse files Browse the repository at this point in the history
Add function description in Doxygen format for documentation.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
  • Loading branch information
arnopo committed Oct 13, 2023
1 parent adc68ec commit 0360890
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/include/openamp/virtio.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,14 @@ struct virtio_device {
/*
* Helper functions.
*/

/**
* @brief Get the name of a virtio device.
*
* @param devid Id of the device.
*
* @return pointer to the device name string if found, otherwise null.
*/
const char *virtio_dev_name(uint16_t devid);
void virtio_describe(struct virtio_device *dev, const char *msg,
uint32_t features,
Expand Down

0 comments on commit 0360890

Please sign in to comment.