Rename k_args 'Srce' field to 'alloc'

Since multi-node systems are not supported, the 'Srce' field now only serves
one purpose--to indicate whether the packet was allocated from the command
packet pool.  As such, a better name (and type) for it is 'alloc' (of type
'bool') since 'Srce' (of type 'knode_t') suggest multi-node support.

Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
Change-Id: I47a935af13fd55dbca23c879841d68caf895eae4
This commit is contained in:
Peter Mitsis 2015-04-20 23:20:10 -04:00 committed by Anas Nashif
commit 101d486834
8 changed files with 11 additions and 10 deletions

View file

@ -77,7 +77,7 @@ void _TaskAbort(void)
cmdpacket.Comm = TSKOP;
cmdpacket.Args.g1.task = K_Task->Ident;
cmdpacket.Args.g1.opt = taskAbortCode;
cmdpacket.Srce = 0;
cmdpacket.alloc = false;
K_Task->Args = &cmdpacket;
nano_isr_stack_push(&K_Args, (uint32_t) &cmdpacket);
_ScbPendsvSet();