Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Tonvia
Docs
提交
a223ae7f
D
Docs
项目概览
Tonvia
/
Docs
与 Fork 源项目一致
Fork自
OpenHarmony / Docs
通知
1
Star
0
Fork
0
代码
文件
提交
分支
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
a223ae7f
编写于
7月 21, 2022
作者:
O
openharmony_ci
提交者:
Gitee
7月 21, 2022
浏览文件
操作
浏览文件
下载
差异文件
!6992 修正单词拼写错误--涉及翻译
Merge pull request !6992 from Austin/master
上级
e5baf008
1592a2be
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
17 addition
and
17 deletion
+17
-17
zh-cn/device-dev/kernel/kernel-mini-basic-ipc-queue.md
zh-cn/device-dev/kernel/kernel-mini-basic-ipc-queue.md
+1
-1
zh-cn/device-dev/kernel/kernel-small-basic-trans-user-signal.md
...device-dev/kernel/kernel-small-basic-trans-user-signal.md
+1
-1
zh-cn/device-dev/kernel/kernel-small-bundles-system.md
zh-cn/device-dev/kernel/kernel-small-bundles-system.md
+4
-4
zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-sem.md
zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-sem.md
+3
-3
zh-cn/device-dev/kernel/kernel-small-memory-lms.md
zh-cn/device-dev/kernel/kernel-small-memory-lms.md
+2
-2
zh-cn/device-dev/porting/porting-chip-board-bundle.md
zh-cn/device-dev/porting/porting-chip-board-bundle.md
+1
-1
zh-cn/device-dev/porting/porting-chip-prepare-process.md
zh-cn/device-dev/porting/porting-chip-prepare-process.md
+1
-1
zh-cn/device-dev/porting/porting-smallchip-prepare-building.md
.../device-dev/porting/porting-smallchip-prepare-building.md
+1
-1
zh-cn/device-dev/subsystems/subsys-build-mini-lite.md
zh-cn/device-dev/subsystems/subsys-build-mini-lite.md
+1
-1
zh-cn/device-dev/subsystems/subsys-testguide-test.md
zh-cn/device-dev/subsystems/subsys-testguide-test.md
+2
-2
未找到文件。
zh-cn/device-dev/kernel/kernel-mini-basic-ipc-queue.md
浏览文件 @
a223ae7f
...
...
@@ -215,7 +215,7 @@ UINT32 ExampleQueue(VOID)
printf("create queue failure, error: %x\n", ret);
}
printf("create the queue succes.\n");
printf("create the queue succes
s
.\n");
LOS_TaskUnlock();
return ret;
}
...
...
zh-cn/device-dev/kernel/kernel-small-basic-trans-user-signal.md
浏览文件 @
a223ae7f
...
...
@@ -44,7 +44,7 @@
>
> 发送信号:
>
> a. 进程接收信号存在默认行为,单不支持POSIX标准所给出的STOP及COTINUE、COREDUMP功能。
> a. 进程接收信号存在默认行为,单不支持POSIX标准所给出的STOP及CO
N
TINUE、COREDUMP功能。
>
> b. 进程无法屏蔽SIGSTOP、SIGKILL、SIGCONT信号。
>
...
...
zh-cn/device-dev/kernel/kernel-small-bundles-system.md
浏览文件 @
a223ae7f
...
...
@@ -52,8 +52,8 @@ Syscall Handler的具体实现在kernel/liteos_a/syscall/los_syscall.c中OsArmA3
#define __NR_pthread_set_detach (__NR_OHOS_BEGIN + 0)
#define __NR_pthread_join (__NR_OHOS_BEGIN + 1)
#define __NR_pthread_deatch (__NR_OHOS_BEGIN + 2)
#define __NR_creat_user_thread (__NR_OHOS_BEGIN + 3)
#define __NR_processcreat (__NR_OHOS_BEGIN + 4)
#define __NR_creat
e
_user_thread (__NR_OHOS_BEGIN + 3)
#define __NR_processcreat
e
(__NR_OHOS_BEGIN + 4)
#define __NR_processtart (__NR_OHOS_BEGIN + 5)
#define __NR_printf (__NR_OHOS_BEGIN + 6)
#define __NR_dumpmemory (__NR_OHOS_BEGIN + 13)
...
...
@@ -98,8 +98,8 @@ Syscall Handler的具体实现在kernel/liteos_a/syscall/los_syscall.c中OsArmA3
#define __NR_pthread_set_detach (__NR_OHOS_BEGIN + 0)
#define __NR_pthread_join (__NR_OHOS_BEGIN + 1)
#define __NR_pthread_deatch (__NR_OHOS_BEGIN + 2)
#define __NR_creat_user_thread (__NR_OHOS_BEGIN + 3)
#define __NR_processcreat (__NR_OHOS_BEGIN + 4)
#define __NR_creat
e
_user_thread (__NR_OHOS_BEGIN + 3)
#define __NR_processcreat
e
(__NR_OHOS_BEGIN + 4)
#define __NR_processtart (__NR_OHOS_BEGIN + 5)
#define __NR_printf (__NR_OHOS_BEGIN + 6)
#define __NR_dumpmemory (__NR_OHOS_BEGIN + 13)
...
...
zh-cn/device-dev/kernel/kernel-small-debug-shell-cmd-sem.md
浏览文件 @
a223ae7f
...
...
@@ -18,7 +18,7 @@ sem [_ID__ / fulldata_]
| 参数 | 参数说明 | 取值范围 |
| -------- | -------- | -------- |
| ID | 信号量ID。 | [0,
1023]或[0x0,
0x3FF] |
| fulldata | 查询所有在用的信号量信息,打印信息包括如下:SemID,
Count,
Original
Count,
Creat
e
r
TaskEntry,
Last
Access
Time。 | N/A |
| fulldata | 查询所有在用的信号量信息,打印信息包括如下:SemID,
Count,
Original
Count,
Creat
o
r
TaskEntry,
Last
Access
Time。 | N/A |
## 使用指南
...
...
@@ -84,7 +84,7 @@ OHOS # sem
```
OHOS # sem fulldata
Used Semaphore List:
SemID Count OriginalCount Creat
e
r(TaskEntry) LastAccessTime
SemID Count OriginalCount Creat
o
r(TaskEntry) LastAccessTime
------ ------ ------------- ------------------ --------------
0xb 0x0 0x0 0x404978fc 0xa1
0xc 0x0 0x0 0x404978fc 0xa1
...
...
@@ -120,5 +120,5 @@ Used Semaphore List:
| SemID | 信号量ID。 |
| Count | 信号量使用数。 |
| OriginalCount | 信号量原始计数。 |
| Creat
e
r | 信号量的创建线程的入口函数地址。 |
| Creat
o
r | 信号量的创建线程的入口函数地址。 |
| LastAccessTime | 上次访问时间。 |
zh-cn/device-dev/kernel/kernel-small-memory-lms.md
浏览文件 @
a223ae7f
...
...
@@ -366,7 +366,7 @@ int main(int argc, char * const * argv)
Heap buffer overflow error detected!
Illegal READ address at: [0x1f8b3edf]
Shadow memory address: [0x3d34d3ed : 6] Shadow memory value: [2]
Access
a
ble heap addr 0
Access
i
ble heap addr 0
Heap red zone 2
Heap freed buffer 3
Dump info around address [0x1f8b3edf]:
...
...
@@ -391,7 +391,7 @@ Backtrace() returned 5 addresses
Use after free error detected!
Illegal Double free address at: [0x1f8b3ee0]
Shadow memory address: [0x3d34d3ee : 0] Shadow memory value: [3]
Access
a
ble heap addr 0
Access
i
ble heap addr 0
Heap red zone 2
Heap freed buffer 3
Dump info around address [0x1f8b3ee0]:
...
...
zh-cn/device-dev/porting/porting-chip-board-bundle.md
浏览文件 @
a223ae7f
...
...
@@ -10,7 +10,7 @@
1.
拷贝include/mbedtls/config.h到ports目录下,并修改打开MBEDTLS_ENTROPY_HARDWARE_ALT开关。
2.
在ports目录下创建entropy_poll_alt.c文件include并实现entropy_poll.h中的硬件随机数接口
3.
在BUILD.gn中的mbedtls_sources中增加刚才适配的entropy_poll_alt.c的路径
4.
在B
IU
LD.gn中的lite_library("mbedtls_static")中增加一行MBEDTLS_CONFIG_FILE指定新配置文件的位置
4.
在B
UI
LD.gn中的lite_library("mbedtls_static")中增加一行MBEDTLS_CONFIG_FILE指定新配置文件的位置
```
lite_library("mbedtks_static") {
...
...
zh-cn/device-dev/porting/porting-chip-prepare-process.md
浏览文件 @
a223ae7f
...
...
@@ -44,7 +44,7 @@
# Note: The default toolchain is "ohos-clang". It's not mandatory if you use the default toochain.
board_toolchain = "gcc-arm-none-eabi"
# The toolchain path insta
tlled, it's not mandatory if you have added toolchia
n path to your ~/.bashrc.
# The toolchain path insta
lled, it's not mandatory if you have added toolchai
n path to your ~/.bashrc.
board_toolchain_path =
rebase_path("//prebuilts/gcc/linux-x86/arm/gcc-arm-none-eabi/bin",
root_build_dir)
...
...
zh-cn/device-dev/porting/porting-smallchip-prepare-building.md
浏览文件 @
a223ae7f
...
...
@@ -86,7 +86,7 @@ sudo apt-get install gcc-arm-linux-gnueabi
# Note: The default toolchain is "ohos-clang". It's not mandatory if you use the default toochain.
board_toolchain = "mips-linux-gnu-gcc"
# The toolchain path insta
tlled, it's not mandatory if you have added toolchia
n path to your ~/.bashrc.
# The toolchain path insta
lled, it's not mandatory if you have added toolchai
n path to your ~/.bashrc.
board_toolchain_path =
rebase_path("//prebuilts/gcc/linux-x86/arm/arm-linux-ohoseabi-gcc/bin",
root_build_dir)
...
...
zh-cn/device-dev/subsystems/subsys-build-mini-lite.md
浏览文件 @
a223ae7f
...
...
@@ -629,7 +629,7 @@ optional arguments:
# Note: The default toolchain is "ohos-clang". It's not mandatory if you use the default toochain.
board_toolchain = "gcc-arm-none-eabi"
# The toolchain path insta
tlled, it's not mandatory if you have added toolchia
n path to your ~/.bashrc.
# The toolchain path insta
lled, it's not mandatory if you have added toolchai
n path to your ~/.bashrc.
board_toolchain_path =
rebase_path("//prebuilts/gcc/linux-x86/arm/gcc-arm-none-eabi/bin",
root_build_dir)
...
...
zh-cn/device-dev/subsystems/subsys-testguide-test.md
浏览文件 @
a223ae7f
...
...
@@ -758,7 +758,7 @@ subsystem # 子系统
当选择完产品形态,可参考如下指令执行测试用例。
```
run -t UT -ts CalculatorSubTest -tc inte
r
ger_sub_00l
run -t UT -ts CalculatorSubTest -tc integer_sub_00l
```
执行命令参数说明:
```
...
...
@@ -798,7 +798,7 @@ subsystem # 子系统
测试框架在执行用例时会根据指令找到所需用例,自动实现用例编译,执行过程,完成自动化测试。
```
run -t UT -ts CalculatorSubTest -tc inte
r
ger_sub_00l
run -t UT -ts CalculatorSubTest -tc integer_sub_00l
```
执行命令参数说明:
```
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录