1 // Copyright 2018 The Fuchsia Authors
2 //
3 // Use of this source code is governed by a MIT-style
4 // license that can be found in the LICENSE file or at
5 // https://opensource.org/licenses/MIT
6 
7 #include <dev/iommu/intel.h>
8 #include <ktl/move.h>
9 
10 #include "iommu_impl.h"
11 
Create(ktl::unique_ptr<const uint8_t[]> desc,size_t desc_len,fbl::RefPtr<Iommu> * out)12 zx_status_t IntelIommu::Create(ktl::unique_ptr<const uint8_t[]> desc, size_t desc_len,
13                                fbl::RefPtr<Iommu>* out) {
14     return intel_iommu::IommuImpl::Create(ktl::move(desc), desc_len, out);
15 }
16