x86: create function to check miscreg validity
authorSteve Reinhardt <steve.reinhardt@amd.com>
Sun, 7 Feb 2016 01:21:20 +0000 (17:21 -0800)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Sun, 7 Feb 2016 01:21:20 +0000 (17:21 -0800)
commit2d91e741e8ffc8ae3d40f1e849db87e69af7bfa9
tree7516d86052480e28009bb772083ddd7b9eb72415
parent4e65e25e257f30f2185bc4c4bd06e5b1fdb9688d
x86: create function to check miscreg validity

In the process of trying to get rid of an '== false' comparison,
it became apparent that a slightly more involved solution was
needed.  Split this out into its own changeset since it's not
a totally trivial local change like the others.
src/arch/x86/isa.cc
src/arch/x86/regs/misc.hh
src/arch/x86/utility.cc