Loading...
Searching...
No Matches
kumem_alloc
Go to the documentation of this file.
// -*- Mode: C++ -*-
// vim:ft=cpp
/*
* (c) 2010 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
* Alexander Warg <warg@os.inf.tu-dresden.de>
* economic rights: Technische Universität Dresden (Germany)
*
* License: see LICENSE.spdx (in this directory or the directories above)
*/
#pragma once
#include <l4/re/env>
namespace L4Re { namespace Util {
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;
}}
L4Re::Env::env
static Env const * env() noexcept
Returns the initial environment for the current task.
Definition env:96
L4::Cap
C++ interface for capabilities.
Definition capability.h:224
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::Util
Documentation of the L4 Runtime Environment utility functionality in C++.
Definition l4re.dox:21
L4Re
L4Re C++ Interfaces.
Definition cmd_control:14