acrn-hypervisor/hypervisor/boot
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
..
include hv: treewide: fix 'Array has no bounds specified' 2018-08-03 12:40:21 +08:00
sbl HV: stop retrieving seed from multiboot modules 2018-07-27 11:27:46 +08:00
acpi.c HV: prototyping non-static function 2018-07-16 10:35:54 +08:00
dmar_parse.c hv:Rename port/mmio read and write APIs 2018-08-02 14:03:38 +08:00
reloc.c hv: treewide: fix 'Array has no bounds specified' 2018-08-03 12:40:21 +08:00