5 * \brief Capability allocator implementation
8 * (c) 2008-2009 Technische Universität Dresden
9 * This file is part of TUD:OS and distributed under the terms of the
10 * GNU General Public License 2.
11 * Please see the COPYING-GPL-2 file for details.
13 * As a special exception, you may use this file as part of a free software
14 * library without restriction. Specifically, if other files instantiate
15 * templates or use macros or inline functions from this file, or you compile
16 * this file and link it with other files to produce an executable, this
17 * file does not by itself cause the resulting executable to be covered by
18 * the GNU General Public License. This exception does not however
19 * invalidate any other reasons why the executable file might be covered by
20 * the GNU General Public License.
25 #if defined(L4RE_NO_COUNTING_CAP_ALLOC)
27 #include <l4/re/util/bitmap_cap_alloc>
29 namespace L4Re { namespace Util {
31 typedef Cap_alloc_base _Cap_alloc;
36 #include <l4/re/util/counting_cap_alloc>
38 namespace L4Re { namespace Util {
40 typedef Counting_cap_alloc<L4Re::Util::Counter<unsigned char> > _Cap_alloc;