diff options
author | Jan Beulich <JBeulich@suse.com> | 2015-06-08 14:11:51 +0100 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-06-23 16:18:29 +0000 |
commit | 69976894c1d91c4b0c985fa05936cb6b8d01382b (patch) | |
tree | e53283fc6eac9b0746a819e3867228681d90a535 /hw/pci/pcie_host.c | |
parent | 950fe0aa3f55ad6bb135fc9cde9ebf4df05f62fc (diff) |
xen/pass-through: ROM BAR handling adjustments
Expecting the ROM BAR to be written with an all ones value when sizing
the region is wrong - the low bit has another meaning (enable/disable)
and bits 1..10 are reserved. The PCI spec also mandates writing all
ones to just the address portion of the register.
Use suitable constants also for initializing the ROM BAR register field
description.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'hw/pci/pcie_host.c')
0 files changed, 0 insertions, 0 deletions