[SeaBIOS] Proper support for PCI-based option rom loading (was Re: [Qemu-devel] Re: qdev property bug?)

Gerd Hoffmann kraxel at redhat.com
Thu Dec 17 11:40:14 CET 2009


>>>> struct fw_files {
>>>>     u32 filecount;
>>>>     struct fw_file {
>>>>       u32  type;        /* vga, option, other? */
>>>>       u32  size;        /* file size */
>>>>       u32  select;      /* write this to 0x510 to read it */
>>>>       u32  reserved;    /* you never know ;) */
>>>>       char name[16];    /* maybe: filename */
>
> Can't name simply be null terminated?

It can, but it wouldn't be simple ...

cheers,
   Gerd




More information about the SeaBIOS mailing list