x86: Clarify cpuid 64 bit check
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 27 Sep 2017 18:37:15 +0000 (14:37 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 29 Sep 2017 14:00:03 +0000 (10:00 -0400)
commit4bc5ff354ba3f04fa93ff8882f70bbe307adee9a
tree84bb5f3f3786a04712a1ef126dbd877688e66d9e
parent424007332ef589e1c8377c107aece6d0b81ccde7
x86: Clarify cpuid 64 bit check

That bit wasn't checking FS/GS MSRs, it was checking for long mode
capability.  Long mode has those MSRs, so the check was working, but it
was confusing.  Since we only run on 64 bit x86, we can be more explicit
about what we're checking and why it failed.

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