Project ACRN hypervisor
Go to file
Junjie Mao cc975f7858 cpu: cache the maximum input value for CPUID extended function
Per SDM:

    When CPUID executes with EAX set to 80000000H, the processor returns
    the highest value the processor recognizes for returning extended
    processor information. The value is returned in the EAX register and is
    processor specific.

This patch caches this value in the global cpuinfo_x86.cpuid_leaves. This
value will be used to check the availability of any CPUID extended
function.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-05-15 17:25:24 +08:00
devicemodel Remove 'noxsave' bootarg in dm sample script 2018-05-15 17:25:24 +08:00
doc getting_started: update dependency for Fedora 27 2018-05-15 17:19:37 +08:00
hypervisor cpu: cache the maximum input value for CPUID extended function 2018-05-15 17:25:24 +08:00