Revision 10c9c329 hw/pci.c
b/hw/pci.c | ||
---|---|---|
630 | 630 |
|
631 | 631 |
val = ((uint32_t)d->config[base] & PCI_IO_RANGE_MASK) << 8; |
632 | 632 |
if (d->config[base] & PCI_IO_RANGE_TYPE_32) { |
633 |
val |= (uint32_t)pci_get_word(d->config + PCI_IO_BASE_UPPER16) << 16;
|
|
633 |
val |= (uint32_t)pci_get_word(d->config + base_upper16) << 16;
|
|
634 | 634 |
} |
635 | 635 |
return val; |
636 | 636 |
} |
Also available in: Unified diff