
27 Feb
2022
27 Feb
'22
3:40 p.m.
The QEMU fw_cfg device supports writing entries as well. Add the constant define for it so that we can leverage write functionality later.
Signed-off-by: Alexander Graf agraf@csgraf.de --- include/qfw.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/qfw.h b/include/qfw.h index 7ca132e66a..e42960cbb4 100644 --- a/include/qfw.h +++ b/include/qfw.h @@ -70,6 +70,7 @@ enum { #define FW_CFG_DMA_READ (1 << 1) #define FW_CFG_DMA_SKIP (1 << 2) #define FW_CFG_DMA_SELECT (1 << 3) +#define FW_CFG_DMA_WRITE (1 << 4)
/* Bit set in FW_CFG_ID response to indicate DMA interface availability. */ #define FW_CFG_DMA_ENABLED (1 << 1)
--
2.32.0