// Copyright 2018 The Fuchsia Authors | |
// | |
// Use of this source code is governed by a MIT-style | |
// license that can be found in the LICENSE file or at | |
// https://opensource.org/licenses/MIT | |
#pragma once | |
#include <dev/iommu.h> | |
#include <fbl/ref_ptr.h> | |
#include <zircon/syscalls/iommu.h> | |
class IntelIommu { | |
public: | |
static zx_status_t Create(ktl::unique_ptr<const uint8_t[]> desc, size_t desc_len, | |
fbl::RefPtr<Iommu>* out); | |
}; |