Skip to content
Commit b74b06c5 authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

x86: boot: stub out unimplemented CPU feature words



The CPU feature detection code in the boot code is somewhat minimal,
and doesn't include all possible CPUID words.  In particular, it
doesn't contain the code for CPU feature words 2 (Transmeta),
3 (Linux-specific), 5 (VIA), or 7 (scattered).  Zero them out, so we
can still set those bits as known at compile time; in particular, this
allows creating a Linux-specific NOPL flag and have it required (and
therefore resolvable at compile time) in 64-bit mode.

Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent e6a5652f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment