L4Re Operating System Framework
Interface and Usage Documentation
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
h
i
k
m
o
p
r
s
t
u
w
Functions
a
b
c
k
m
r
s
t
w
Variables
Typedefs
Enumerations
Enumerator
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
_
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
Enumerations
a
c
d
e
f
i
m
n
p
q
r
s
t
v
Enumerator
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
w
x
Related Symbols
Files
File List
Globals
All
_
a
b
d
e
f
g
l
m
n
o
p
r
s
Functions
_
b
e
f
g
l
o
p
Typedefs
e
g
l
p
Enumerations
e
l
p
Enumerator
a
d
e
f
l
n
p
r
s
Macros
_
e
g
l
m
p
s
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
kumem_alloc
Go to the documentation of this file.
1
// -*- Mode: C++ -*-
2
// vim:ft=cpp
7
/*
8
* (c) 2010 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
9
* Alexander Warg <warg@os.inf.tu-dresden.de>
10
* economic rights: Technische Universität Dresden (Germany)
11
*
12
* License: see LICENSE.spdx (in this directory or the directories above)
13
*/
14
15
#pragma once
16
17
#include <
l4/re/env
>
18
19
namespace
L4Re
{
namespace
Util {
20
44
int
45
kumem_alloc
(
l4_addr_t
*mem,
unsigned
pages_order,
46
L4::Cap<L4::Task>
task =
L4Re::Env::env
()->task(),
47
L4::Cap<L4Re::Rm>
rm =
L4Re::Env::env
()->rm()) noexcept;
48
50
}}
L4Re::Env::env
static Env const * env() noexcept
Returns the initial environment for the current task.
Definition
env:95
L4::Cap
C++ interface for capabilities.
Definition
capability.h:219
env
Environment interface.
l4_addr_t
unsigned long l4_addr_t
Address type.
Definition
l4int.h:34
L4Re::Util::kumem_alloc
int kumem_alloc(l4_addr_t *mem, unsigned pages_order, L4::Cap< L4::Task > task=L4Re::Env::env() ->task(), L4::Cap< L4Re::Rm > rm=L4Re::Env::env() ->rm()) noexcept
Allocate state area.
L4Re
L4Re C++ Interfaces.
Definition
cmd_control:14
l4
re
util
kumem_alloc
Generated on Mon Mar 3 2025 23:08:49 for L4Re Operating System Framework by
1.9.8