Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
12e40076
D
Docs
项目概览
OpenHarmony
/
Docs
接近 2 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
12e40076
编写于
8月 15, 2022
作者:
O
openharmony_ci
提交者:
Gitee
8月 15, 2022
浏览文件
操作
浏览文件
下载
差异文件
!8116 modify samgr
Merge pull request !8116 from huangxiaolinabc123/8_15
上级
913d80f9
5090ca61
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
34 addition
and
34 deletion
+34
-34
en/device-dev/porting/porting-bes2600w-on-minisystem-display-demo.md
...ev/porting/porting-bes2600w-on-minisystem-display-demo.md
+4
-4
en/device-dev/porting/porting-chip-board-component.md
en/device-dev/porting/porting-chip-board-component.md
+1
-1
en/device-dev/subsystems/subsys-boot-init-service.md
en/device-dev/subsystems/subsys-boot-init-service.md
+1
-1
en/device-dev/subsystems/subsys-dfx-hilog-lite.md
en/device-dev/subsystems/subsys-dfx-hilog-lite.md
+2
-2
en/device-dev/subsystems/subsys-dfx-hisysevent-logging-config.md
...ce-dev/subsystems/subsys-dfx-hisysevent-logging-config.md
+1
-1
en/readme/SAMGR.md
en/readme/SAMGR.md
+5
-5
en/readme/ai.md
en/readme/ai.md
+1
-1
zh-cn/device-dev/porting/porting-bes2600w-on-minisystem-display-demo.md
...ev/porting/porting-bes2600w-on-minisystem-display-demo.md
+2
-2
zh-cn/device-dev/porting/porting-chip-board-component.md
zh-cn/device-dev/porting/porting-chip-board-component.md
+1
-1
zh-cn/device-dev/porting/porting-stm32f407-on-minisystem-eth.md
...device-dev/porting/porting-stm32f407-on-minisystem-eth.md
+5
-5
zh-cn/device-dev/porting/porting-w800-combo-demo.md
zh-cn/device-dev/porting/porting-w800-combo-demo.md
+1
-1
zh-cn/device-dev/subsystems/subsys-boot-init-service.md
zh-cn/device-dev/subsystems/subsys-boot-init-service.md
+1
-1
zh-cn/device-dev/subsystems/subsys-dfx-hilog-lite.md
zh-cn/device-dev/subsystems/subsys-dfx-hilog-lite.md
+2
-2
zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-logging-config.md
...ce-dev/subsystems/subsys-dfx-hisysevent-logging-config.md
+1
-1
zh-cn/readme/AI业务子系统.md
zh-cn/readme/AI业务子系统.md
+1
-1
zh-cn/readme/系统服务管理子系统.md
zh-cn/readme/系统服务管理子系统.md
+5
-5
未找到文件。
en/device-dev/porting/porting-bes2600w-on-minisystem-display-demo.md
浏览文件 @
12e40076
...
...
@@ -1167,18 +1167,18 @@ boolean HilogProc_Impl(const HiLogContent *hilogContent, uint32 len)
HiviewRegisterHilogProc(HilogProc_Impl);
```
####
distributedschedule
Subsystem Adaptation
####
systemabilitymgr
Subsystem Adaptation
To adapt the
`
distributedschedule
`
subsystem, you need to add the
`samgr_lite`
component in the
`config.json`
file, as shown below:
To adapt the
`
systemabilitymgr
`
subsystem, you need to add the
`samgr_lite`
component in the
`config.json`
file, as shown below:
```
{
"subsystem": "
distributedschedule
",
"subsystem": "
systemabilitymgr
",
"components": [
{
"component": "samgr_lite",
"features": [
"config_ohos_
distributedschedule
_samgr_lite_shared_task_size = 4096"
"config_ohos_
systemabilitymgr
_samgr_lite_shared_task_size = 4096"
]
}
]
...
...
en/device-dev/porting/porting-chip-board-component.md
浏览文件 @
12e40076
...
...
@@ -11,7 +11,7 @@ This service-oriented framework enables you to develop services, features, and e
> **NOTICE:**
>This module must be used during board-level system porting. Otherwise, other service modules cannot run properly.
For details about how to use SAMGR, see
[
samgr\_lite
](
https://gitee.com/openharmony/
distributedschedule
_samgr_lite/blob/master/README.md
)
.
For details about how to use SAMGR, see
[
samgr\_lite
](
https://gitee.com/openharmony/
systemabilitymgr
_samgr_lite/blob/master/README.md
)
.
## DFX<a name="section20064420420"></a>
...
...
en/device-dev/subsystems/subsys-boot-init-service.md
浏览文件 @
12e40076
...
...
@@ -55,7 +55,7 @@ Service configuration allows you to configure services on demand to create diffe
```
-
SA process on-demand startup
For details, see [samgr Usage](https://gitee.com/openharmony/
distributedschedule
_samgr/blob/master/README.md).
For details, see [samgr Usage](https://gitee.com/openharmony/
systemabilitymgr
_samgr/blob/master/README.md).
- Socket process on-demand startup
1. The init process creates a socket for socket processes in the pre-fork phase and listens to read/write events on this socket.
...
...
en/device-dev/subsystems/subsys-dfx-hilog-lite.md
浏览文件 @
12e40076
...
...
@@ -78,7 +78,7 @@ The following provides an example of how the Samgr\_Lite module uses the HiLog\_
HiLogRegisterModule(HILOG_MODULE_SAMGR, "SAMGR");
```
3.
Add the header file dependencies to the
**foundation/
distributedschedule
/samgr\_lite/samgr/BUILD.gn**
file.
3.
Add the header file dependencies to the
**foundation/
systemabilitymgr
/samgr\_lite/samgr/BUILD.gn**
file.
```
include_dirs = [
...
...
@@ -86,7 +86,7 @@ The following provides an example of how the Samgr\_Lite module uses the HiLog\_
]
```
4.
Reference the header file in the
**foundation/
distributedschedule
/samgr\_lite/samgr/source/message.c**
file and call the related APIs.
4.
Reference the header file in the
**foundation/
systemabilitymgr
/samgr\_lite/samgr/source/message.c**
file and call the related APIs.
```
#include <log.h>
...
...
en/device-dev/subsystems/subsys-dfx-hisysevent-logging-config.md
浏览文件 @
12e40076
...
...
@@ -120,7 +120,7 @@ In the **bundle.js** file, use the ```hisysevent_config``` attribute to specify
"hitrace_native",
"ipc",
"safwk",
"samgr
_standard
",
"samgr",
"utils_base"
],
"third_party": []
...
...
en/readme/SAMGR.md
浏览文件 @
12e40076
...
...
@@ -15,7 +15,7 @@ The System Ability Manager (SAMGR) subsystem implements the system service frame
## Directory Structure<a name="section161941989596"></a>
```
/foundation/
distributedschedule
/foundation/
systemabilitymgr
├── safwk # System ability framework
├── samgr # System ability manager
├── safwk_lite # Lightweight foundation process
...
...
@@ -26,10 +26,10 @@ The System Ability Manager (SAMGR) subsystem implements the system service frame
**SAMGR**
[
distributedschedule\_safwk
](
https://gitee.com/openharmony/distributedschedule
_safwk
)
[
systemabilitymgr\_safwk
](
https://gitee.com/openharmony/systemabilitymgr
_safwk
)
[
distributedschedule\_samgr
](
https://gitee.com/openharmony/distributedschedule
_samgr
)
[
systemabilitymgr\_samgr
](
https://gitee.com/openharmony/systemabilitymgr
_samgr
)
[
distributedschedule\_safwk\_lite
](
https://gitee.com/openharmony/distributedschedule
_safwk_lite
)
[
systemabilitymgr\_safwk\_lite
](
https://gitee.com/openharmony/systemabilitymgr
_safwk_lite
)
[
distributedschedule\_samgr\_lite
](
https://gitee.com/openharmony/distributedschedule
_samgr_lite
)
[
systemabilitymgr\_samgr\_lite
](
https://gitee.com/openharmony/systemabilitymgr
_samgr_lite
)
en/readme/ai.md
浏览文件 @
12e40076
...
...
@@ -416,7 +416,7 @@ Dependency repositories:
[
build\_lite
](
https://gitee.com/openharmony/build_lite/blob/master/README.md
)
[
distributedschedule\_samgr\_lite
](
https://gitee.com/openharmony/distributedschedule
_samgr_lite/blob/master/README.md
)
[
systemabilitymgr\_samgr\_lite
](
https://gitee.com/openharmony/systemabilitymgr
_samgr_lite/blob/master/README.md
)
[
startup\_init\_lite
](
https://gitee.com/openharmony/startup_init_lite/blob/master/README.md
)
...
...
zh-cn/device-dev/porting/porting-bes2600w-on-minisystem-display-demo.md
浏览文件 @
12e40076
...
...
@@ -1172,12 +1172,12 @@ HiviewRegisterHilogProc(HilogProc_Impl);
```
{
"subsystem": "
distributedschedule
",
"subsystem": "
systemabilitymgr
",
"components": [
{
"component": "samgr_lite",
"features": [
"config_ohos_
distributedschedule
_samgr_lite_shared_task_size = 4096"
"config_ohos_
systemabilitymgr
_samgr_lite_shared_task_size = 4096"
]
}
]
...
...
zh-cn/device-dev/porting/porting-chip-board-component.md
浏览文件 @
12e40076
...
...
@@ -16,7 +16,7 @@
> 本组件在板级系统移植中必须要使用,否则其他服务组件无法运行。
**SAMGR使用说明,请参考:[SAMGR 使用指导](https://gitee.com/openharmony/
distributedschedule
_samgr_lite/blob/master/README_zh.md)**
**SAMGR使用说明,请参考:[SAMGR 使用指导](https://gitee.com/openharmony/
systemabilitymgr
_samgr_lite/blob/master/README_zh.md)**
## DFX
...
...
zh-cn/device-dev/porting/porting-stm32f407-on-minisystem-eth.md
浏览文件 @
12e40076
...
...
@@ -1081,13 +1081,13 @@ bool HilogProc_Impl(const HiLogContent *hilogContent, uint32_t len)
HiviewRegisterHilogProc(HilogProc_Impl);
```
###
分布式调度
子系统适配
###
系统服务管理
子系统适配
进行
分布式调度
子系统适配需要添加
`samgr_lite`
部件,直接在
`config.json`
配置即可。
进行
系统服务管理
子系统适配需要添加
`samgr_lite`
部件,直接在
`config.json`
配置即可。
```
{
"subsystem": "
distributedschedule
",
"subsystem": "
systemabilitymgr
",
"components": [
{
"component": "samgr_lite",
...
...
@@ -1097,10 +1097,10 @@ HiviewRegisterHilogProc(HilogProc_Impl);
}
```
在轻量系统中,
`samgr_lite`
配置的共享任务栈大小默认为
`2048`
。在适配时可以在features中,通过
`config_ohos_
distributedschedule
_samgr_lite_shared_task_size`
重新设置共享任务栈大小。
在轻量系统中,
`samgr_lite`
配置的共享任务栈大小默认为
`2048`
。在适配时可以在features中,通过
`config_ohos_
systemabilitymgr
_samgr_lite_shared_task_size`
重新设置共享任务栈大小。
```
"config_ohos_
distributedschedule
_samgr_lite_shared_task_size = 4096"
"config_ohos_
systemabilitymgr
_samgr_lite_shared_task_size = 4096"
```
### 安全子系统适配
...
...
zh-cn/device-dev/porting/porting-w800-combo-demo.md
浏览文件 @
12e40076
...
...
@@ -636,7 +636,7 @@ HDF驱动框架提供了一套应用访问硬件的统一接口,可以简化
```
{
"subsystem": "
distributedschedule
",
"subsystem": "
systemabilitymgr
",
"components": [
{
"component": "samgr_lite"
...
...
zh-cn/device-dev/subsystems/subsys-boot-init-service.md
浏览文件 @
12e40076
...
...
@@ -55,7 +55,7 @@
```
-
SA进程按需启动
具体参考 **[samgr组件(说明3)](https://gitee.com/openharmony/
distributedschedule
_samgr/blob/master/README_zh.md)**。
具体参考 **[samgr组件(说明3)](https://gitee.com/openharmony/
systemabilitymgr
_samgr/blob/master/README_zh.md)**。
- socket进程按需启动
1. init进程在pre-fork阶段为socket类进程创建好socket,init进程中监听创建好的socket上的读写事件。
...
...
zh-cn/device-dev/subsystems/subsys-dfx-hilog-lite.md
浏览文件 @
12e40076
...
...
@@ -46,7 +46,7 @@ HILOG_INFO/HILOG_WARN/HILOG_ERROR/HILOG_FATAL
HiLogRegisterModule(HILOG_MODULE_SAMGR, "SAMGR");
```
3.
在GN文件中添加头文件依赖,文件路径为:“foundation/
distributedschedule
/samgr_lite/samgr/BUILD.gn“
3.
在GN文件中添加头文件依赖,文件路径为:“foundation/
systemabilitymgr
/samgr_lite/samgr/BUILD.gn“
```
include_dirs = [
...
...
@@ -54,7 +54,7 @@ HILOG_INFO/HILOG_WARN/HILOG_ERROR/HILOG_FATAL
]
```
4.
源文件“foundation/
distributedschedule
/samgr_lite/samgr/source/message.c“中引用头文件并调用接口。
4.
源文件“foundation/
systemabilitymgr
/samgr_lite/samgr/source/message.c“中引用头文件并调用接口。
```
#include <log.h>
...
...
zh-cn/device-dev/subsystems/subsys-dfx-hisysevent-logging-config.md
浏览文件 @
12e40076
...
...
@@ -133,7 +133,7 @@
"hitrace_native",
"ipc",
"safwk",
"samgr
_standard
",
"samgr",
"utils_base"
],
"third_party": []
...
...
zh-cn/readme/AI业务子系统.md
浏览文件 @
12e40076
...
...
@@ -424,7 +424,7 @@ AI业务子系统是OpenHarmony提供原生的分布式AI能力的子系统。
[
build\_lite
](
https://gitee.com/openharmony/build_lite/blob/master/README_zh.md
)
[
distributedschedule\_samgr\_lite
](
https://gitee.com/openharmony/distributedschedule
_samgr_lite/blob/master/README_zh.md
)
[
systemabilitymgr\_samgr\_lite
](
https://gitee.com/openharmony/systemabilitymgr
_samgr_lite/blob/master/README_zh.md
)
[
startup\_init\_lite
](
https://gitee.com/openharmony/startup_init_lite/blob/master/README_zh.md
)
...
...
zh-cn/readme/系统服务管理子系统.md
浏览文件 @
12e40076
...
...
@@ -21,7 +21,7 @@
## 目录<a name="section161941989596"></a>
```
/foundation/
distributedschedule
/foundation/
systemabilitymgr
├── safwk # 系统服务框架模块
├── samgr # 系统服务管理模块
├── safwk_lite # 轻量foundation进程
...
...
@@ -32,10 +32,10 @@
**系统服务管理子系统**
[
distributedschedule\_safwk
](
https://gitee.com/openharmony/distributedschedule
_safwk
)
[
systemabilitymgr\_safwk
](
https://gitee.com/openharmony/systemabilitymgr
_safwk
)
[
distributedschedule\_samgr
](
https://gitee.com/openharmony/distributedschedule
_samgr
)
[
systemabilitymgr\_samgr
](
https://gitee.com/openharmony/systemabilitymgr
_samgr
)
[
distributedschedule\_safwk\_lite
](
https://gitee.com/openharmony/distributedschedule
_safwk_lite
)
[
systemabilitymgr\_safwk\_lite
](
https://gitee.com/openharmony/systemabilitymgr
_safwk_lite
)
[
distributedschedule\_samgr\_lite
](
https://gitee.com/openharmony/distributedschedule
_samgr_lite
)
[
systemabilitymgr\_samgr\_lite
](
https://gitee.com/openharmony/systemabilitymgr
_samgr_lite
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录