X-Git-Url: https://rtime.felk.cvut.cz/gitweb/jailhouse.git/blobdiff_plain/4e0ea74420900c7a66d265117b09fddbc3aaa754..f053c948f5b6fe7b9ec5cf6533e177fd42113ba3:/inmates/lib/arm/header.S diff --git a/inmates/lib/arm/header.S b/inmates/lib/arm/header.S index b8501e4..72631cf 100644 --- a/inmates/lib/arm/header.S +++ b/inmates/lib/arm/header.S @@ -2,9 +2,11 @@ * Jailhouse, a Linux-based partitioning hypervisor * * Copyright (c) ARM Limited, 2014 + * Copyright (c) Siemens AG, 2016 * * Authors: * Jean-Philippe Brucker + * Jan Kiszka * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. @@ -41,6 +43,14 @@ __reset_entry: ldr r0, =vectors mcr p15, 0, r0, c12, c0, 0 @ VBAR + mov r0, #0 + ldr r1, =bss_start + ldr r2, =bss_dwords +1: str r0, [r1] + add r1, #4 + subs r2, #1 + bne 1b + ldr sp, =stack_top b inmate_main