mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-04 05:09:49 +00:00
In the hypervisor, virtual cpu id is defined as "int" or "uint32_t" type in the hypervisor. So there are some sign conversion issues about virtual cpu id (vcpu_id) reported by static analysis tool. Sign conversion violates the rules of MISRA C:2012. BTW, virtual cpu id has different names (vcpu_id, cpu_id, logical_id) for different modules of HV, its type is defined as "int" or "uint32_t" in the HV. cpu_id type and logical_id type clean up will be done in other patchs. V1-->V2: More clean up the type of vcpu id; "%hu" is for vcpu id in the print function. Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com> |
||
---|---|---|
.. | ||
console.c | ||
dump.c | ||
logmsg.c | ||
printf.c | ||
sbuf.c | ||
serial_internal.h | ||
serial.c | ||
shell_internal.c | ||
shell_internal.h | ||
shell_public.c | ||
uart16550.c | ||
uart16550.h | ||
vuart.c |