L4Re - L4 Runtime Environment
exception
Go to the documentation of this file.
1 // vi:set ft=cpp: -*- Mode: C++ -*-
6 /*
7  * (c) 2014 Alexander Warg <alexander.warg@kernkonzept.com>
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 
23 #pragma once
24 
25 #include <l4/sys/capability>
26 #include <l4/sys/types.h>
27 #include <l4/sys/cxx/ipc_types>
28 #include <l4/sys/cxx/ipc_iface>
29 
30 namespace L4 {
31 
42 class L4_EXPORT Exception :
43  public Kobject_0t<Exception, L4_PROTO_EXCEPTION>
44 {
45 public:
46  // TODO: pass a reference/pointer to the UTCB not copy the regs
59  L4::Ipc::Rcv_fpage rwin,
61 
63 };
64 
65 }
Exception interface.
Definition: exception:42
Common L4 ABI Data Types.
L4 low-level kernel interface.
L4::Cap related definitions.
List of RPCs of an interface using a single operation without an opcode.
Definition: __typeinfo.h:464
#define L4_INLINE_RPC(res, name, args, attr...)
Define an inline RPC call (type and callable).
Definition: ipc_iface:458
Mark an argument as in-out argument.
Definition: ipc_types:52
Interface Definition Language.
Attribute for defining an optional RPC argument.
Definition: ipc_types:147
Message tag data structure.
Definition: types.h:159
Generic RPC wrapper for L4 flex-pages.
Definition: ipc_types:321
L4::Typeid::Rpc_nocode< exception_t > Rpcs
Exception call.
Definition: exception:60