Changeset 2e51969 in mainline for uspace/lib/libc/generic/time.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/lib/libc/generic/time.c

    re0bc7fc r2e51969  
    142142                mapping = as_get_mappable_page(PAGE_SIZE);
    143143                /* Get the mapping of kernel clock */
    144                 res = ipc_call_sync_3(PHONE_NS, IPC_M_AS_AREA_RECV,
     144                res = ipc_call_sync_3_2(PHONE_NS, IPC_M_AS_AREA_RECV,
    145145                    (sysarg_t) mapping, PAGE_SIZE, SERVICE_MEM_REALTIME, NULL,
    146                     &rights, NULL);
     146                    &rights);
    147147                if (res) {
    148148                        printf("Failed to initialize timeofday memarea\n");
Note: See TracChangeset for help on using the changeset viewer.