mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-11 05:29:43 +00:00
Set Bandit's HWComponent name
Bandit has two names: - PCIDevice->pci_name - PCIDevice:MMIODevice:HWComponent->name The latter was not being set.
This commit is contained in:
parent
cd122ce263
commit
63248b0fa2
@ -63,6 +63,8 @@ Bandit::Bandit(int bridge_num, std::string name) : PCIHost(), PCIDevice(name)
|
||||
// that correspond to the 32MB assigned PCI address space of this Bandit.
|
||||
// This initialization is implied by the device functionality.
|
||||
this->addr_mask = 3 << ((bridge_num & 3) * 2);
|
||||
|
||||
this->name = name;
|
||||
}
|
||||
|
||||
uint32_t Bandit::pci_cfg_read(uint32_t reg_offs, uint32_t size)
|
||||
|
Loading…
x
Reference in New Issue
Block a user