Refactor to move alloc stuff to corealloc.c (1/7)
authorKevin Klues <klueska@cs.berkeley.edu>
Mon, 28 Sep 2015 23:04:27 +0000 (16:04 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 24 Nov 2015 19:48:50 +0000 (14:48 -0500)
commit87d29826c3876d77b2be3ec0cd5be1a36525061f
tree508907771bfe4fdd90b96c723a2d737513de85c4
parent86c2dabea99d88d2923a93548c61963ee88c7245
Refactor to move alloc stuff to corealloc.c (1/7)

This series of commits refactors the kernel scheduler to move all core
allocation logic out into a file called corealloc.c. In this first
commit, we move the idlecore list and the all_pcores list over to this
file along with their initialization. Future commits will move the rest
of the logic over.

Signed-off-by: Kevin Klues <klueska@cs.berkeley.edu>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/corerequest.h
kern/src/corealloc.c
kern/src/schedule.c