Adds a pcoremap for reverse lookups
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 13 Mar 2010 05:08:08 +0000 (21:08 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:39 +0000 (17:35 -0700)
commit0fead5438dd80d248831cf7add9dfb3c86a34140
tree40e8057dbd7572039f67adfe2176994b6893120e
parent369e043facca929a58797e8b3c3c14756198ef8d
Adds a pcoremap for reverse lookups

Introduces a per-process pcoremap, and helper functions to manage the
vcore->pcore mapping.  The pcore valid bool isn't truly necessary, but
nice for now.  This structure will speed up common lookups.

Eagle-eyed readers should know why the pcoremap has to be per process,
instead of global.
kern/include/process.h
kern/include/ros/procinfo.h
kern/src/process.c
kern/src/resource.c