acrn-hypervisor/hypervisor/debug
junjunshan1 7dd35cb72e hv: Fix identifier reuse
Now we have name reuse definitions in hypervisor as following:
"enum cpu_state cpu_state" in per_cpu.h,
"struct shell_cmd *shell_cmd" in shell_priv.h.
MISRAC requires that tag names shall not be reused anywhere
with in a program.So these definitions violate MISRAC rules
"identifier resue".This patch is used to fix it.

1. modify the definitions to "enum pcpu_boot_state boot_state"
and "struct shell_cmd *cmds".
2. modifty the relevant usage.

v1->v2
    update commit message to be more explicit.

v2->v3
    update the enum definition.

Tracked-On: #861
Signed-off-by: Junjun Shan <junjun.shan@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-10-15 09:04:34 +08:00
..
console.c hv:clear up the usage of printf data struct 2018-09-28 16:40:07 +08:00
dump.c hv: fix ramdump regression 2018-09-26 10:41:09 +08:00
logmsg.c hv: fix 'No brackets to then/else' 2018-10-11 16:48:11 +08:00
npk_log.c hv: fix 'No brackets to then/else' 2018-10-11 16:48:11 +08:00
printf.c hv:Clear up printf related definition 2018-09-28 13:59:38 +08:00
sbuf.c HV:change the return type of sbuf_get and sbuf_put 2018-10-10 13:02:00 +08:00
shell.c hv: Fix identifier reuse 2018-10-15 09:04:34 +08:00
shell_priv.h hv: Fix identifier reuse 2018-10-15 09:04:34 +08:00
uart16550.c hv:clear up the usage of printf data struct 2018-09-28 16:40:07 +08:00
uart16550.h hv:clear up the usage of printf data struct 2018-09-28 16:40:07 +08:00
vuart.c vuart: assert COM1_IRQ based on its pin's polarity 2018-10-11 16:04:02 +08:00