writing code for IPC servers
Tiago Jorge
tjpj at lasige.di.fc.ul.pt
Tue Apr 5 12:39:31 CEST 2005
Ronald Aigner wrote:
>Again,
>
>Ronald Aigner said:
>
>
>>dice_CORBA_exception_type _exc_tmp;
>>_exc_tmp._s.major = _dice_corba_env->major;
>>_exc_tmp._s.repos_id = _dice_corba_env->repos_id;
>>l4_umword_t _exception = _exc_tmp._raw;
>>
>>
>I plaid around a bit and came up with the following. But there I am stuck...
>
>dice_CORBA_exception_type _exc_tmp = { _exc_tmp._s.major =
>_dice_corba_env->major, _exc_tmp._s.repos_id = _dice_corba_env->repos_id
>};
>l4_umword_t _exception = _exc_tmp._raw;
>
>
>Greetings, Ron.
>
>
in the client there is also code like this...The solution is the following:
dice_CORBA_exception_type aux_exc;
aux_exc._raw = _exception;
_dice_corba_env->major = aux_exc._s.major;
_dice_corba_env->repos_id = aux_exc._s.major;
Tiago
More information about the l4-hackers
mailing list