Files
acrn-hypervisor/hypervisor/arch/x86
Shiqing Gao 67038794af hv: treewide: convert some MACROs to inline functions
MISRA-C requires that each parameter in the MACRO shall be in brackets.

In some cases, adding brackets for all of the parameters may not be a
perfect solution.
For example, it may affect the code readability when there are many
parameters used in the MACRO.
And duplicated brackets will appear when one MACRO called another MACRO
which is using same parameters.

This patch convert some MACROs to inline functions to avoid such cases.

v1 -> v2:
 * Remove the unnecessary changes in hypervisor/bsp/uefi/efi/boot.h

Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2018-09-04 12:27:18 +08:00
..
2018-09-03 09:32:49 +08:00
2018-09-03 09:32:49 +08:00
2018-08-31 11:18:26 +08:00
2018-08-23 08:54:54 +08:00
2018-09-03 09:32:49 +08:00
2018-08-16 16:24:13 +08:00