Rename microkernel struct field 'ContSnd' to 'continuation_send'.
Rename field 'ContSnd' of the struct: - 'moved_req_args_setup' in the file kernel/microkernel/include/micro_private_types.h Change-Id: I2476ad8641819431d13d99f1f55cb80efefa064d Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
parent
97eed65926
commit
f6b10449c9
4 changed files with 9 additions and 9 deletions
|
@ -256,7 +256,7 @@ struct _e1arg {
|
|||
};
|
||||
|
||||
struct moved_req_args_setup {
|
||||
struct k_args *ContSnd;
|
||||
struct k_args *continuation_send;
|
||||
struct k_args *ContRcv;
|
||||
ksem_t Sema;
|
||||
uint32_t dummy;
|
||||
|
|
|
@ -162,7 +162,7 @@ static bool prepare_transfer(struct k_args *move,
|
|||
move->args.MovedReq.Action =
|
||||
(MovedAction)(MVDACT_SNDACK | MVDACT_RCVACK);
|
||||
move->args.MovedReq.iTotalSize = writer->args.m1.mess.size;
|
||||
move->args.MovedReq.Extra.Setup.ContSnd = NULL;
|
||||
move->args.MovedReq.Extra.Setup.continuation_send = NULL;
|
||||
move->args.MovedReq.Extra.Setup.ContRcv = NULL;
|
||||
|
||||
/* reader: */
|
||||
|
@ -196,7 +196,7 @@ static bool prepare_transfer(struct k_args *move,
|
|||
writer->args.m1.mess.tx_data;
|
||||
}
|
||||
/* chain the writer */
|
||||
move->args.MovedReq.Extra.Setup.ContSnd = writer;
|
||||
move->args.MovedReq.Extra.Setup.continuation_send = writer;
|
||||
|
||||
return all_data_present;
|
||||
} else {
|
||||
|
@ -763,7 +763,7 @@ void _k_mbox_receive_data(struct k_args *Starter)
|
|||
|
||||
MoveD->args.MovedReq.iTotalSize = CopyStarter->args.m1.mess.size;
|
||||
|
||||
Writer = MoveD->args.MovedReq.Extra.Setup.ContSnd;
|
||||
Writer = MoveD->args.MovedReq.Extra.Setup.continuation_send;
|
||||
if (Writer != NULL) {
|
||||
if (ISASYNCMSG(&(Writer->args.m1.mess))) {
|
||||
CopyStarter->args.m1.mess.tx_block =
|
||||
|
@ -840,7 +840,7 @@ int _task_mbox_data_block_get(struct k_msg *message,
|
|||
* SEND_ACK is processed, change its [pool_id] to -1.
|
||||
*/
|
||||
|
||||
Writer = MoveD->args.MovedReq.Extra.Setup.ContSnd;
|
||||
Writer = MoveD->args.MovedReq.Extra.Setup.continuation_send;
|
||||
__ASSERT_NO_MSG(NULL != Writer);
|
||||
__ASSERT_NO_MSG(NULL == Writer->next);
|
||||
|
||||
|
@ -913,7 +913,7 @@ void _k_mbox_send_data(struct k_args *Starter)
|
|||
CopyStarter->Time.rcode = RC_OK;
|
||||
CopyStarter->Comm = _K_SVC_MBOX_SEND_ACK;
|
||||
|
||||
MoveD->args.MovedReq.Extra.Setup.ContSnd = CopyStarter;
|
||||
MoveD->args.MovedReq.Extra.Setup.continuation_send = CopyStarter;
|
||||
CopyStarter->next = NULL;
|
||||
MoveD->args.MovedReq.source = CopyStarter->args.m1.mess.rx_data;
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ static void mvdreq_copy(struct moved_req *ReqArgs)
|
|||
OCTET_TO_SIZEOFUNIT(ReqArgs->iTotalSize));
|
||||
|
||||
if (ReqArgs->Action & MVDACT_SNDACK)
|
||||
mvdreq_docont(ReqArgs->Extra.Setup.ContSnd);
|
||||
mvdreq_docont(ReqArgs->Extra.Setup.continuation_send);
|
||||
if (ReqArgs->Action & MVDACT_RCVACK)
|
||||
mvdreq_docont(ReqArgs->Extra.Setup.ContRcv);
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ void _k_movedata_request(struct k_args *Req)
|
|||
if (0 == ReqArgs->iTotalSize) {
|
||||
if (ReqArgs->Action & MVDACT_SNDACK)
|
||||
mvdreq_docont(
|
||||
ReqArgs->Extra.Setup.ContSnd); /* Send ack
|
||||
ReqArgs->Extra.Setup.continuation_send); /* Send ack
|
||||
continuation
|
||||
*/
|
||||
if (ReqArgs->Action & MVDACT_RCVACK)
|
||||
|
|
|
@ -309,7 +309,7 @@ static void setup_movedata(struct k_args *A,
|
|||
__ASSERT_NO_MSG(1 == 0); /* we should not come here */
|
||||
}
|
||||
|
||||
A->args.MovedReq.Extra.Setup.ContSnd = pContSend;
|
||||
A->args.MovedReq.Extra.Setup.continuation_send = pContSend;
|
||||
A->args.MovedReq.Extra.Setup.ContRcv = pContRecv;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue