dingusdev / dingusppc

An experimental emulator
GNU General Public License v3.0
200 stars 21 forks source link

Fix return value for bad pci config address #31

Closed joevt closed 1 year ago

joevt commented 1 year ago

PCI config read fails should return all 1 bits. All unused registers in an existing PCI device should return 0.

Because that's what my Power Mac 8600 returns when I run my Open Firmware lspci command. Any bus/device/function that doesn't exist returns FF and won't be listed by lspci. Any registers that are unused will show as 00 in the lspci output.

Make grackle log bus:device.function @register.size in all cases.