Changeset 2e51969 in mainline for uspace/app/tester/ipc/send_sync.c


Ignore:
Timestamp:
2007-11-19T12:20:10Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0c09f2b
Parents:
e0bc7fc
Message:

Modify synchronous IPC to make use of all six syscall arguments. The preferred
means of synchronous communication is now via the set of ipc_call_sync_m_n()
macros, where m is the number of payload arguments passed to the kernel and n is
the number of return values. These macros will automatically decide between the
fast and the universal slow version of ipc_call_sync.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/ipc/send_sync.c

    re0bc7fc r2e51969  
    3030#include <unistd.h>
    3131#include "../tester.h"
     32#include <ipc/ipc.h>
    3233
    3334char * test_send_sync(bool quiet)
     
    4546       
    4647        printf("Sending msg...");
    47         res = ipc_call_sync_2(phoneid, 2000, 0, 0, NULL, NULL);
     48        res = ipc_call_sync_0_0(phoneid, 2000);
    4849        printf("done: %d\n", res);
    4950       
Note: See TracChangeset for help on using the changeset viewer.