Changeset a69d42e in mainline for uspace/lib/c/generic/async.c


Ignore:
Timestamp:
2018-04-10T20:17:41Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9c514be
Parents:
1abcf1d
Message:

Define _end, and use it instead of the address of __entry in C code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/async.c

    r1abcf1d ra69d42e  
    26772677    unsigned int flags)
    26782678{
     2679        // FIXME: The source has no business deciding destination address.
    26792680        return ipc_answer_3(chandle, EOK, (sysarg_t) src, (sysarg_t) flags,
    2680             (sysarg_t) __entry);
     2681            (sysarg_t) _end);
    26812682}
    26822683
     
    27472748errno_t async_share_out_finalize(cap_call_handle_t chandle, void **dst)
    27482749{
    2749         return ipc_answer_2(chandle, EOK, (sysarg_t) __entry, (sysarg_t) dst);
     2750        return ipc_answer_2(chandle, EOK, (sysarg_t) _end, (sysarg_t) dst);
    27502751}
    27512752
Note: See TracChangeset for help on using the changeset viewer.