From ba9f339f2e49a9eee78408fc59d1d7b5a08b622f Mon Sep 17 00:00:00 2001 From: "Yang,Yu-chu" Date: Mon, 1 Nov 2021 15:19:28 -0700 Subject: [PATCH] config-tools: refine acrn:get-common-clos-max Rename function name to get-common-clos-count and refine the calculation. Some platforms have odd clos counts. Using "floor" to get integer numbers for macros. Tracked-On: #6755 Signed-off-by: Yang,Yu-chu --- misc/config_tools/xforms/lib.xsl | 17 +++++++++-------- misc/config_tools/xforms/misc_cfg.h.xsl | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/misc/config_tools/xforms/lib.xsl b/misc/config_tools/xforms/lib.xsl index 1f62babb8..941c04cdf 100644 --- a/misc/config_tools/xforms/lib.xsl +++ b/misc/config_tools/xforms/lib.xsl @@ -400,34 +400,35 @@ - + - + - + - + - + + - + - - + + diff --git a/misc/config_tools/xforms/misc_cfg.h.xsl b/misc/config_tools/xforms/misc_cfg.h.xsl index ddcd75ab6..7ae8c1866 100644 --- a/misc/config_tools/xforms/misc_cfg.h.xsl +++ b/misc/config_tools/xforms/misc_cfg.h.xsl @@ -136,7 +136,7 @@ Max number of MBA delay entries corresponding to each CLOS. --> - +