[ros-diffs] [hpoussin] 15439: Modify some pci_hal funcs, fix obvious errors in code