Changeset 27d293a in mainline for uspace/lib/libc/generic/time.c


Ignore:
Timestamp:
2007-12-31T16:46:43Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
215e375
Parents:
3115355
Message:

Rename IPC_M_AS_AREA_SEND to IPC_M_SHARE_OUT. Rename IPC_M_AS_AREA_RECV to
IPC_M_SHARE_IN. Provide user-friendly wrappers for these methods so that even
dummies can get it right. Some applications using simpler protocols still use
these methods directly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/time.c

    r3115355 r27d293a  
    136136        void *mapping;
    137137        sysarg_t s1, s2;
    138         sysarg_t rights;
     138        int rights;
    139139        int res;
    140140
     
    142142                mapping = as_get_mappable_page(PAGE_SIZE);
    143143                /* Get the mapping of kernel clock */
    144                 res = ipc_call_sync_3_2(PHONE_NS, IPC_M_AS_AREA_RECV,
    145                     (sysarg_t) mapping, PAGE_SIZE, SERVICE_MEM_REALTIME, NULL,
    146                     &rights);
     144                res = ipc_share_in_send_1_1(PHONE_NS, mapping, PAGE_SIZE,
     145                    SERVICE_MEM_REALTIME, &rights);
    147146                if (res) {
    148147                        printf("Failed to initialize timeofday memarea\n");
Note: See TracChangeset for help on using the changeset viewer.