mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-01 13:23:15 +00:00
The e820 module could get the RAM info on run time, but the RAM size and MAX address was limited by CONFIG_PLATFORM_RAM_SIZE which was predefined by config tool. Current solution can't support single binary for different boards or platforms and the CONFIG_PLATFORM_RAM_SIZE can't matching the RAM size if user have not update config tools setting after the device changed. So this patch remove the CONFIG_PLATFORM_RAM_SIZE and calculate ram size on run time. Tracked-On: #6690 Acked-by: Anthony Xu <anthony.xu@intel.com> Signed-off-by: Chenli Wei <chenli.wei@linux.intel.com>
8.6 KiB
8.6 KiB