Changeset 2e51969 in mainline for uspace/app/klog


Ignore:
Timestamp:
2007-11-19T12:20:10Z (18 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/klog/klog.c

    re0bc7fc r2e51969  
    6464       
    6565        mapping = as_get_mappable_page(PAGE_SIZE);
    66         res = ipc_call_sync_3(PHONE_NS, IPC_M_AS_AREA_RECV,
    67                               (sysarg_t) mapping, PAGE_SIZE, SERVICE_MEM_KLOG,
    68                               NULL, NULL, NULL);
     66        res = ipc_call_sync_3_0(PHONE_NS, IPC_M_AS_AREA_RECV,
     67            (sysarg_t) mapping, PAGE_SIZE, SERVICE_MEM_KLOG);
    6968        if (res) {
    7069                printf("Failed to initialize klog memarea\n");
Note: See TracChangeset for help on using the changeset viewer.