acrn-hypervisor/hypervisor/include
Junjie Mao 7b548e87db HV: cpu: convert hexadecimals used in bitops to unsigned
Per MISRA C, operands to bit-wise operations should have unsigned
types. However, C99 prioritizes to use signed integers for hexadecimal constants
without the 'U' suffixes, leading to tons of bit operations on signed integers.

This patch series add the 'U' suffixes to the constants which are used in bit
operations, and add the intended width of these integers when applicable
(i.e. the target value is at least 32-bit wide) to avoid functional differences
due to signed vs. unsigned extensions. The rule of thumb is:

    '0' for signed char/short/int
    '0U' for unsigned char/short/int
    '0L' for signed long (should be 64-bit)
    '0UL' for unsigned long (should be 64-bit)

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2018-06-21 13:12:39 +08:00
..
arch/x86 HV: cpu: convert hexadecimals used in bitops to unsigned 2018-06-21 13:12:39 +08:00
common fix parted of "missing for discarded return value" 2018-06-19 16:21:45 +08:00
debug HV:header:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
lib HV:header:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
public HV: add bsp acpi info support 2018-06-13 15:02:03 +08:00
hv_debug.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hv_lib.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hypervisor.h HV: config: adapt to the generated config.h 2018-06-08 17:21:13 +08:00