Properly initialise the C runtime environment
authorSandrine Bailleux <sandrine.bailleux@arm.com>
Thu, 28 Nov 2013 09:43:06 +0000 (09:43 +0000)
committerDan Handley <dan.handley@arm.com>
Thu, 5 Dec 2013 11:33:15 +0000 (11:33 +0000)
commit65f546a14fbc0438c051b4243f71abd2206a7307
tree1187ac9d3eb596ecb61ac4568969041392764a14
parent8d69a03f6a7db3c437b7cfdd15402627277d8cb4
Properly initialise the C runtime environment

This patch makes sure the C runtime environment is properly
initialised before executing any C code.

  - Zero-initialise NOBITS sections (e.g. the bss section).
  - Relocate BL1 data from ROM to RAM.

Change-Id: I0da81b417b2f0d1f7ef667cc5131b1e47e22571f
bl1/aarch64/bl1_entrypoint.S
bl2/aarch64/bl2_entrypoint.S
bl31/aarch64/bl31_entrypoint.S
lib/arch/aarch64/misc_helpers.S
plat/fvp/bl1_plat_setup.c