mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-23 14:07:42 +00:00
config_tools: remove UOS_RAM_SIZE and SOS_RAM_SIZE in scenario config
remove UOS_RAM_SIZE and SOS_RAM_SIZE in scenario config since these two config elements are useless. Tracked-On: #5927 Signed-off-by: Shuang Zheng <shuang.zheng@intel.com> Reviewed-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
parent
fee0025db8
commit
b953a33bd8
@ -26,8 +26,6 @@ physical memory on your platform. Check the documentation for these
|
||||
option settings for details:
|
||||
|
||||
* :option:`hv.MEMORY.PLATFORM_RAM_SIZE`
|
||||
* :option:`hv.MEMORY.SOS_RAM_SIZE`
|
||||
* :option:`hv.MEMORY.UOS_RAM_SIZE`
|
||||
* :option:`hv.MEMORY.HV_RAM_SIZE`
|
||||
|
||||
Check the :ref:`acrn_configuration_tool` for more information on how
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -137,7 +135,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -72,7 +70,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -137,7 +135,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -72,7 +70,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x800000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x800000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -137,7 +135,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE>0x16800000</HV_RAM_SIZE>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x800000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x800000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -50,8 +50,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
|
@ -50,8 +50,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
@ -147,7 +145,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -53,8 +53,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
@ -148,7 +146,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -50,8 +50,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
@ -148,7 +146,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -53,8 +53,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
|
@ -50,8 +50,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
|
@ -50,8 +50,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
@ -79,7 +77,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -5,8 +5,6 @@ CONFIG_HV_RAM_START=0x11000000
|
||||
CONFIG_HV_RAM_SIZE=0x9600000
|
||||
CONFIG_PLATFORM_RAM_SIZE=0x400000000
|
||||
CONFIG_LOW_RAM_SIZE=0x00010000
|
||||
CONFIG_SOS_RAM_SIZE=0x400000000
|
||||
CONFIG_UOS_RAM_SIZE=0x200000000
|
||||
CONFIG_STACK_SIZE=0x2000
|
||||
CONFIG_IVSHMEM_ENABLED=n
|
||||
CONFIG_GPU_SBDF=0x00000010
|
||||
|
@ -80,7 +80,6 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
.cpu_affinity = SOS_VM_CONFIG_CPU_AFFINITY,
|
||||
.memory = {
|
||||
.start_hpa = 0UL,
|
||||
.size = CONFIG_SOS_RAM_SIZE,
|
||||
},
|
||||
.os_config = {
|
||||
.name = "ACRN Service OS",
|
||||
|
@ -5,8 +5,6 @@ CONFIG_HV_RAM_START=0x11000000
|
||||
CONFIG_HV_RAM_SIZE=0xc000000
|
||||
CONFIG_PLATFORM_RAM_SIZE=0x400000000
|
||||
CONFIG_LOW_RAM_SIZE=0x00010000
|
||||
CONFIG_SOS_RAM_SIZE=0x400000000
|
||||
CONFIG_UOS_RAM_SIZE=0x200000000
|
||||
CONFIG_STACK_SIZE=0x2000
|
||||
CONFIG_IVSHMEM_ENABLED=y
|
||||
CONFIG_GPU_SBDF=0x00000010
|
||||
|
@ -82,7 +82,6 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
.cpu_affinity = SOS_VM_CONFIG_CPU_AFFINITY,
|
||||
.memory = {
|
||||
.start_hpa = 0UL,
|
||||
.size = CONFIG_SOS_RAM_SIZE,
|
||||
},
|
||||
.os_config = {
|
||||
.name = "ACRN Service OS",
|
||||
|
@ -5,8 +5,6 @@ CONFIG_HV_RAM_START=0x11000000
|
||||
CONFIG_HV_RAM_SIZE=0x14800000
|
||||
CONFIG_PLATFORM_RAM_SIZE=0x400000000
|
||||
CONFIG_LOW_RAM_SIZE=0x00010000
|
||||
CONFIG_SOS_RAM_SIZE=0x400000000
|
||||
CONFIG_UOS_RAM_SIZE=0x200000000
|
||||
CONFIG_STACK_SIZE=0x2000
|
||||
CONFIG_IVSHMEM_ENABLED=n
|
||||
CONFIG_GPU_SBDF=0x00000010
|
||||
|
@ -24,7 +24,6 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
.cpu_affinity = SOS_VM_CONFIG_CPU_AFFINITY,
|
||||
.memory = {
|
||||
.start_hpa = 0UL,
|
||||
.size = CONFIG_SOS_RAM_SIZE,
|
||||
},
|
||||
.os_config = {
|
||||
.name = "ACRN Service OS",
|
||||
|
@ -5,8 +5,6 @@ CONFIG_HV_RAM_START=0x11000000
|
||||
CONFIG_HV_RAM_SIZE=0x7800000
|
||||
CONFIG_PLATFORM_RAM_SIZE=0x400000000
|
||||
CONFIG_LOW_RAM_SIZE=0x00010000
|
||||
CONFIG_SOS_RAM_SIZE=0x400000000
|
||||
CONFIG_UOS_RAM_SIZE=0x200000000
|
||||
CONFIG_STACK_SIZE=0x2000
|
||||
CONFIG_IVSHMEM_ENABLED=n
|
||||
CONFIG_GPU_SBDF=0x00000010
|
||||
|
@ -51,8 +51,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
@ -148,7 +146,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -51,8 +51,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
@ -146,7 +144,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -51,8 +51,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
|
@ -51,8 +51,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -137,7 +135,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -72,7 +70,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -133,7 +131,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -68,7 +66,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE>0x07800000</HV_RAM_SIZE>
|
||||
<HV_RAM_START>0x11000000</HV_RAM_START>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x20000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x100000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x100000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -68,7 +66,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x480000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x480000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -133,7 +131,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -39,8 +39,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x480000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x480000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -135,7 +133,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -39,8 +39,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x480000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x480000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x480000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x480000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x480000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x480000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -68,7 +66,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -133,7 +131,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -136,7 +134,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -68,7 +66,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -133,7 +131,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -136,7 +134,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -36,8 +36,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
|
@ -40,8 +40,6 @@
|
||||
<HV_RAM_SIZE/>
|
||||
<HV_RAM_START/>
|
||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE>0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE>0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
@ -72,7 +70,6 @@
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>CONFIG_SOS_RAM_SIZE</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name>ACRN Service OS</name>
|
||||
|
@ -114,8 +114,6 @@ def get_memory(hv_info, config):
|
||||
|
||||
print("CONFIG_PLATFORM_RAM_SIZE={}".format(hv_info.mem.platform_ram_size), file=config)
|
||||
print("CONFIG_LOW_RAM_SIZE={}".format(hv_info.mem.low_ram_size), file=config)
|
||||
print("CONFIG_SOS_RAM_SIZE={}".format(hv_info.mem.sos_ram_size), file=config)
|
||||
print("CONFIG_UOS_RAM_SIZE={}".format(hv_info.mem.uos_ram_size), file=config)
|
||||
print("CONFIG_STACK_SIZE={}".format(hv_info.mem.stack_size), file=config)
|
||||
print("CONFIG_IVSHMEM_ENABLED={}".format(hv_info.mem.ivshmem_enable), file=config)
|
||||
|
||||
|
@ -163,8 +163,6 @@ class Memory:
|
||||
self.hv_ram_size = common.get_hv_item_tag(self.hv_file, "MEMORY", "HV_RAM_SIZE")
|
||||
self.hv_ram_start = common.get_hv_item_tag(self.hv_file, "MEMORY", "HV_RAM_START")
|
||||
self.platform_ram_size = common.get_hv_item_tag(self.hv_file, "MEMORY", "PLATFORM_RAM_SIZE")
|
||||
self.sos_ram_size = common.get_hv_item_tag(self.hv_file, "MEMORY", "SOS_RAM_SIZE")
|
||||
self.uos_ram_size = common.get_hv_item_tag(self.hv_file, "MEMORY", "UOS_RAM_SIZE")
|
||||
self.ivshmem_enable = common.get_hv_item_tag(self.hv_file, "FEATURES", "IVSHMEM", "IVSHMEM_ENABLED")
|
||||
self.ivshmem_region = common.get_hv_item_tag(self.hv_file, "FEATURES", "IVSHMEM", "IVSHMEM_REGION")
|
||||
|
||||
@ -172,8 +170,6 @@ class Memory:
|
||||
hv_cfg_lib.hv_size_check(self.stack_size, "MEMORY", "STACK_SIZE")
|
||||
hv_cfg_lib.hv_size_check(self.low_ram_size, "MEMORY", "LOW_RAM_SIZE")
|
||||
hv_cfg_lib.hv_size_check(self.platform_ram_size, "MEMORY", "PLATFORM_RAM_SIZE")
|
||||
hv_cfg_lib.hv_size_check(self.sos_ram_size, "MEMORY", "SOS_RAM_SIZE")
|
||||
hv_cfg_lib.hv_size_check(self.uos_ram_size, "MEMORY", "UOS_RAM_SIZE")
|
||||
hv_cfg_lib.ny_support_check(self.ivshmem_enable, "FEATURES", "IVSHMEM", "IVSHMEM_ENABLED")
|
||||
|
||||
|
||||
|
@ -32,7 +32,7 @@ VUART_IRQ = ['SOS_COM1_IRQ', 'SOS_COM2_IRQ', 'COM1_IRQ', 'COM2_IRQ', 'COM3_IRQ',
|
||||
|
||||
# Support 512M, 1G, 2G
|
||||
# pre launch less then 2G, sos vm less than 24G
|
||||
START_HPA_SIZE_LIST = ['0x20000000', '0x40000000', '0x80000000', 'CONFIG_SOS_RAM_SIZE']
|
||||
START_HPA_SIZE_LIST = ['0x20000000', '0x40000000', '0x80000000']
|
||||
|
||||
COMMUNICATE_VM_ID = []
|
||||
|
||||
|
@ -260,7 +260,6 @@ def gen_sos_vm(vm_type, vm_i, scenario_items, config):
|
||||
cpu_affinity_output(vm_info, vm_i, config)
|
||||
print("\t\t.memory = {", file=config)
|
||||
print("\t\t\t.start_hpa = {}UL,".format(vm_info.mem_info.mem_start_hpa[vm_i]), file=config)
|
||||
print("\t\t\t.size = {0},".format("CONFIG_SOS_RAM_SIZE"), file=config)
|
||||
print("\t\t},", file=config)
|
||||
print("\t\t.os_config = {", file=config)
|
||||
print('\t\t\t.name = "{0}",'.format(vm_info.os_cfg.kern_name[vm_i]), file=config)
|
||||
|
@ -111,7 +111,7 @@ aligned.</xs:documentation>
|
||||
VM.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="size" type="MemorySizeType" default="0x20000000">
|
||||
<xs:element name="size" type="MemorySizeType" default="0x20000000" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The memory size in bytes for the VM. Default
|
||||
value is ``0x200000000``.</xs:documentation>
|
||||
|
@ -186,18 +186,6 @@ the RAM region used by the hypervisor.</xs:documentation>
|
||||
``0x10000``, starting from address ``0x0``.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="UOS_RAM_SIZE" type="HexFormat" default="0x200000000">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Size of the User VM OS RAM region. Default
|
||||
value ``0x200000000``.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="SOS_RAM_SIZE" type="HexFormat" default="0x400000000">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Size of the Service VM OS RAM region. Default
|
||||
value ``0x400000000``.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="PLATFORM_RAM_SIZE" type="HexFormat" default="0x400000000">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Size of the physical platform RAM. Default
|
||||
|
@ -57,17 +57,11 @@
|
||||
<xs:union memberTypes="None MaxMsixTableNumType" />
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="SOSRamSize">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="CONFIG_SOS_RAM_SIZE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="MemorySizeType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>An Integer value in hexadecimal format.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:union memberTypes="SOSRamSize HexFormat" />
|
||||
<xs:union memberTypes="HexFormat" />
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="LogLevelType">
|
||||
|
@ -139,14 +139,6 @@
|
||||
<xsl:with-param name="key" select="'LOW_RAM_SIZE'" />
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:call-template name="integer-by-key">
|
||||
<xsl:with-param name="key" select="'SOS_RAM_SIZE'" />
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:call-template name="integer-by-key">
|
||||
<xsl:with-param name="key" select="'UOS_RAM_SIZE'" />
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:call-template name="integer-by-key">
|
||||
<xsl:with-param name="key" select="'STACK_SIZE'" />
|
||||
</xsl:call-template>
|
||||
|
Loading…
Reference in New Issue
Block a user