[SeaBIOS] [Qemu-devel] [PATCH 4/8] fw_cfg: add API for file transfer.
blauwirbel at gmail.com
Sat Dec 19 13:06:04 CET 2009
On Fri, Dec 18, 2009 at 11:01 AM, Gerd Hoffmann <kraxel at redhat.com> wrote:
> This patch adds a file transfer interface to fw_cfg. Intended to be
> used for passing non-pci option roms and vgabios to seabios. Namespace
> is modeled after the existing cbfs filesystem support in seabios.
> Reading the new FW_CFG_FILE_DIR entry returns a file list.
> Fields there are in network byte order (aka bigendian).
The 16 bit selector for other cases is in little endian order. Please
use LE for consistency.
> + fprintf(stderr, "%s: #%d: %s (%d bytes)\n", __FUNCTION__,
> + index, s->files->f[index].name, len);
More information about the SeaBIOS