mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-08-07 17:25:08 +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:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user