mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 09:06:30 +00:00
There are size2mask array to convert addsize to corresponding mask and function vie_size2mask doing the same thing except validation check of addrsize. Theoretically, addrsize can only be one of (1, 2, 4, 8). So, the check of addrsize is unnecessary. This patch remove vie_size2mask and use size2maks directly. Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>