acrn-config: Fixes for BAR remapping logic

This patch does the following
1) Removes the limitation on BAR size for 1 GB
2) Align the BAR address to the BAR size

Tracked-On: #4586
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
Acked-by: Terry Zou <terry.zou@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Sainath Grandhi
2020-04-02 22:42:14 -07:00
committed by wenlingz
parent dc7f218314
commit 140077f225
3 changed files with 8 additions and 15 deletions

View File

@@ -29,7 +29,7 @@ SIZE_K = 1024
SIZE_M = SIZE_K * 1024
SIZE_2G = 2 * SIZE_M * SIZE_K
SIZE_4G = 2 * SIZE_2G
SIZE_G = SIZE_M * 1024
class MultiItem():