acrn-hypervisor/hypervisor/include/arch/x86/guest
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
..
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 'Array has no bounds specified' 2018-08-03 12:40:21 +08:00
ucode.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vcpu.h hv:Replace 0(cpu_id) with BOOT_CPU_ID 2018-08-03 11:27:52 +08:00
vioapic.h hv:fix return value violation for vioapic_get_rte 2018-08-02 14:47:43 +08:00
vlapic.h hv: treewide: fix 'Function prototype/defn param type mismatch' 2018-08-01 15:53:29 +08:00
vm.h hv: add vm restart API 2018-08-02 13:14:03 +08:00
vpic.h HV:treewide:rename struct vpic as struct acrn_vpic 2018-07-27 11:27:12 +08:00