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_INLINE_RPC
(
82
l4_msgtag_t
, io_page_fault, (
l4_fpage_t
io_pfa,
l4_umword_t
pc,
83
L4::Ipc::Opt<l4_mword_t &>
result,
84
L4::Ipc::Rcv_fpage
rwin,
85
L4::Ipc::Opt<L4::Ipc::Snd_fpage &>
fp));
86
87
typedef
L4::Typeid::Rpc_nocode<io_page_fault_t>
Rpcs
;
88
};
89
100
class
L4_EXPORT
Pager
:
101
public
Kobject_t
<Pager, Io_pager, L4_PROTO_PAGE_FAULT>
102
{
103
public
:
136
L4_INLINE_RPC
(
137
l4_msgtag_t
, page_fault, (
l4_umword_t
pfa,
l4_umword_t
pc,
138
L4::Ipc::Opt<l4_mword_t &>
result,
139
L4::Ipc::Rcv_fpage
rwin,
140
L4::Ipc::Opt<L4::Ipc::Snd_fpage &>
fp));
141
142
typedef
L4::Typeid::Rpc_nocode<page_fault_t>
Rpcs
;
143
};
144
145
}
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_umword_t
unsigned long l4_umword_t
Unsigned machine word.
Definition:
l4int.h:52
ipc_iface
Interface Definition Language.
L4::Ipc::Opt
Attribute for defining an optional RPC argument.
Definition:
ipc_types:147
L4::Pager
Pager interface including the Io_pager interface.
Definition:
pager:100
l4_fpage_t
L4 flexpage type.
Definition:
__l4_fpage.h:81
L4::Kobject_t
Helper class to create an L4Re interface class that is derived from a single base class...
Definition:
__typeinfo.h:759
l4_msgtag_t
Message tag data structure.
Definition:
types.h:159
L4::Io_pager
Io_pager interface.
Definition:
pager:61
L4::Ipc::Gen_fpage
Generic RPC wrapper for L4 flex-pages.
Definition:
ipc_types:321
l4
sys
pager
Generated on Sun Nov 25 2018 13:34:52 for L4Re - L4 Runtime Environment by
1.8.13