diff options
author | Avi Kivity <avi@redhat.com> | 2011-08-08 16:09:28 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-08 10:22:30 -0500 |
commit | 14caaf7f422b412b55d8cde06767ced003fc31c3 (patch) | |
tree | 0f8fbb89555e4e634c4eca1db51d27689b38c8d0 /hw/pci.h | |
parent | fa6c606589a908a4254e61571296e77593763bfa (diff) |
pci: convert pci rom to memory API
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r-- | hw/pci.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -191,7 +191,8 @@ struct PCIDevice { /* Location of option rom */ char *romfile; - ram_addr_t rom_offset; + bool has_rom; + MemoryRegion rom; uint32_t rom_bar; }; |