Fix 64 bit BAR.
A 64 bit BAR has least significant 32 bits first as in the original pull request.
This commit is contained in:
parent
cc17035e67
commit
f7280c316b
|
@ -271,8 +271,8 @@ void PCIDevice::finish_config_bars()
|
||||||
this->pci_name.c_str(), bar_num);
|
this->pci_name.c_str(), bar_num);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
bars_typ[bar_num] = PCIBarType::Mem_64_Bit_Hi;
|
|
||||||
bars_typ[bar_num++] = PCIBarType::Mem_64_Bit_Lo;
|
bars_typ[bar_num++] = PCIBarType::Mem_64_Bit_Lo;
|
||||||
|
bars_typ[bar_num ] = PCIBarType::Mem_64_Bit_Hi;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue