提交 6cdff277 编写于 作者: C chengjinsong2

修改PARAM_WORKSPACE_MAX内存大小

Signed-off-by: Nchengjinsong2 <chengjinsong2@huawei.com>
上级 0fa32bb1
...@@ -125,6 +125,17 @@ if (defined(ohos_lite)) { ...@@ -125,6 +125,17 @@ if (defined(ohos_lite)) {
module_install_dir = "etc/param" module_install_dir = "etc/param"
} }
ohos_prebuilt_para("ohos.startup.para") {
source = "//base/startup/init/services/etc/param/ohos.startup.para"
install_images = [
"system",
"updater",
]
part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/param"
}
ohos_prebuilt_para("ohos.para.dac") { ohos_prebuilt_para("ohos.para.dac") {
source = "//base/startup/init/services/etc/param/ohos.para.dac" source = "//base/startup/init/services/etc/param/ohos.para.dac"
install_images = [ install_images = [
...@@ -204,6 +215,7 @@ if (defined(ohos_lite)) { ...@@ -204,6 +215,7 @@ if (defined(ohos_lite)) {
":ohos.para", ":ohos.para",
":ohos.para.dac", ":ohos.para.dac",
":ohos.para.size", ":ohos.para.size",
":ohos.startup.para",
":ohos_const.para", ":ohos_const.para",
":passwd", ":passwd",
":syscap.json", ":syscap.json",
......
...@@ -20,8 +20,6 @@ const.debuggable=1 ...@@ -20,8 +20,6 @@ const.debuggable=1
const.build.characteristics=default const.build.characteristics=default
const.product.model=ohos const.product.model=ohos
const.product.name="OpenHarmony 3.2" const.product.name="OpenHarmony 3.2"
persist.sys.usb.config=hdc
persist.init.bootevent.enable=true
const.sandbox=enable const.sandbox=enable
const.product.devicetype=default const.product.devicetype=default
const.software.model=default const.software.model=default
......
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
persist.sys.usb.config=hdc
persist.init.bootevent.enable=true
\ No newline at end of file
...@@ -59,7 +59,7 @@ extern "C" { ...@@ -59,7 +59,7 @@ extern "C" {
#ifdef STARTUP_INIT_TEST #ifdef STARTUP_INIT_TEST
#define PARAM_WORKSPACE_MAX (1024 * 50) #define PARAM_WORKSPACE_MAX (1024 * 50)
#else #else
#define PARAM_WORKSPACE_MAX (1024 * 30) #define PARAM_WORKSPACE_MAX (1024 * 4)
#endif #endif
#define PARAM_WORKSPACE_SMALL PARAM_WORKSPACE_MAX #define PARAM_WORKSPACE_SMALL PARAM_WORKSPACE_MAX
#define PARAM_WORKSPACE_DEF PARAM_WORKSPACE_MAX #define PARAM_WORKSPACE_DEF PARAM_WORKSPACE_MAX
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册