From c972aeae227729f20f54a913e9eddd7fe3b6312b Mon Sep 17 00:00:00 2001 From: Chenli Wei Date: Wed, 11 May 2022 18:59:53 +0800 Subject: [PATCH] misc: define the MAX_VUART_NUM_PER_VM by offline tool The current code define MAX_VUART_NUM_PER_VM for all VM and it's a hard code which can't match our vUART logic which need dynamic setting. This patch move the define of MAX_VUART_NUM_PER_VM to offline tool and calculate it automatically. Tracked-On: #8782 Signed-off-by: Chenli Wei Reviewed-by: Junjie Mao --- misc/config_tools/xforms/vm_configurations.h.xsl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/misc/config_tools/xforms/vm_configurations.h.xsl b/misc/config_tools/xforms/vm_configurations.h.xsl index b596ef692..f91c2720c 100644 --- a/misc/config_tools/xforms/vm_configurations.h.xsl +++ b/misc/config_tools/xforms/vm_configurations.h.xsl @@ -9,6 +9,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dyn="http://exslt.org/dynamic" xmlns:math="http://exslt.org/math" + xmlns:str="http://exslt.org/strings" xmlns:acrn="http://projectacrn.org"> @@ -32,6 +33,21 @@ + + + + + + + + + + + + + + +