[OpenBIOS] [PATCH v2 0/3] fw_cfg: add support for files

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Fri Apr 21 00:45:07 CEST 2017


On 20/03/17 21:07, Mark Cave-Ayland wrote:

> This patchset is part of the ongoing work to add virtio support to
> OpenBIOS, yet self-contained enough to be spun out as a separate
> patchset.
> 
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
> 
> v2:
> - Add comment explaining BE access for file API
> - Add mising byte swap macros to fw_cfg_find_file()
> 
> Mark Cave-Ayland (3):
>   fw_cfg: split fw_cfg_read() into fw_cfg_read() and
>     fw_cfg_read_bytes()
>   fw_cfg: add fw_cfg_find_file() and fw_cfg_read_file() functions
>   fw_cfg: implement fw-cfg-read-file Forth word
> 
>  drivers/fw_cfg.c             |   89 +++++++++++++++++++++++++++++++++++++++---
>  include/arch/common/fw_cfg.h |   16 ++++++++
>  libopenbios/init.c           |    7 +++-
>  3 files changed, 105 insertions(+), 7 deletions(-)

QEMU 2.9 has now been released, so I've pushed the v2 of this patch to
git master.


ATB,

Mark.




More information about the OpenBIOS mailing list