diff options
author | 2018-05-03 09:39:16 +0800 | |
---|---|---|
committer | 2018-05-08 16:42:27 +0800 | |
commit | b33b0f2920b5f8f5912c094a2673302c5b0de75c (patch) | |
tree | d28b4ec6a17f4f66c90cf3761cb1dfb4d75d9eb2 | |
parent | 3dd38cdde92c3ab793936a711ac42124177232e4 (diff) |
Add annotations for module_config.json
Add annotations and align the format of module_config.json
Change-Id: I8ba4cdcab21a76ba44fdbdc7cd94eae52a076c89
Signed-off-by: yinzhongyi <yinzhongyi@huawei.com>
-rw-r--r-- | release/configure/module_config.json | 50 |
1 files changed, 27 insertions, 23 deletions
diff --git a/release/configure/module_config.json b/release/configure/module_config.json index c9bae26..6b171d8 100644 --- a/release/configure/module_config.json +++ b/release/configure/module_config.json @@ -1,27 +1,31 @@ { - "default_stack_name": "kernel", - "module_list": [ + "default_stack_name": "kernel", /*when rd can't be find maybe choose the defualt one*/ + "module_list": [ { - "stack_name": "kernel", - "function_name": "kernel_stack_register", - "libname": "./", - "loadtype": "static", - "deploytype": "1", - "maxfd": "1024", - "minfd": "0", - "priorty": "1", - "stackid": "0", - }, + "stack_name": "kernel", /*stack name*/ + "function_name": "kernel_stack_register", /*function name*/ + "libname": "./", /*library name, if loadtype is static, this maybe + null, else must give a library name*/ + "loadtype": "static", /*library load type: static or dynamic*/ + "deploytype": "1", /*deploy model type:model type1, model type2, + model type3. Indicating single or multi process + deployment. Used during shared memory initialization.*/ + "maxfd": "1024", /*the max fd supported*/ + "minfd": "0", /*the min fd supported*/ + "priorty": "1", /*priorty when executing, reserv*/ + "stackid": "0", /*stack id, this must be ordered and not be repeated*/ + }, { - "stack_name": "stackpool", - "function_name": "nstack_stack_register", - "libname": "libnstack.so", - "loadtype": "dynmic", - "deploytype": "3", - "maxfd": "1024", - "minfd": "0", - "priorty": "1", - "stackid": "1", - }, - ] + "stack_name": "stackx", /*this is not a real stack, just an example for multiple + stack configurations*/ + "function_name": "stackx_register", + "libname": "libstackx.so", + "loadtype": "dynmic", + "deploytype": "3", + "maxfd": "1024", + "minfd": "0", + "priorty": "1", + "stackid": "1", + }, + ] } |