/[rtmk]/rtmk/rig/be-c.c
ViewVC logotype

Diff of /rtmk/rig/be-c.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by jrydberg, Wed Feb 20 19:16:12 2002 UTC revision 1.8 by jrydberg, Thu Feb 21 20:14:42 2002 UTC
# Line 640  target_server_header_encode_finish (rt, Line 640  target_server_header_encode_finish (rt,
640       char *name;       char *name;
641  {  {
642    output ("__rig_msgh_encode (__msgh_out, __msgt, __msgh_in->msgh_id + 100);\n");    output ("__rig_msgh_encode (__msgh_out, __msgt, __msgh_in->msgh_id + 100);\n");
643    output ("__msgh_out->msgh_remote_port = __msgh_in->msgh_local_port;\n");    output ("__msgh_out->msgh_remote_port = __msgh_in->msgh_remote_port;\n");
644    output ("__msgh_out->msgh_local_port = 0;\n");    /* output ("__msgh_out->msgh_local_port = 0;\n"); */
645  }  }
646    
647  /* This function generates the the IPC call.  The `__rig_rpc' function checks  /* This function generates the the IPC call.  The `__rig_rpc' function checks
# Line 692  target_write_ipccall (rt) Line 692  target_write_ipccall (rt)
692    if (routine_need_reply (rt))    if (routine_need_reply (rt))
693      {      {
694        output ("/* ??? use __rig_reply_port_put (PORT) instead */\n");        output ("/* ??? use __rig_reply_port_put (PORT) instead */\n");
695        output ("__rig_reply_port_put (__msgh_in->msgh_remote_port);\n\n");        output ("__rig_reply_port_put (__msgh_in->msgh_local_port);\n\n");
696    
697        output ("__msgt = (struct rtmk_msg_type *) (__msgh_in + 1);\n\n");        output ("__msgt = (struct rtmk_msg_type *) (__msgh_in + 1);\n\n");
698      }      }
# Line 760  target_server_finishup (rt) Line 760  target_server_finishup (rt)
760                "RTMK_MSG_TYPE_MOVE_SEND_ONCE");                "RTMK_MSG_TYPE_MOVE_SEND_ONCE");
761        output ("                               | RTMK_MSGH_BITS_COMPLEX;\n");        output ("                               | RTMK_MSGH_BITS_COMPLEX;\n");
762        output ("__msgh_out->msgh_length      = (int) ((int) (__msgt) - (int) (__msgh_out));\n");        output ("__msgh_out->msgh_length      = (int) ((int) (__msgt) - (int) (__msgh_out));\n");
763        output ("__msgh_out->msgh_remote_port = __msgh_in->msgh_local_port;\n");        output ("__msgh_out->msgh_remote_port = __msgh_in->msgh_remote_port;\n");
764        output ("__msgh_out->msgh_local_port  = 0;\n");        output ("__msgh_out->msgh_local_port  = 0;\n");
765        output ("return RIG_RESULT_NOTIFY;\n");        output ("return RIG_RESULT_NOTIFY;\n");
766      }      }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26