acrn-hypervisor/hypervisor/arch/x86
Shiqing Gao f4ca3cc571 hv: instr_emul: fix 'Parameter indexing array too big at call'
- explicitly declare the array size of 'size2mask[]'
  otherwise, the static checking tool treats the array size to be 4, so
that it complains when accessing index '4' or '8'

- unify the comments style and make sure the line length less than 80

Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2018-07-19 13:13:20 +08:00
..
configs HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
debug HV: prototyping non-static function 2018-07-16 10:35:54 +08:00
guest hv: instr_emul: fix 'Parameter indexing array too big at call' 2018-07-19 13:13:20 +08:00
assign.c HV: bug fix on emulating msi message from guest 2018-07-19 11:09:09 +08:00
cpu_primary.S HV:treewide:Replace HOST_GDT_RING0_CODE/DATA_SEL with constant 2018-07-18 12:31:42 +08:00
cpu_state_tbl.c HV:CPU: Add 'U/UL' for unsigned const value 2018-07-09 10:27:21 +08:00
cpu.c HV:common:fix "integer type violations" 2018-07-18 12:31:14 +08:00
cpuid.c HV: Fix missing brackets for MISRA C Violations 2018-07-13 09:09:12 +08:00
ept.c hv: mmu: replace ept_update_mt with ept_mr_modify 2018-07-19 11:11:32 +08:00
gdt.c HV:misc:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
idt.S HV:treewide:Replace HOST_GDT_RING0_CODE/DATA_SEL with constant 2018-07-18 12:31:42 +08:00
io.c HV: coding style cleanup for TRACE_2L & TRACE_4I usage 2018-07-16 10:32:14 +08:00
ioapic.c HV: Fixes index out of bounds for addressing irq. 2018-07-19 11:06:42 +08:00
irq.c HV: Fixes index out of bounds for addressing irq. 2018-07-19 11:06:42 +08:00
Kconfig HV: build: make relocation-related code configurable 2018-07-11 19:18:26 +08:00
lapic.c hv: change several APIs to void type 2018-07-18 12:30:37 +08:00
mmu.c hv: mmu: replace modify_mem with mmu_modify 2018-07-19 11:11:32 +08:00
mtrr.c HV:treewide:Fix type conversion in VMX, timer and MTTR module 2018-07-19 12:58:07 +08:00
notify.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00
pagetable.c hv: mmu: revisit mmu modify page table attributes 2018-07-19 11:11:32 +08:00
pm.c HV: pm: cleanup for misra integral type violations 2018-07-12 17:31:11 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
softirq.c HV: handle integral issue report by MISRA-C 2018-07-16 16:24:29 +08:00
timer.c HV:treewide:Fix type conversion in VMX, timer and MTTR module 2018-07-19 12:58:07 +08:00
trampoline.S HV:treewide:Replace HOST_GDT_RING0_CODE/DATA_SEL with constant 2018-07-18 12:31:42 +08:00
trusty2.c [REVERT-ME]:handle discontinuous hpa for trusty 2018-07-11 11:11:24 +08:00
trusty.c HV:treewide:Update exec_vmread/exec_vmwrite and exec_vmread64/exec_vmwrite64 2018-07-18 12:31:42 +08:00
virq.c HV:treewide:Add exec_vmread32 and exec_vmwrite32 functions 2018-07-18 12:31:42 +08:00
vmexit.c HV:treewide:Fix type conversion in VMX, timer and MTTR module 2018-07-19 12:58:07 +08:00
vmx_asm.S HV:CPU:Constant values replace with CPU MACRO 2018-07-09 09:24:56 +08:00
vmx.c HV:treewide:Fix type conversion in VMX, timer and MTTR module 2018-07-19 12:58:07 +08:00
vtd.c hv: change several APIs to void type 2018-07-18 12:30:37 +08:00
wakeup.S HV:CPU:Fix a mistake introduced by MARCO replacing patch 2018-07-13 11:27:56 +08:00