qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proper support for PCI-based option rom loading (was Re: [Qemu-devel


From: Gerd Hoffmann
Subject: Re: Proper support for PCI-based option rom loading (was Re: [Qemu-devel] Re: qdev property bug?)
Date: Thu, 17 Dec 2009 11:40:14 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]