Split-out DMAR backend to some generic place so it could be used by ARM SMMU.
This patch carries no functional change, but it involves a name space changing:
dmar_unit -> iommu_unit
dmar_domain -> iommu_domain
dmar_ctx - > iommu_device
dmar_map_entry -> iommu_map_entry
DMAR_MAP_ENTRY_* -> IOMMU_MAP_ENTRY_*
DMAR_LOCK -> IOMMU_LOCK
DMAR_UNLOCK -> IOMMU_UNLOCK
ctx_tag -> device_tag
(some wrappers are added to the end of sys/x86/iommu/busdma_dmar.c)
any suggestions welcome