2 * (c) 2008-2009 Alexander Warg <warg@os.inf.tu-dresden.de>
3 * economic rights: Technische Universität Dresden (Germany)
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.
11 #include "dataspace_cont.h"
15 class Dataspace_static : public Dataspace_cont
18 Dataspace_static(void *start, unsigned long size, unsigned long flags = 0)
19 : Dataspace_cont(start, size, flags) {}
20 virtual ~Dataspace_static() throw() {}
21 virtual int pre_allocate(l4_addr_t, l4_size_t, unsigned) { return 0; }
22 bool is_static() const throw() { return true; }
23 void *operator new (size_t);
24 void operator delete (void *m) throw();