Renesas Stub Generator V.1.00 Información técnica Pagina 85

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 144
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 84
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 73 of 128
REJ10J1822-0101
UINT32 rpcsvr_SMPL_func( rpc_server_stub_info * __pInfo )
{
...
inf = (struct INF *)( __pInfo->pucParamArea + __ulInputParamOffset);
__ulInputParamOffset += ALIGNUP4(sizeof(*inf));
if (((UINT32)(inf->count)) > 0UL)
{
ptr = (struct ST *)( __pInfo->pucParamArea + __ulInputParamOffset);
}
ret = func( inf, ptr );
__pInfo->pOutputIOVectorTable[ __ulOutputParamCount ].pBaseAddress = ptr;
if (((UINT32)(ret )) > 0UL)
{
__pInfo->pOutputIOVectorTable[ __ulOutputParamCount++ ].ulSize = sizeof(*ptr) *
((UINT32)(ret ));
}
else
{
__pInfo->pOutputIOVectorTable[ __ulOutputParamCount++ ].ulSize = 0UL;
}
__pInfo->ulOutputIOVectorTableSize = 1UL;
return ((UINT32)ret);
}
Figure 6.5 Code Output to the Server Stub (OUT) for Second COUNT
Vista de pagina 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 143 144

Comentarios a estos manuales

Sin comentarios