Changeset e8039a86 in mainline for kernel/generic/src/ipc/ops/debug.c


Ignore:
Timestamp:
2012-08-20T23:21:41Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0343a1b
Parents:
642dc72
Message:

Separate system IPC logic into dedicated ops structure hooks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ops/debug.c

    r642dc72 re8039a86  
    11/*
    2  * Copyright (c) 2012 Jakub Jermar
     2 * Copyright (c) 2008 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3434
    3535#include <ipc/sysipc_ops.h>
     36#include <ipc/ipc.h>
     37#include <udebug/udebug_ipc.h>
     38
     39static int request_process(call_t *call, answerbox_t *box)
     40{
     41        return -1;
     42}
    3643
    3744sysipc_ops_t ipc_m_debug_ops = {
     45#ifdef CONFIG_UDEBUG
     46        .request_preprocess = udebug_request_preprocess,
     47#else
    3848        .request_preprocess = null_request_preprocess,
    39         .request_process = null_request_process,
     49#endif
     50        .request_process = request_process,
    4051        .answer_preprocess = null_answer_preprocess,
    4152        .answer_process = null_answer_process,
Note: See TracChangeset for help on using the changeset viewer.