acrn-hypervisor/hypervisor/arch/x86
Shiqing Gao a71dedecd4 hv: treewide: fix 'Array has no bounds specified'
MISRAC requires that the array size should be declared explicitly.

This patch fixes the issues caused by the arrays that are defined in
link_ram.ld.in or assembly file.

v1 -> v2:
 * Update the solution based on the info from the following link.
   https://sourceware.org/binutils/docs/ld/Source-Code-Reference.html

   Fix pattern is like below:
   extern char start_of_ROM, end_of_ROM, start_of_FLASH;
   memcpy (& start_of_FLASH, & start_of_ROM, & end_of_ROM - &
start_of_ROM);

Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-08-03 12:40:21 +08:00
..
configs HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
debug hv:Rename port/mmio read and write APIs 2018-08-02 14:03:38 +08:00
guest hv:Replace 0(cpu_id) with BOOT_CPU_ID 2018-08-03 11:27:52 +08:00
assign.c HV:treewide:fix "Reference parameter to procedure is reassigned" 2018-07-27 12:17:12 +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 fix x86 dir integer violations 2018-07-25 15:29:34 +08:00
cpu.c hv: treewide: fix 'Array has no bounds specified' 2018-08-03 12:40:21 +08:00
cpuid.c HV:treewide:fix "Attempt to change parameter passed by value" 2018-07-26 09:35:52 +08:00
ept.c HV:treewide:rename enum vpic_wire_mode, stack_canary, segment_override, pde_index 2018-07-31 11:20:21 +08:00
gdt.c fix x86 dir integer violations 2018-07-25 15:29:34 +08:00
idt.S hv: cpu: using struct cpu_gp_regs for general-purpose regs in inter_excp_ctx 2018-07-25 13:05:38 +08:00
io.c HV:fix rest integer violations 2018-08-02 09:51:58 +08:00
ioapic.c hv:Rename port/mmio read and write APIs 2018-08-02 14:03:38 +08:00
irq.c hv:Rename port/mmio read and write APIs 2018-08-02 14:03:38 +08:00
Kconfig HV: Add Partitioning mode option for ACRN 2018-08-02 12:58:09 +08:00
lapic.c hv:Rename port/mmio read and write APIs 2018-08-02 14:03:38 +08:00
mmu.c HV:treewide:rename struct key_info, pir_desc, map_params 2018-07-30 10:18:39 +08:00
mtrr.c HV: Refine invalid parameter handling in hypervisor shell 2018-08-02 14:34:30 +08:00
notify.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00
pagetable.c hv: ept: add lookup_address to lookup the page table 2018-07-26 12:46:34 +08:00
pm.c hv:Rename port/mmio read and write APIs 2018-08-02 14:03:38 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
timer.c hv: cpu: remove unnecessary cpu_id valid check 2018-08-02 15:21:34 +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 HV:fix rest integer violations 2018-08-02 09:51:58 +08:00
trusty.c HV:treewide:avoid using multiple # or ## in a macro 2018-08-02 13:10:16 +08:00
virq.c hv:Rename port/mmio read and write APIs 2018-08-02 14:03:38 +08:00
vmexit.c hv: softirq: refine softirq 2018-08-01 11:36:27 +08:00
vmx_asm.S hv: cpu: align general-purpose register layout with vmx 2018-07-25 13:05:38 +08:00
vmx.c hv:Replace 0(cpu_id) with BOOT_CPU_ID 2018-08-03 11:27:52 +08:00
vtd.c hv:Rename port/mmio read and write APIs 2018-08-02 14:03:38 +08:00
wakeup.S hv: cpu: align general-purpose register layout with vmx 2018-07-25 13:05:38 +08:00