修改PCB中错误的注释,并统一注释格式
This commit is contained in:
parent
e6dae81670
commit
12b81567df
|
@ -78,22 +78,22 @@ typedef struct {
|
||||||
|
|
||||||
typedef struct ProcessCB {
|
typedef struct ProcessCB {
|
||||||
CHAR processName[OS_PCB_NAME_LEN]; /**< Process name */
|
CHAR processName[OS_PCB_NAME_LEN]; /**< Process name */
|
||||||
UINT32 processID; /**< process ID = leader thread ID */
|
UINT32 processID; /**< Process ID */
|
||||||
UINT16 processStatus; /**< [15:4] process Status; [3:0] The number of threads currently
|
UINT16 processStatus; /**< [15:4] Process Status; [3:0] The number of threads currently
|
||||||
running in the process */
|
running in the process */
|
||||||
UINT16 priority; /**< process priority */
|
UINT16 priority; /**< Process priority */
|
||||||
UINT16 policy; /**< process policy */
|
UINT16 policy; /**< Process policy */
|
||||||
UINT16 timeSlice; /**< Remaining time slice */
|
UINT16 timeSlice; /**< Remaining time slice */
|
||||||
UINT16 consoleID; /**< The console id of task belongs */
|
UINT16 consoleID; /**< The console id of task belongs */
|
||||||
UINT16 processMode; /**< Kernel Mode:0; User Mode:1; */
|
UINT16 processMode; /**< Kernel Mode:0; User Mode:1; */
|
||||||
UINT32 parentProcessID; /**< Parent process ID */
|
UINT32 parentProcessID; /**< Parent process ID */
|
||||||
UINT32 exitCode; /**< process exit status */
|
UINT32 exitCode; /**< Process exit status */
|
||||||
LOS_DL_LIST pendList; /**< Block list to which the process belongs */
|
LOS_DL_LIST pendList; /**< Block list to which the process belongs */
|
||||||
LOS_DL_LIST childrenList; /**< my children process list */
|
LOS_DL_LIST childrenList; /**< Children process list */
|
||||||
LOS_DL_LIST exitChildList; /**< my exit children process list */
|
LOS_DL_LIST exitChildList; /**< Exit children process list */
|
||||||
LOS_DL_LIST siblingList; /**< linkage in my parent's children list */
|
LOS_DL_LIST siblingList; /**< Linkage in parent's children list */
|
||||||
ProcessGroup *group; /**< Process group to which a process belongs */
|
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 threadGroupID; /**< Which thread group , is the main thread ID of the process */
|
||||||
UINT32 threadScheduleMap; /**< The scheduling bitmap table for the thread group of the
|
UINT32 threadScheduleMap; /**< The scheduling bitmap table for the thread group of the
|
||||||
process */
|
process */
|
||||||
|
@ -106,16 +106,16 @@ typedef struct ProcessCB {
|
||||||
#if (LOSCFG_KERNEL_SMP == YES)
|
#if (LOSCFG_KERNEL_SMP == YES)
|
||||||
UINT32 timerCpu; /**< CPU core number of this task is delayed or pended */
|
UINT32 timerCpu; /**< CPU core number of this task is delayed or pended */
|
||||||
#endif
|
#endif
|
||||||
UINTPTR sigHandler; /**< signal handler */
|
UINTPTR sigHandler; /**< Signal handler */
|
||||||
sigset_t sigShare; /**< signal share bit */
|
sigset_t sigShare; /**< Signal share bit */
|
||||||
#if (LOSCFG_KERNEL_LITEIPC == YES)
|
#if (LOSCFG_KERNEL_LITEIPC == YES)
|
||||||
ProcIpcInfo ipcInfo; /**< memory pool for lite ipc */
|
ProcIpcInfo ipcInfo; /**< Memory pool for lite ipc */
|
||||||
#endif
|
#endif
|
||||||
LosVmSpace *vmSpace; /**< VMM space for processes */
|
LosVmSpace *vmSpace; /**< VMM space for processes */
|
||||||
#ifdef LOSCFG_FS_VFS
|
#ifdef LOSCFG_FS_VFS
|
||||||
struct files_struct *files; /**< Files held by the process */
|
struct files_struct *files; /**< Files held by the process */
|
||||||
#endif
|
#endif
|
||||||
timer_t timerID; /**< iTimer */
|
timer_t timerID; /**< ITimer */
|
||||||
|
|
||||||
#ifdef LOSCFG_SECURITY_CAPABILITY
|
#ifdef LOSCFG_SECURITY_CAPABILITY
|
||||||
User *user;
|
User *user;
|
||||||
|
|
Loading…
Reference in New Issue