Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Kernel Liteos A
提交
12b81567
K
Kernel Liteos A
项目概览
OpenHarmony
/
Kernel Liteos A
大约 1 年 前同步成功
通知
452
Star
414
Fork
55
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel Liteos A
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
12b81567
编写于
9月 28, 2020
作者:
星e雨
提交者:
Gitee
9月 28, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改PCB中错误的注释,并统一注释格式
上级
e6dae816
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
14 addition
and
14 deletion
+14
-14
kernel/base/include/los_process_pri.h
kernel/base/include/los_process_pri.h
+14
-14
未找到文件。
kernel/base/include/los_process_pri.h
浏览文件 @
12b81567
...
...
@@ -78,22 +78,22 @@ typedef struct {
typedef
struct
ProcessCB
{
CHAR
processName
[
OS_PCB_NAME_LEN
];
/**< Process name */
UINT32
processID
;
/**<
process ID = leader thread
ID */
UINT16
processStatus
;
/**< [15:4]
p
rocess Status; [3:0] The number of threads currently
UINT32
processID
;
/**<
Process
ID */
UINT16
processStatus
;
/**< [15:4]
P
rocess Status; [3:0] The number of threads currently
running in the process */
UINT16
priority
;
/**<
p
rocess priority */
UINT16
policy
;
/**<
p
rocess policy */
UINT16
priority
;
/**<
P
rocess priority */
UINT16
policy
;
/**<
P
rocess policy */
UINT16
timeSlice
;
/**< Remaining time slice */
UINT16
consoleID
;
/**< The console id of task belongs */
UINT16
processMode
;
/**< Kernel Mode:0; User Mode:1; */
UINT32
parentProcessID
;
/**< Parent process ID */
UINT32
exitCode
;
/**<
p
rocess exit status */
UINT32
exitCode
;
/**<
P
rocess exit status */
LOS_DL_LIST
pendList
;
/**< Block list to which the process belongs */
LOS_DL_LIST
childrenList
;
/**<
my c
hildren process list */
LOS_DL_LIST
exitChildList
;
/**<
my e
xit children process list */
LOS_DL_LIST
siblingList
;
/**<
linkage in my
parent's children list */
LOS_DL_LIST
childrenList
;
/**<
C
hildren process list */
LOS_DL_LIST
exitChildList
;
/**<
E
xit children process list */
LOS_DL_LIST
siblingList
;
/**<
Linkage in
parent's children list */
ProcessGroup
*
group
;
/**< Process group to which a process belongs */
LOS_DL_LIST
subordinateGroupList
;
/**<
linkage in my
group list */
LOS_DL_LIST
subordinateGroupList
;
/**<
Linkage in
group list */
UINT32
threadGroupID
;
/**< Which thread group , is the main thread ID of the process */
UINT32
threadScheduleMap
;
/**< The scheduling bitmap table for the thread group of the
process */
...
...
@@ -106,16 +106,16 @@ typedef struct ProcessCB {
#if (LOSCFG_KERNEL_SMP == YES)
UINT32
timerCpu
;
/**< CPU core number of this task is delayed or pended */
#endif
UINTPTR
sigHandler
;
/**<
s
ignal handler */
sigset_t
sigShare
;
/**<
s
ignal share bit */
UINTPTR
sigHandler
;
/**<
S
ignal handler */
sigset_t
sigShare
;
/**<
S
ignal share bit */
#if (LOSCFG_KERNEL_LITEIPC == YES)
ProcIpcInfo
ipcInfo
;
/**<
m
emory pool for lite ipc */
ProcIpcInfo
ipcInfo
;
/**<
M
emory pool for lite ipc */
#endif
LosVmSpace
*
vmSpace
;
/**< VMM space for processes */
LosVmSpace
*
vmSpace
;
/**< VMM space for processes */
#ifdef LOSCFG_FS_VFS
struct
files_struct
*
files
;
/**< Files held by the process */
#endif
timer_t
timerID
;
/**<
i
Timer */
timer_t
timerID
;
/**<
I
Timer */
#ifdef LOSCFG_SECURITY_CAPABILITY
User
*
user
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录