mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-10 21:29:20 +00:00
hv: use per platform maximum physical address width
MAXIMUM_PA_WIDTH will be calculated from board information. Tracked-On: #6357 Signed-off-by: Liang Yi <yi.liang@intel.com> Signed-off-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
@@ -37,6 +37,10 @@
|
||||
<xsl:template match="board-data/acrn-config">
|
||||
<xsl:call-template name="MAX_PCPU_NUM" />
|
||||
<xsl:call-template name="MAX_VMSIX_ON_MSI_PDEVS_NUM" />
|
||||
<xsl:variable name="physical_address_bits" select="//processors/model/attribute[@id='physical_address_bits']/text()" />
|
||||
<xsl:if test="$physical_address_bits">
|
||||
<xsl:value-of select="acrn:define('MAXIMUM_PA_WIDTH', $physical_address_bits[1], 'U')" />
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="allocation-data/acrn-config">
|
||||
|
Reference in New Issue
Block a user