genode/base-foc/src/base/env/cap_sel_alloc.cc

25 lines
561 B
C++
Raw Normal View History

2011-12-22 16:19:25 +01:00
/*
* \brief Capability-selector allocator for non-core tasks.
2011-12-22 16:19:25 +01:00
* \author Stefan Kalkowski
* \date 2010-12-06
*
* This is a Fiasco.OC-specific addition to the process enviroment.
*/
/*
2012-01-03 15:35:05 +01:00
* Copyright (C) 2010-2012 Genode Labs GmbH
2011-12-22 16:19:25 +01:00
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
/* Genode includes */
#include <base/cap_sel_alloc.h>
Genode::Capability_allocator* Genode::cap_alloc()
2011-12-22 16:19:25 +01:00
{
static Genode::Capability_allocator_tpl<4096> _alloc;
return &_alloc;
2011-12-22 16:19:25 +01:00
}