acrn-hypervisor/hypervisor/debug
Xiangyang Wu 188210ab03 HV:Treewide:Update the type of vcpu id as uint16_t
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>
2018-07-04 14:28:52 +08:00
..
console.c HV:debug:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
dump.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
logmsg.c HV: timer: keep TSC frequency in KHz 2018-07-03 10:18:06 +08:00
printf.c HV:debug:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
sbuf.c HV:debug:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
serial_internal.h HV:debug:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
serial.c HV:debug:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
shell_internal.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
shell_internal.h HV:debug:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
shell_public.c hv: add shell command to trigger crash 2018-06-19 15:32:04 +08:00
uart16550.c HV:debug:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
uart16550.h HV: treewide: convert hexadecimals used in bitops to unsigned 2018-06-21 13:12:39 +08:00
vuart.c HV:treewide:transfer the struct member types to non-basic types 2018-06-29 15:48:19 +08:00