mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-16 08:26:41 +00:00
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:
parent
1aa04a61d6
commit
11230765c1
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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")
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user