acrn-hypervisor/hypervisor/include
Junjie Mao f347d15e7d hv: cpu: use the physical address limit from CPUID when available
Per SDM Vol. 2:

    If CPUID.80000008H:EAX[7:0] is supported, the maximum physical address
    number supported should come from this field.

This patch gets the maximum physical address number from CPUID leaf
0x80000008 and calculates the physical address mask when the leaf is
available.

Currently ACRN does not support platforms w/o this leaf and will panic
on such platforms.

Also call get_cpu_capabilities() earlier since the physical address mask
is required for initializing paging.

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
..
arch/x86 hv: cpu: use the physical address limit from CPUID when available 2018-05-15 17:25:24 +08:00
common UEFI: change the acrn boot flow on uefi platform 2018-05-15 17:19:39 +08:00
debug Remove STATIC_ASSERT Macro and replace with standard _Static_assert 2018-05-15 17:19:38 +08:00
lib treewide: fix declarations of functions with empty parameter lists 2018-05-15 17:25:23 +08:00
public trusty: implement hypercall to initialize trusty 2018-05-15 17:19:39 +08:00
hv_debug.h initial import 2018-05-11 14:44:28 +08:00
hv_lib.h Move s[n]printf to lib for release 2018-05-15 17:19:37 +08:00
hypervisor.h initial import 2018-05-11 14:44:28 +08:00