mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-09-28 10:55:27 +00:00
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
Block a user