x86: Properly initialize MSR whitelists
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 7 Mar 2016 18:56:37 +0000 (13:56 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 7 Mar 2016 19:36:21 +0000 (14:36 -0500)
commit53109d06d29b38b6eea17d6818f5c5c4e11c0268
tree3050b804383b8eb94f3c0f0ead94de37280df4d9
parent597386a35115980f5a223efabcc65268562866b1
x86: Properly initialize MSR whitelists

The address ranges need to be initialized so that they are sorted.
Otherwise, whoever adds entries needs to know the actual value of the MSRs
and maintain their ordering manually.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/devarch.c