L4Re – L4 Runtime Environment
debug
Go to the documentation of this file.
1 // vi:set ft=cpp: -*- Mode: C++ -*-
6 /*
7  * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
8  * Alexander Warg <warg@os.inf.tu-dresden.de>
9  * economic rights: Technische Universität Dresden (Germany)
10  *
11  * This file is part of TUD:OS and distributed under the terms of the
12  * GNU General Public License 2.
13  * Please see the COPYING-GPL-2 file for details.
14  *
15  * As a special exception, you may use this file as part of a free software
16  * library without restriction. Specifically, if other files instantiate
17  * templates or use macros or inline functions from this file, or you compile
18  * this file and link it with other files to produce an executable, this
19  * file does not by itself cause the resulting executable to be covered by
20  * the GNU General Public License. This exception does not however
21  * invalidate any other reasons why the executable file might be covered by
22  * the GNU General Public License.
23  */
24 #pragma once
25 
26 #include <l4/sys/capability>
27 #include <l4/re/protocols.h>
28 #include <l4/sys/cxx/ipc_iface>
29 
30 namespace L4Re {
51 class L4_EXPORT Debug_obj :
52  public L4::Kobject_t<Debug_obj, L4::Kobject, L4RE_PROTO_DEBUG>
53 {
54 public:
55 
63  L4_INLINE_RPC(long, debug, (unsigned long function));
65 };
66 
67 template<typename BASE>
68 class Debug_obj_t :
69  public L4::Kobject_2t<Debug_obj_t<BASE>, BASE, Debug_obj, L4::PROTO_EMPTY>
70 {
71  typedef L4::Typeid::Rpcs<> Rpcs;
72 };
73 }
L4::Cap related definitions.
Debug interface.
Definition: debug:53
Helper class to create an L4Re interface class that is derived from two base classes (see L4::Kobject...
Definition: __typeinfo.h:836
Helper class to create an L4Re interface class that is derived from a single base class.
Definition: __typeinfo.h:760
Interface Definition Language.
#define L4_INLINE_RPC(res, name, args, attr...)
Define an inline RPC call (type and callable).
Definition: ipc_iface:469
L4Re C++ Interfaces.
Definition: cmd_control:15
L4Re Protocol Constants (C version)
List of RPCs of an interface using a single operation without an opcode.
Definition: __typeinfo.h:464
Standard list of RPCs of an interface.
Definition: __typeinfo.h:438