updater min size

Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
This commit is contained in:
cheng_jinsong 2022-11-08 14:21:02 +08:00
parent e03ce13244
commit 025371217c
2 changed files with 9 additions and 10 deletions

View File

@ -18,16 +18,7 @@ startup_param=40960
persist_param=40960
const_param=40960
persist_sys_param=4096
hw_sc_param=512
hw_sc_build_os_param=512
init_param=512
init_svc_param=512
const_postinstall_param=512
const_postinstall_fstab_param=512
const_allow_param=512
const_allow_mock_param=512
devinfo_public_param=30720
security_param=512
sys_param=4096
bootevent_param=4096
startup_init_param=40960

View File

@ -45,7 +45,15 @@ extern "C" {
#endif
#define PARAM_WORKSPACE_INVALID ((uint32_t)-1)
#define PARAM_WORKSPACE_MIN (512)
#define PARAM_WORKSPACE_MIN (1024)
/*
length for parameter = node size + data size
xxxx.xxxx.xxxx.xxxx
node size:
24 * (count(.) + 1) + strlen(xxxx.xxxx.xxxx.xxxx)
data size
strlen(xxxx.xxxx.xxxx.xxxx) + 96
*/
#if (defined __LITEOS_A__ || defined __LITEOS_M__)
#define DAC_DEFAULT_MODE 0777
#ifdef STARTUP_INIT_TEST