acrn-hypervisor/hypervisor/include/arch/x86/guest
Xiangyang Wu 6e77a8d5f1 HV:treewide:rename enum vpic_wire_mode, stack_canary, segment_override, pde_index
For data structure types "enum vpic_wire_mode, struct stack_canary",
its name is identical with variable name in the same scope.
This MISRA C  violation is detected by static analysis tool.
For variables "segment_override, pde_index", its name is identical
with function name. This MISRA C  violation is detected.
Naming convention rule:Variable name can be shortened from
its data structure type name.

The following udpates are made:
enum vpic_wire_mode vpic_wire_mode-->enum vpic_wire_mode wire_mode
struct stack_canary stack_canary-->struct stack_canary stk_canary
uint8_t segment_override:1 --> uint8_t seg_override:1
uint32_t pde_index--> uint32_t pde_idx

V1-->V2:
	Remove update "enum cpu_state cpu_state-->enum cpu_state state"
	and "enum irqstate irqstate-->enum irq_ops_mode ops_mode", other
	patch will cover it.
V2-->V3:
	Update "uint32_t pde_index--> uint32_t pde_idx".

Signed-off-by: Xiangyang Wu <xiangyang.wu@linux.intel.com>
2018-07-31 11:20:21 +08:00
..
guest_pm.h hv: treewide: fix 'No definition in system for prototyped procedure' 2018-07-20 10:38:32 +08:00
guest.h HV:treewide:fix "Reference parameter to procedure is reassigned" 2018-07-27 12:17:12 +08:00
ucode.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vcpu.h HV: io: refine state transitions of VHM requests 2018-07-31 10:22:03 +08:00
vioapic.h HV:treewide:fix "Reference parameter to procedure is reassigned" 2018-07-27 12:17:12 +08:00
vlapic.h HV:treewide:rename struct vlapic as struct acrn_vlapic 2018-07-27 11:27:12 +08:00
vm.h HV:treewide:rename enum vpic_wire_mode, stack_canary, segment_override, pde_index 2018-07-31 11:20:21 +08:00
vpic.h HV:treewide:rename struct vpic as struct acrn_vpic 2018-07-27 11:27:12 +08:00