dingusppc/devices/common/pci
joevt 9f1d613a2d Fix PCI struct offset size
The Pointer to PCI Data Structure is supposed to be two bytes. It is described in the PCI Firmware Specification Revision 3.0, section 5.1.1. PCI Expansion ROM Header Format.
The pointer is two bytes at 0x18. The pointer is supposed to be a multiple of 4 which means there's always at least two bytes of padding after the pointer. Some BIOS firmware images may use the 2 bytes following the pointer for other purposes (plus additional bytes before the PCI Data Structure) so we cannot assume the bytes will be zero.
Some PCI expansion ROMs may include both BIOS and Open Firmware images.
2022-10-23 00:26:32 -07:00
..
bandit.cpp Revert "PCI fixes" 2022-09-02 23:24:06 +00:00
bandit.h Fix read/write argument names 2022-08-22 17:16:22 -07:00
pcidevice.cpp Fix PCI struct offset size 2022-10-23 00:26:32 -07:00
pcidevice.h Allow setting PCI capabilities pointer 2022-08-22 17:16:22 -07:00
pcihost.cpp pcihost: add attach_pci_device method. 2022-08-19 18:55:33 +02:00
pcihost.h pcihost: add attach_pci_device method. 2022-08-19 18:55:33 +02:00