| # Copyright 2019 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 |
| |
| 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/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", |
| ] |
| } |