Rename microkernel struct field 'Group' to 'group'.

Rename field 'Group' of the struct:
- 'k_proc' in the file include/microkernel/base_api.h

Change-Id: I0d83ec7e82c67a7c2c37df8bb0a5d83b2109a8ed
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-08-24 10:23:37 -05:00 committed by Anas Nashif
commit 36d55187f2
3 changed files with 7 additions and 7 deletions

View file

@ -89,8 +89,8 @@ void _StartTaskArch(
* then the task only needs to be placed in the SSE_GROUP group. * then the task only needs to be placed in the SSE_GROUP group.
*/ */
*pOpt |= (X->Group & SSE_GROUP) ? USE_SSE *pOpt |= (X->group & SSE_GROUP) ? USE_SSE
: (X->Group & FPU_GROUP) ? USE_FP : 0; : (X->group & FPU_GROUP) ? USE_FP : 0;
} }
#endif /* CONFIG_MICROKERNEL */ #endif /* CONFIG_MICROKERNEL */

View file

@ -111,7 +111,7 @@ struct k_task {
kpriority_t priority; kpriority_t priority;
ktask_t id; ktask_t id;
uint32_t state; uint32_t state;
uint32_t Group; uint32_t group;
void (*fstart)(void); void (*fstart)(void);
char *workspace; char *workspace;
int worksize; int worksize;

View file

@ -397,7 +397,7 @@ void _k_task_group_op(struct k_args *A)
#endif #endif
for (X = _k_task_list_start; X < _k_task_list_end; X++) { for (X = _k_task_list_start; X < _k_task_list_end; X++) {
if (X->Group & grp) { if (X->group & grp) {
switch (opt) { switch (opt) {
case TASK_GROUP_START: case TASK_GROUP_START:
start_task(X, X->fstart); start_task(X, X->fstart);
@ -451,7 +451,7 @@ void _task_group_ioctl(ktask_group_t group, /* task group */
kpriority_t task_group_mask_get(void) kpriority_t task_group_mask_get(void)
{ {
return _k_current_task->Group; return _k_current_task->group;
} }
/** /**
@ -463,7 +463,7 @@ kpriority_t task_group_mask_get(void)
void task_group_join(uint32_t groups) void task_group_join(uint32_t groups)
{ {
_k_current_task->Group |= groups; _k_current_task->group |= groups;
} }
/** /**
@ -475,7 +475,7 @@ void task_group_join(uint32_t groups)
void task_group_leave(uint32_t groups) void task_group_leave(uint32_t groups)
{ {
_k_current_task->Group &= ~groups; _k_current_task->group &= ~groups;
} }
/** /**