]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4re-core/l4re_c/include/debug.h
Update
[l4.git] / l4 / pkg / l4re-core / l4re_c / include / debug.h
1 /**
2  * \file
3  * \brief Debug C interface.
4  */
5 /*
6  * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
7  *     economic rights: Technische Universität Dresden (Germany)
8  *
9  * This file is part of TUD:OS and distributed under the terms of the
10  * GNU General Public License 2.
11  * Please see the COPYING-GPL-2 file for details.
12  *
13  * As a special exception, you may use this file as part of a free software
14  * library without restriction.  Specifically, if other files instantiate
15  * templates or use macros or inline functions from this file, or you compile
16  * this file and link it with other files to produce an executable, this
17  * file does not by itself cause the resulting executable to be covered by
18  * the GNU General Public License.  This exception does not however
19  * invalidate any other reasons why the executable file might be covered by
20  * the GNU General Public License.
21  */
22 #pragma once
23
24 /**
25  * \defgroup api_l4re_c_debug Debug interface
26  * \ingroup api_l4re_c
27  */
28
29 #include <l4/sys/types.h>
30
31 EXTERN_C_BEGIN
32
33 /**
34  * \brief Call debug function of L4Re service
35  * \ingroup api_l4re_c_debug
36  * \param  srv       Object to call.
37  * \param  function  Function to call.
38  * \see L4Re::Debug_obj::debug
39  */
40 L4_CV void
41 l4re_debug_obj_debug(l4_cap_idx_t srv, unsigned long function) L4_NOTHROW;
42
43 EXTERN_C_END