mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-05-17 13:02:51 +00:00
When user use make menuconfig to configure memory related kconfig items, we need add range check to avoid compile error or other potential issues: CONFIG_LOW_RAM_SIZE:(0 ~ 0x10000) the value should be less than 64KB; CONFIG_HV_RAM_SIZE: (0x1000000 ~ 0x10000000) the hypervisor RAM size should be supposed between 16MB to 256MB; CONFIG_PLATFORM_RAM_SIZE: (0x100000000 ~ 0x4000000000) the platform RAM size should be larger than 4GB and less than 256GB; CONFIG_SOS_RAM_SIZE: (0x100000000 ~ 0x4000000000) the SOS RAM size should be larger than 4GB and less than 256GB; CONFIG_UOS_RAM_SIZE: (0 ~ 0x2000000000) the UOS RAM size should be less than 128GB; Tracked-On: #4229 Signed-off-by: Victor Sun <victor.sun@intel.com>