Vcoreid sanity checks in event code
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 17 Dec 2011 00:43:26 +0000 (16:43 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sat, 17 Dec 2011 00:43:26 +0000 (16:43 -0800)
commitc850b86f66ae18f19055fce62e2780d57c2e15a5
tree8d16e09605bb0634d3760cd4539c626da591700a
parent54eac8a476fb500786506e3a274c378ee58aba8d
Vcoreid sanity checks in event code

Very large vcoreid's could cause the kernel to find VCPD addresses
outside of procdata.  MAX_NUM_CPUS is what we use for MAX_NUM_VCORES
btw.  No one should want/need more vcores than that.  k/s/pmap.c has
checks built in to make sure procdata stays within its size too.
kern/src/event.c
kern/src/process.c