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