Subversion Repositories HelenOS

Rev

Rev 2872 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /** @addtogroup sctrace
  2.  * @{
  3.  */
  4. /** @file
  5.  */
  6.  
  7. #include <stdio.h>
  8.  
  9. #include "ipc_desc.h"
  10. #include "ipc.h"
  11.  
  12. void ipc_parse_call_out(int phone, ipc_call_t *call)
  13. {
  14.     printf("ipc_parse_call_out()\n");
  15.     printf("phone: %d, method: %d, args: (%u, %u, %u, %u, %u)\n",
  16.         phone,
  17.         IPC_GET_METHOD(*call),
  18.         IPC_GET_ARG1(*call),
  19.         IPC_GET_ARG2(*call),
  20.         IPC_GET_ARG3(*call),
  21.         IPC_GET_ARG4(*call),
  22.         IPC_GET_ARG5(*call)
  23.     );
  24. }
  25.  
  26. void ipc_parse_call_in(ipc_call_t *call)
  27. {
  28.     printf("ipc_parse_call_in()\n");
  29.     printf("phone: %d, method: %d, args: (%u, %u, %u, %u, %u)\n",
  30.         call->in_phone_hash,
  31.         IPC_GET_METHOD(*call),
  32.         IPC_GET_ARG1(*call),
  33.         IPC_GET_ARG2(*call),
  34.         IPC_GET_ARG3(*call),
  35.         IPC_GET_ARG4(*call),
  36.         IPC_GET_ARG5(*call)
  37.     );
  38. }
  39.  
  40.  
  41. /** @}
  42.  */
  43.