]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/loader/server/src/remote_mem.h
Inital import
[l4.git] / l4 / pkg / loader / server / src / remote_mem.h
1 /*
2  * (c) 2008-2009 Technische Universität Dresden
3  * This file is part of TUD:OS and distributed under the terms of the
4  * GNU General Public License 2.
5  * Please see the COPYING-GPL-2 file for details.
6  */
7 #pragma once
8
9 #include <l4/sys/capability>
10 #include <l4/re/dataspace>
11
12
13 #include <l4/sys/types.h>
14 #include <l4/re/l4aux.h>
15 #include <l4/libloader/remote_mem>
16
17 #include <cstddef>
18
19 class Region_map;
20
21 class Stack : public Ldr::Remote_stack<>
22 {
23 public:
24   explicit Stack(char *p = 0) : Ldr::Remote_stack<>(p) {}
25   l4_addr_t add(l4_addr_t start, l4_umword_t size, Region_map *rm,
26                 L4::Cap<L4Re::Dataspace> m, unsigned long offs,
27                 unsigned flags, unsigned char align,
28                 char const *what);
29 };