20 #include "pedigree/kernel/process/RoundRobinCoreAllocator.h" 21 #include "pedigree/kernel/Log.h" 22 #include "pedigree/kernel/utilities/Iterator.h" 23 #include "pedigree/kernel/utilities/utility.h" 28 RoundRobinCoreAllocator::RoundRobinCoreAllocator() : m_ProcMap(), m_pNext(0)
32 RoundRobinCoreAllocator::~RoundRobinCoreAllocator()
36 bool RoundRobinCoreAllocator::initialise(
44 if (it == procList.
end())
46 NOTICE(
"Quitting, only one CPU was present.");
47 m_ProcMap.insert(pFirst, pFirst);
51 for (; it != procList.
end(); it++)
53 m_ProcMap.insert(pFirst, *it);
58 m_ProcMap.insert(pFirst, m_pNext);
::Iterator< T, node_t > Iterator