2013-12-17 18:10:02 +01:00
|
|
|
/*
|
2014-03-03 15:29:05 +01:00
|
|
|
* \brief Provide a processor object for every available processor
|
2013-12-17 18:10:02 +01:00
|
|
|
* \author Martin Stein
|
|
|
|
* \date 2014-01-14
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2014 Genode Labs GmbH
|
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
|
|
* under the terms of the GNU General Public License version 2.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* core includes */
|
2014-03-03 15:29:05 +01:00
|
|
|
#include <kernel/processor.h>
|
2013-12-17 18:10:02 +01:00
|
|
|
|
|
|
|
using namespace Kernel;
|
|
|
|
|
|
|
|
|
2014-03-03 15:42:03 +01:00
|
|
|
Processor_pool * Kernel::processor_pool()
|
2013-12-17 18:10:02 +01:00
|
|
|
{
|
2014-03-03 15:42:03 +01:00
|
|
|
static Processor_pool s;
|
2013-12-17 18:10:02 +01:00
|
|
|
return &s;
|
|
|
|
}
|