• H. Peter Anvin's avatar
    x86: boot: stub out unimplemented CPU feature words · e2fe16d9
    H. Peter Anvin authored
    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>
    e2fe16d9
cpucheck.c 6.07 KB