Hello, I think this is a very nice project, but I found some mistake while reading project sources.
At pci_device.cpp#L307 and pci_device.cpp#L310, it directly used high 29 bits as an offset.
I think you should shift this bit field left by 3 bits, as mentioned in section 7.7.2 of the PCIe specification:
And it is done this way in the Linux kernel as well.
Hello, I think this is a very nice project, but I found some mistake while reading project sources.
At pci_device.cpp#L307 and pci_device.cpp#L310, it directly used high 29 bits as an offset.
I think you should shift this bit field left by 3 bits, as mentioned in section 7.7.2 of the PCIe specification:
And it is done this way in the Linux kernel as well.