From c26d662951734737a166c3c38187a44b5c631530 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Sun, 27 Sep 2020 20:25:47 +0800 Subject: [PATCH] interpreters/wamr: Add configs for heap pool & custom name sections Signed-off-by: Huang Qi --- interpreters/wamr/Kconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/interpreters/wamr/Kconfig b/interpreters/wamr/Kconfig index e5f5699af..5e05fa0a0 100644 --- a/interpreters/wamr/Kconfig +++ b/interpreters/wamr/Kconfig @@ -55,4 +55,20 @@ config INTERPRETERS_WAMR_DISABLE_HW_BOUND_CHECK bool "Disable hardware bound check" default n +config INTERPRETERS_WAMR_CUSTOM_NAME_SECTIONS + bool "Enable custom name section support" + default n + +config INTERPRETERS_WAMR_GLOBAL_HEAP_POOL + bool "Enable global heap pool" + default n + +if INTERPRETERS_WAMR_GLOBAL_HEAP_POOL + +config INTERPRETERS_WAMR_GLOBAL_HEAP_POOL_SIZE + int "Global heap pool size (in KB)" + default 128 + +endif + endif