config_tools: remove LOW_RAM_SIZE

remove LOW_RAM_SIZE in the related python code, schema and
all existing scenario XMLs because PR #6791 have removed it.

Tracked-On: #6805
Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
This commit is contained in:
Kunhui-Li 2021-11-17 11:02:19 +08:00 committed by wenlingz
parent 1aa04a61d6
commit 11230765c1
22 changed files with 8 additions and 40 deletions

View File

@ -34,7 +34,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x800000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>
@ -260,4 +259,4 @@
</communication_vuart>
<PTM>n</PTM>
</vm>
</acrn-config>
</acrn-config>

View File

@ -34,7 +34,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x800000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>
@ -343,4 +342,4 @@
</communication_vuart>
<PTM>n</PTM>
</vm>
</acrn-config>
</acrn-config>

View File

@ -3,7 +3,6 @@
CONFIG_BOARD="generic_board"
CONFIG_HV_RAM_START=0x00400000
CONFIG_PLATFORM_RAM_SIZE=0x400000000
CONFIG_LOW_RAM_SIZE=0x00010000
CONFIG_STACK_SIZE=0x2000
CONFIG_IVSHMEM_ENABLED=n
CONFIG_GPU_SBDF=0x00000010

View File

@ -3,7 +3,6 @@
CONFIG_BOARD="generic_board"
CONFIG_HV_RAM_START=0x00400000
CONFIG_PLATFORM_RAM_SIZE=0x400000000
CONFIG_LOW_RAM_SIZE=0x00010000
CONFIG_STACK_SIZE=0x2000
CONFIG_IVSHMEM_ENABLED=n
CONFIG_GPU_SBDF=0x00000010

View File

@ -3,7 +3,6 @@
CONFIG_BOARD="generic_board"
CONFIG_HV_RAM_START=0x00400000
CONFIG_PLATFORM_RAM_SIZE=0x400000000
CONFIG_LOW_RAM_SIZE=0x00010000
CONFIG_STACK_SIZE=0x2000
CONFIG_IVSHMEM_ENABLED=n
CONFIG_GPU_SBDF=0x00000010

View File

@ -42,7 +42,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>

View File

@ -47,7 +47,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>

View File

@ -42,7 +42,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>

View File

@ -42,7 +42,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>

View File

@ -42,7 +42,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>

View File

@ -42,7 +42,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>

View File

@ -42,7 +42,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>

View File

@ -35,7 +35,6 @@
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<HV_RAM_START>0x11000000</HV_RAM_START>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x100000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>
@ -140,4 +139,4 @@
<target_uart_id>1</target_uart_id>
</communication_vuart>
</vm>
</acrn-config>
</acrn-config>

View File

@ -34,7 +34,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>
@ -203,4 +202,4 @@
</communication_vuart>
<PTM>n</PTM>
</vm>
</acrn-config>
</acrn-config>

View File

@ -34,7 +34,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>
@ -248,4 +247,4 @@
</communication_vuart>
<PTM>n</PTM>
</vm>
</acrn-config>
</acrn-config>

View File

@ -34,7 +34,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>
@ -176,4 +175,4 @@
<TPM2>n</TPM2>
</mmio_resources>
</vm>
</acrn-config>
</acrn-config>

View File

@ -34,7 +34,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>
@ -142,4 +141,4 @@
</communication_vuart>
<PTM>n</PTM>
</vm>
</acrn-config>
</acrn-config>

View File

@ -34,7 +34,6 @@
</FEATURES>
<MEMORY>
<STACK_SIZE>0x2000</STACK_SIZE>
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
</MEMORY>
<CAPACITIES>
@ -342,4 +341,4 @@
</communication_vuart>
<PTM>n</PTM>
</vm>
</acrn-config>
</acrn-config>

View File

@ -109,7 +109,6 @@ def get_memory(hv_info, config):
print("CONFIG_HV_RAM_START={}".format(hv_info.mem.hv_ram_start), file=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_STACK_SIZE={}".format(hv_info.mem.stack_size), file=config)
print("CONFIG_IVSHMEM_ENABLED={}".format(hv_info.mem.ivshmem_enable), file=config)

View File

@ -148,7 +148,6 @@ class Memory:
def __init__(self, hv_file):
self.hv_file = hv_file
self.stack_size = 0
self.low_ram_size = 0
self.hv_ram_start = 0
self.platform_ram_size = 0
self.sos_ram_size = 0
@ -158,7 +157,6 @@ class Memory:
def get_info(self):
self.stack_size = common.get_hv_item_tag(self.hv_file, "MEMORY", "STACK_SIZE")
self.low_ram_size = common.get_hv_item_tag(self.hv_file, "MEMORY", "LOW_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.ivshmem_enable = common.get_hv_item_tag(self.hv_file, "FEATURES", "IVSHMEM", "IVSHMEM_ENABLED")
@ -166,7 +164,6 @@ class Memory:
def check_item(self):
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_ram_start_check(self.hv_ram_start, "MEMORY", "HV_RAM_START")
hv_cfg_lib.hv_size_check(self.platform_ram_size, "MEMORY", "PLATFORM_RAM_SIZE")
hv_cfg_lib.ny_support_check(self.ivshmem_enable, "FEATURES", "IVSHMEM", "IVSHMEM_ENABLED")

View File

@ -201,12 +201,6 @@ three for specific exceptions.</xs:documentation>
the RAM region used by the hypervisor.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LOW_RAM_SIZE" type="HexFormat" default="0x00010000">
<xs:annotation>
<xs:documentation>Size of the low RAM region below address
``0x10000``, starting from address ``0x0``.</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

View File

@ -149,10 +149,6 @@
<xsl:with-param name="key" select="'PLATFORM_RAM_SIZE'" />
</xsl:call-template>
<xsl:call-template name="integer-by-key">
<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="'STACK_SIZE'" />
</xsl:call-template>