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
:
80
L4_INLINE_RPC
(
81
l4_msgtag_t
, io_page_fault, (
l4_fpage_t
io_pfa,
l4_umword_t
pc,
82
L4::Ipc::Rcv_fpage
rwin,
83
L4::Ipc::Opt<L4::Ipc::Snd_fpage &>
fp));
84
85
typedef
L4::Typeid::Rpc_nocode<io_page_fault_t>
Rpcs
;
86
};
87
98
class
L4_EXPORT
Pager
:
99
public
Kobject_t
<Pager, Io_pager, L4_PROTO_PAGE_FAULT>
100
{
101
public
:
134
L4_INLINE_RPC
(
135
l4_msgtag_t
, page_fault, (
l4_umword_t
pfa,
l4_umword_t
pc,
136
L4::Ipc::Rcv_fpage
rwin,
137
L4::Ipc::Opt<L4::Ipc::Snd_fpage &>
fp));
138
139
typedef
L4::Typeid::Rpc_nocode<page_fault_t>
Rpcs
;
140
};
141
142
}
capability
L4::Cap related definitions.
L4::Io_pager
Io_pager interface.
Definition:
pager:63
L4::Ipc::Gen_fpage
Generic RPC wrapper for L4 flex-pages.
Definition:
ipc_types:322
L4::Kobject_t
Helper class to create an L4Re interface class that is derived from a single base class.
Definition:
__typeinfo.h:760
L4::Pager
Pager interface including the Io_pager interface.
Definition:
pager:100
l4_umword_t
unsigned long l4_umword_t
Unsigned machine word.
Definition:
l4int.h:51
ipc_iface
Interface Definition Language.
L4_INLINE_RPC
#define L4_INLINE_RPC(res, name, args, attr...)
Define an inline RPC call (type and callable).
Definition:
ipc_iface:469
ipc_types
types.h
Common L4 ABI Data Types.
L4
L4 low-level kernel interface.
Definition:
l4sys-l4f-groups.dox:74
L4::Ipc::Opt
Attribute for defining an optional RPC argument.
Definition:
ipc_types:148
L4::Typeid::Rpc_nocode
List of RPCs of an interface using a single operation without an opcode.
Definition:
__typeinfo.h:464
l4_msgtag_t
Message tag data structure.
Definition:
types.h:160
l4_fpage_t
L4 flexpage type.
Definition:
__l4_fpage.h:83
l4
sys
pager
Generated on Sat Jul 17 2021 20:02:48 for L4Re – L4 Runtime Environment by
1.9.1