Changeset da0c91e7 in mainline for libc/generic/async.c


Ignore:
Timestamp:
2006-06-01T23:01:44Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
46bd593f
Parents:
c1d2c9d
Message:

Added very preliminary support for console on architectures
that do not support framebuffer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/async.c

    rc1d2c9d rda0c91e7  
    129129} connection_t;
    130130
     131
    131132__thread connection_t *PS_connection;
     133
     134static void default_client_connection(ipc_callid_t callid, ipc_call_t *call);
     135static async_client_conn_t client_connection = default_client_connection;
    132136
    133137/** Add microseconds to give timeval */
     
    273277 * user code.
    274278 */
    275 void client_connection(ipc_callid_t callid, ipc_call_t *call)
     279static void default_client_connection(ipc_callid_t callid, ipc_call_t *call)
    276280{
    277281        ipc_answer_fast(callid, ENOENT, 0, 0);
     
    671675        free(msg);
    672676}
     677
     678/** Set function that is called, IPC_M_CONNECT_ME_TO is received
     679 *
     680 * @param conn Function that will form new psthread.
     681 */
     682void async_set_client_connection(async_client_conn_t conn)
     683{
     684        client_connection = conn;
     685}
Note: See TracChangeset for help on using the changeset viewer.