mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-09 14:10:11 +00:00
MISRA C requires that all unsigned constants should have the suffix 'U/UL'(e.g. 0xffU), but the assembler may not accept such C-style constants. To work this around, all unsigned constants must be explicitly spells out in assembly with a comment tracking the original expression from which the magic number is calculated. Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com>
7.4 KiB
7.4 KiB