L4Re – L4 Runtime Environment
pager
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 
61 class L4_EXPORT Io_pager :
62  public Kobject_0t<Io_pager, L4_PROTO_IO_PAGE_FAULT>
63 {
64 public:
81  l4_msgtag_t, io_page_fault, (l4_fpage_t io_pfa, l4_umword_t pc,
82  L4::Ipc::Rcv_fpage rwin,
84 
86 };
87 
98 class L4_EXPORT Pager :
99  public Kobject_t<Pager, Io_pager, L4_PROTO_PAGE_FAULT>
100 {
101 public:
135  l4_msgtag_t, page_fault, (l4_umword_t pfa, l4_umword_t pc,
136  L4::Ipc::Rcv_fpage rwin,
138 
140 };
141 
142 }
L4::Cap related definitions.
Io_pager interface.
Definition: pager:63
Generic RPC wrapper for L4 flex-pages.
Definition: ipc_types:322
Helper class to create an L4Re interface class that is derived from a single base class.
Definition: __typeinfo.h:760
Pager interface including the Io_pager interface.
Definition: pager:100
unsigned long l4_umword_t
Unsigned machine word.
Definition: l4int.h:51
Interface Definition Language.
#define L4_INLINE_RPC(res, name, args, attr...)
Define an inline RPC call (type and callable).
Definition: ipc_iface:469
Common L4 ABI Data Types.
L4 low-level kernel interface.
Attribute for defining an optional RPC argument.
Definition: ipc_types:148
List of RPCs of an interface using a single operation without an opcode.
Definition: __typeinfo.h:464
Message tag data structure.
Definition: types.h:160
L4 flexpage type.
Definition: __l4_fpage.h:83