mirror of
https://github.com/AmbiML/sparrow-kata-full.git
synced 2025-07-31 05:30:34 +00:00
Reduce CAmkES per-component heap allocation.
Set the per-component static heap size to 8KB. The heap is only used by CAmkES RPC for marhsaling dynamic array & string parameters. We mostly use the former and no more than 4KB at a time so 8KB should be fine until we can redirect C use to the Rust heap allocator (or replace the C code). BUG=224069025 Change-Id: I600854c5cb41ed268087f4b2294b70c3384973c2 GitOrigin-RevId: 177a353e6873f2c048cf4b446114534d9dcffc94
This commit is contained in:
parent
c4c0e01765
commit
7bef3289dd
@ -7,6 +7,7 @@ set(RUST_TARGET "riscv32imac-unknown-none-elf" CACHE STRING "Rust target_arch")
|
||||
set(KernelSel4Arch "riscv32" CACHE STRING "Specifies 32-bit branch of the seL4 spike platform")
|
||||
set(KernelIsMCS ON CACHE BOOL "Enable seL4 MCS support")
|
||||
set(KernelPrinting ON CACHE BOOL "Enable seL4 console output support")
|
||||
set(CAmkESDefaultHeapSize "8192" CACHE STRING "CAmkES per-component heap size (bytes)")
|
||||
|
||||
set(LibUtilsDefaultZfLogLevel 5 CACHE STRING "seL4 internal logging level (0-5).")
|
||||
set(SIMULATION ON CACHE BOOL "Whether to build simulate script")
|
||||
|
Loading…
Reference in New Issue
Block a user