On Fri, Dec 18, 2009 at 11:01 AM, Gerd Hoffmann <kra...@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); No.