2011-12-22 16:19:25 +01:00
|
|
|
/*
|
2012-02-27 17:22:42 +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>
|
|
|
|
|
|
|
|
|
2012-02-27 17:22:42 +01:00
|
|
|
Genode::Capability_allocator* Genode::cap_alloc()
|
2011-12-22 16:19:25 +01:00
|
|
|
{
|
2012-02-28 10:48:37 +01:00
|
|
|
static Genode::Capability_allocator_tpl<4096> _alloc;
|
2012-02-27 17:22:42 +01:00
|
|
|
return &_alloc;
|
2011-12-22 16:19:25 +01:00
|
|
|
}
|