6beb2d2947
For 32-bit targets, size_t is normally a 32-bit type and
does not have sufficient range to represent 64-bit offsets
that are needed when mapping PCI addresses.
Use uint64_t instead.
Found when attempting to run 32-bit Linux dpdk-testpmd
using VFIO driver:
EAL: pci_map_resource(): cannot map resource(63, 0xc0010000, \
0x200000, 0x20000000000): Invalid argument ((nil))
Fixes:
|
||
---|---|---|
.. | ||
arm | ||
common | ||
freebsd | ||
include | ||
linux | ||
ppc | ||
unix | ||
windows | ||
x86 | ||
meson.build | ||
version.map |