acrn-hypervisor/hypervisor/boot
Shiqing Gao 366042cac2 hv: fix integer violations
- Fix the integer violations related to the following rules:
  1. The operands to shift operations (<<, >>) shall be unsigned
     integers.
  2. The operands to bit operations (&, |, ~) shall be unsigned
     integers.

- Replace 12U with CPU_PAGE_SHIFT when it is address shift case.

v1 -> v2:
 * use existed MACRO to get bus/slot/func values
 * update PCI_SLOT MACRO to make it more straightforward
 * remove the incorrect replacement of 12U with CPU_PAGE_SHIFT
   dmar_fault_msi_write

Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-11-06 16:18:56 +08:00
..
include hv: Add MAX_PCPU_NUM in Kconfig 2018-10-29 10:14:25 +08:00
sbl HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
acpi.c hv:Check pcpu number to avoid overflow 2018-10-29 10:14:25 +08:00
dmar_parse.c hv: fix integer violations 2018-11-06 16:18:56 +08:00
reloc.c hv: fix integer violations 2018-11-06 16:18:56 +08:00