Renesas REJ10J1822-0101 Computer Hardware User Manual


 
Section 11 Samples
Rev. 1.01 Mar. 17, 2008 Page 116 of 128
REJ10J1822-0101
UINT32 __ulInputParamCount = 0UL;
IOVEC __input[1];
int ret;
__info.ulMarshallingType = 0UL;
__info.ulServerID = RPCSVR_ID_SMPL;
__info.ulServerVersion = RPCSVR_VERS_SMPL;
__info.ulServerProcedureID = RPC_SMPL_ATOI;
__info.AckMode = RPC_ACK;
__info.pInputIOVectorTable = __input;
__info.ulInputIOVectorTableSize = sizeof(__input) / sizeof (IOVEC);
__info.pOutputIOVectorTable = NULL;
__info.ulOutputIOVectorTableSize = 0UL;
__info.pulLastOutputIOVectorSize = &__ulLastOutputIOVectorSize;
__info.pulReturnValue = (UINT32 *)&ret;
__input[ __ulInputParamCount ].pBaseAddress = (UINT8 *)&nptr;
__input[ __ulInputParamCount++ ].ulSize = sizeof(UINT32 *);
*rpc_retval_adr() = rpc_call( &__info );
return ret;
}
ER ref_tsk2 ( ID tskid, T_RTSK * pk_rtsk )
{
UINT32 __ulLastOutputIOVectorSize;
rpc_call_info __info;
UINT32 __ulInputParamCount = 0UL;
IOVEC __input[1];
UINT32 __ulOutputParamCount = 0UL;
IOVEC __output[1];
ER ercd;