Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build_sdk.py: enable building kernels with domains
This commit adds two additional command line arguments to build_sdk.py: --experimental-num-domains: the number of kernel domains; --experimental-domain-schedule: path to a C file with the domain schedule configuration. These flags must be used together; neither makes sense on its own. When these flags are provided, build_sdk.py will build all kernel images with domains enabled and with the provided configuration. The flags correspond to the kernel build flags "KernelNumDomains" and "KernelDomainSchedule", respectively. All kernels contained in the SDK will have this domain configuration. There is no way to have some kernels have the domain configuration and others not, or to have different kernels with different domain configurations. These flags are intended as a stopgap solution until the kernel allows configuration of the domain schedule at runtime. Once that is enabled in mainline seL4, these flags can be removed from Microkit. Signed-off-by: James Archer <[email protected]>
- Loading branch information