1# Copyright 2018 The Hafnium Authors. 2# 3# Use of this source code is governed by a BSD-style 4# license that can be found in the LICENSE file or at 5# https://opensource.org/licenses/BSD-3-Clause. 6 7# Configuration of the build for the platform. 8declare_args() { 9 # The name of the platform. 10 plat_name = "" 11 12 # The architecture of the platform. 13 plat_arch = "" 14 15 # Boot flow driver to be used by the platform, specified as build target. 16 plat_boot_flow = "" 17 18 # Console driver to be used for the platform, specified as build target. 19 plat_console = "" 20 21 # IOMMU driver to be used for the platform, specified as build target. 22 plat_iommu = "" 23 24 # The number of pages to allocate for the hypervisor heap. 25 plat_heap_pages = 0 26 27 # The level of debug logs to include. This should match one of the levels 28 # defined in dlog.h. 29 plat_log_level = "LOG_LEVEL_INFO" 30 31 # The maximum number of CPUs available on the platform. 32 plat_max_cpus = 1 33 34 # The maximum allowed size of Hafnium's image in memory. Zero if don't care. 35 plat_max_image_size = 0 36 37 # The maximum number of VMs required for the platform. 38 plat_max_vms = 0 39 40 # The maximum number of memory regions allowed per partition, in the partition manifest 41 plat_partition_max_memory_regions = 8 42 43 # The maximum number of device regions allower per partition, in the partition manifest 44 plat_partition_max_device_regions = 8 45 46 # The maximum number of interrupts allowed per device, per partition, in the partition manifest 47 plat_partition_max_intr_per_device = 4 48 49 # the maximum number of streams allowed per device, per partition, in the partition manifest 50 plat_partition_max_streams_per_device = 4 51 52 # The number of virtual interrupt IDs which are supported 53 plat_num_virtual_interrupts_ids = 64 54} 55