-
Notifications
You must be signed in to change notification settings - Fork 4
/
Kconfig.L4
47 lines (35 loc) · 1.6 KB
/
Kconfig.L4
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
menu "Bootstrap"
config BOOTSTRAP_ROOTTASK_NX
bool "Support W^X in the root task"
help
Mark the text sections of the root task as non-writeable in the memory map
and mark the data sections as non executable.
This is useful if you want to ensure a requirement to have this property
enforced for the root task. However, be aware that this will only protect
the memory from the binary. Moe will still have large parts of the memory
mapped as both executable and writable due to the system design.
Also this precludes self-adaptation of Moe when compiled for the wrong
kernel type (virtualization enabled vs. non-virt). So only enable this when
you understand the features limitations and are sure that you need it.
If you enable this feature and the system fails to boot after loading
Sigma0, ensure the KERNEL_CPU_VIRT option is in sync with the respective
kernel configuration.
If in doubt, choose n.
config BOOTSTRAP_THUMB_ENTRY
bool "Thumb mode entry point"
depends on BUILD_ARCH_arm
help
Assume that bootstrap is started in Thumb mode.
If in doubt, choose n.
config BOOTSTRAP_COMPRESS
bool "Support for compressed modules"
depends on HAVE_BIDPC_ZLIB
help
Allow bootstrap to decompress modules that have been compressed.
Using compressed modules reduces the size of an l4image at the cost of
increased startup time due to the required unpacking.
Modules will not be automatically compressed when building.
comment "GZIP/ZLIB decompression not available due to missing zlib package"
depends on !HAVE_BIDPC_ZLIB
source "server/src/platform/Kconfig.s32z"
endmenu