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