mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 14:33:38 +00:00
kv: kconfig: remove some unused ram size kconfig
SOS_RAM_SIZE/UOS_RAM_SIZE Kconfig are only used to calculate how many pages we should reserve for the VM EPT mapping. Now we reserve pages for each VM EPT pagetable mapping by the PLATFORM_RAM_SIZE not the VM RAM SIZE. This could simplify the reserve logic for us: not need to take care variable corner cases. We could make assume we reserve enough pages base on the VM could not use the resources beyond the platform hardware resources. So remove these two unused VM ram size kconfig. Signed-off-by: Li Fei1 <fei1.li@intel.com> Tracked-On: #5788
This commit is contained in:
parent
0579e2ee24
commit
97a9c5151b
@ -212,8 +212,8 @@ config HV_RAM_START
|
||||
|
||||
config HV_RAM_SIZE
|
||||
hex "Size of the RAM region used by the hypervisor"
|
||||
range 0x1000000 0x20000000
|
||||
default 0x14000000
|
||||
range 0x800000 0x4000000
|
||||
default 0x800000
|
||||
help
|
||||
A 64-bit integer indicating the size of RAM used by the hypervisor.
|
||||
It is ensured at link time that the footprint of the hypervisor
|
||||
@ -227,22 +227,6 @@ config PLATFORM_RAM_SIZE
|
||||
A 64-bit integer indicating the size of the physical platform RAM
|
||||
(MMIO not included).
|
||||
|
||||
config SOS_RAM_SIZE
|
||||
hex "Size of the Service OS (SOS) RAM"
|
||||
range 0x100000000 0x4000000000
|
||||
default 0x400000000
|
||||
help
|
||||
A 64-bit integer indicating the size of the Service OS RAM (MMIO not
|
||||
included).
|
||||
|
||||
config UOS_RAM_SIZE
|
||||
hex "Size of the User OS (UOS) RAM"
|
||||
range 0 0x2000000000
|
||||
default 0x200000000
|
||||
help
|
||||
A 64-bit integer indicating the size of the User OS RAM (MMIO not
|
||||
included). Now we assume each UOS uses same amount of RAM size.
|
||||
|
||||
config ACPI_PARSE_ENABLED
|
||||
bool "Enable ACPI runtime parsing"
|
||||
default y
|
||||
|
Loading…
Reference in New Issue
Block a user