Changeset cf2af94 in mainline for uspace/lib/c/generic/ipc/ns.c


Ignore:
Timestamp:
2011-02-09T11:46:47Z (14 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cb15135a
Parents:
a49c4002 (diff), 0b37882 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

Local modifications:

  • change pipefs and ext2 to build again (use async_* calls instead of ipc_*)
File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/ipc/ns.c

    ra49c4002 rcf2af94  
    11/*
    2  * Copyright (c) 2009 Lukas Mejdrech
     2 * Copyright (c) 2011 Martin Decky
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup arp
     29/** @addtogroup libc
    3030 * @{
    3131 */
    32 
    3332/** @file
    34  * ARP module functions.
    35  * The functions are used as ARP module entry points.
    3633 */
    3734
    38 #ifndef NET_ARP_MODULE_H_
    39 #define NET_ARP_MODULE_H_
     35#include <async.h>
     36#include <ipc/ns.h>
    4037
    41 #include <ipc/ipc.h>
    42 #include <async.h>
     38int service_register(sysarg_t service)
     39{
     40        return async_connect_to_me(PHONE_NS, service, 0, 0, NULL);
     41}
    4342
    44 extern int arp_initialize(async_client_conn_t);
    45 extern int arp_message_standalone(ipc_callid_t, ipc_call_t *, ipc_call_t *,
    46     int *);
     43int service_connect(sysarg_t service, sysarg_t arg2, sysarg_t arg3)
     44{
     45        return async_connect_me_to(PHONE_NS, service, arg2, arg3);
     46}
    4747
    48 #endif
     48int service_connect_blocking(sysarg_t service, sysarg_t arg2, sysarg_t arg3)
     49{
     50        return async_connect_me_to_blocking(PHONE_NS, service, arg2, arg3);
     51}
    4952
    5053/** @}
Note: See TracChangeset for help on using the changeset viewer.