Added HAL PCI support base code.
Small fixes in intrinsics