mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 23:57:10 +00:00
Now the EPT module use predefined parameter "CONFIG_PLATFORM_RAM_SIZE" to calculate the ept table size. After change the EPT table to dynamic allocate to support single binary for different boards/platforms, the ept table size should dynamic calculate too. So this patch replace CONFIG_PLATFORM_RAM_SIZE by the hv_e820_ram_size to get the RAM info on run time. Tracked-On: #6690 Acked-by: Anthony Xu <anthony.xu@intel.com> Signed-off-by: Chenli Wei <chenli.wei@linux.intel.com>