Andrew Walbran | 692b325 | 2019-03-07 15:51:31 +0000 | [diff] [blame] | 1 | # Copyright 2018 The Hafnium Authors. |
Andrew Scull | 1883487 | 2018-10-12 11:48:09 +0100 | [diff] [blame] | 2 | # |
Andrew Walbran | e959ec1 | 2020-06-17 15:01:09 +0100 | [diff] [blame^] | 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. |
Andrew Scull | 1883487 | 2018-10-12 11:48:09 +0100 | [diff] [blame] | 6 | |
Andrew Scull | 23e93a8 | 2018-10-26 14:56:04 +0100 | [diff] [blame] | 7 | # Configuration of the build for the platform. |
Andrew Scull | 114096b | 2018-07-31 14:42:16 +0100 | [diff] [blame] | 8 | declare_args() { |
Andrew Scull | b401ba3 | 2018-11-09 10:30:54 +0000 | [diff] [blame] | 9 | # The name of the platform. |
| 10 | plat_name = "" |
| 11 | |
| 12 | # The architecture of the platform. |
| 13 | plat_arch = "" |
David Brazdil | 0dbb41f | 2019-09-09 18:03:35 +0100 | [diff] [blame] | 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. |
Andrew Walbran | 4869936 | 2019-05-20 14:38:00 +0100 | [diff] [blame] | 19 | plat_console = "" |
Andrew Scull | b401ba3 | 2018-11-09 10:30:54 +0000 | [diff] [blame] | 20 | |
Andrew Scull | 3c25745 | 2019-11-26 13:32:50 +0000 | [diff] [blame] | 21 | # IOMMU driver to be used for the platform, specified as build target. |
| 22 | plat_iommu = "" |
| 23 | |
Andrew Walbran | de33f08 | 2018-12-07 14:10:11 +0000 | [diff] [blame] | 24 | # The number of pages to allocate for the hypervisor heap. |
| 25 | plat_heap_pages = 0 |
| 26 | |
Andrew Scull | 23e93a8 | 2018-10-26 14:56:04 +0100 | [diff] [blame] | 27 | # The maximum number of CPUs available on the platform. |
Andrew Walbran | 4869936 | 2019-05-20 14:38:00 +0100 | [diff] [blame] | 28 | plat_max_cpus = 1 |
Andrew Scull | 114096b | 2018-07-31 14:42:16 +0100 | [diff] [blame] | 29 | |
David Brazdil | a2f4521 | 2020-01-20 13:19:31 +0000 | [diff] [blame] | 30 | # The maximum allowed size of Hafnium's image in memory. Zero if don't care. |
| 31 | plat_max_image_size = 0 |
| 32 | |
Andrew Scull | 23e93a8 | 2018-10-26 14:56:04 +0100 | [diff] [blame] | 33 | # The maximum number of VMs required for the platform. |
Andrew Walbran | 7f904bf | 2019-07-12 16:38:38 +0100 | [diff] [blame] | 34 | plat_max_vms = 0 |
Andrew Scull | 114096b | 2018-07-31 14:42:16 +0100 | [diff] [blame] | 35 | } |