| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| library("intel") { |
| kernel = true |
| sources = [ |
| "context_table_state.cpp", |
| "device_context.cpp", |
| "domain_allocator.cpp", |
| "intel_iommu.cpp", |
| "iommu_impl.cpp", |
| "iommu_page.cpp", |
| "second_level_pt.cpp", |
| ] |
| deps = [ |
| "$zx/kernel/arch/x86/page_tables", |
| "$zx/kernel/dev/interrupt", |
| "$zx/kernel/dev/pcie", |
| "$zx/kernel/lib/fbl", |
| "$zx/kernel/lib/user_copy", |
| "$zx/kernel/vm:headers", |
| "$zx/system/ulib/bitmap", |
| "$zx/system/ulib/hwreg", |
| "$zx/system/ulib/region-alloc", |
| "$zx/system/ulib/zxcpp", |
| ] |
| public_deps = [ |
| # dev/iommu/intel.h has #include <fbl/ref_ptr.h>. |
| "$zx/kernel/lib/fbl:headers", |
| ] |
| } |