756ce64b1e
Most of the code is inspired on virtio driver. rte_pci_ioport structure is filled at map time with anything needed for later read / write calls. At the moment, base field is used to store a x86 ioport (uint16_t) and will be reused for other arches. Signed-off-by: David Marchand <david.marchand@6wind.com> Tested-by: Santosh Shukla <sshukla@mvista.com> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>