forked from seL4/camkes-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
camkes_vm_settings.cmake
30 lines (27 loc) · 1020 Bytes
/
camkes_vm_settings.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Copyright 2018, Data61, CSIRO (ABN 41 687 119 230)
#
# SPDX-License-Identifier: BSD-2-Clause
#
cmake_minimum_required(VERSION 3.8.2)
# Kernel settings
set(KernelArch x86 CACHE STRING "" FORCE)
set(KernelPlatform pc99 CACHE STRING "" FORCE)
set(KernelVTX ON CACHE BOOL "" FORCE)
set(KernelRootCNodeSizeBits 20 CACHE STRING "" FORCE)
set(KernelMaxNumBootinfoUntypedCap 100 CACHE STRING "")
set(KernelIRQController IOAPIC CACHE STRING "" FORCE)
if(CAmkESVMGuestDMAIommu)
set(KernelIOMMU ON CACHE BOOL "" FORCE)
endif()
# Release settings
set(RELEASE OFF CACHE BOOL "Performance optimized build")
# capDL settings
set(CapDLLoaderMaxObjects 900000 CACHE STRING "" FORCE)
# Our components will all define their own heaps if needed
# Otherwise we provide enough of a heap to initialise libc
set(CAmkESDefaultHeapSize 4096 CACHE STRING "" FORCE)
# We need to pre-process our specs
set(CAmkESCPP ON CACHE BOOL "" FORCE)
# Set release/verification configuration
ApplyCommonReleaseVerificationSettings(${RELEASE} FALSE)