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
57
L4_INLINE_RPC
(
58
l4_msgtag_t
, exception, (
L4::Ipc::In_out<l4_exc_regs_t *>
regs,
59
L4::Ipc::Rcv_fpage
rwin,
60
L4::Ipc::Opt<L4::Ipc::Snd_fpage &>
fp));
61
62
typedef
L4::Typeid::Rpc_nocode<exception_t>
Rpcs
;
63
};
64
65
}
L4::Exception
Exception interface.
Definition:
exception:42
types.h
Common L4 ABI Data Types.
L4
L4 low-level kernel interface.
Definition:
l4sys-l4f-groups.dox:67
capability
L4::Cap related definitions.
L4::Typeid::Rpc_nocode
List of RPCs of an interface using a single operation without an opcode.
Definition:
__typeinfo.h:464
ipc_types
L4_INLINE_RPC
#define L4_INLINE_RPC(res, name, args, attr...)
Define an inline RPC call (type and callable).
Definition:
ipc_iface:458
L4::Ipc::In_out
Mark an argument as in-out argument.
Definition:
ipc_types:52
ipc_iface
Interface Definition Language.
L4::Ipc::Opt
Attribute for defining an optional RPC argument.
Definition:
ipc_types:147
l4_msgtag_t
Message tag data structure.
Definition:
types.h:159
L4::Ipc::Gen_fpage
Generic RPC wrapper for L4 flex-pages.
Definition:
ipc_types:321
L4::Exception::Rpcs
L4::Typeid::Rpc_nocode< exception_t > Rpcs
Exception call.
Definition:
exception:60
l4
sys
exception
Generated on Sun Nov 25 2018 13:34:52 for L4Re - L4 Runtime Environment by
1.8.13