Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
qemu_fwcfg.h File Reference

Header for the QEMU firmware configuration (fw_cfg) driver. More...

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <zephyr/device.h>
#include <zephyr/sys/util.h>

Go to the source code of this file.

Functions

int qemu_fwcfg_read_item (const struct device *dev, uint16_t key, void *buf, size_t len)
 Read data from an fw_cfg item.
int qemu_fwcfg_write_item (const struct device *dev, uint16_t key, const void *buf, size_t len)
 Write data to an fw_cfg item.
int qemu_fwcfg_get_features (const struct device *dev, uint32_t *features)
 Get fw_cfg feature bits reported by the device.
int qemu_fwcfg_find_file (const struct device *dev, const char *file, uint16_t *select, uint32_t *size)
 Look up a file entry in fw_cfg file directory.
bool qemu_fwcfg_dma_supported (const struct device *dev)
 Check whether fw_cfg DMA feature is available.

Detailed Description

Header for the QEMU firmware configuration (fw_cfg) driver.