]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: hyp vectors installation
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Fri, 13 Jun 2014 12:10:43 +0000 (13:10 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 19 Dec 2014 08:57:47 +0000 (09:57 +0100)
commit033e5b94629c6d380b8cd9ae764c71aab2522e4d
tree292a24364b44fe657ca4c453dd027168270e4235
parentf1e5260aabe85b842a64fc4a62ce920ea1f5003a
arm: hyp vectors installation

The EL2 installation is done in two times:
- First, an HVC is issued to jump into the kernel stub and install the
  bootstrap vectors.
- Then, a second HVC allows the setup code to switch to physical address
  space.
Execution continues at EL2. Once the whole initialisation is done, the
final vectors are installed, and arch_cpu_activate_vmm will do an ERET
to jump back to the kernel, which is now a guest.

Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/Makefile
hypervisor/arch/arm/entry.S
hypervisor/arch/arm/exception.S [new file with mode: 0644]
hypervisor/arch/arm/include/asm/percpu.h
hypervisor/arch/arm/include/asm/processor.h
hypervisor/arch/arm/include/asm/setup.h [new file with mode: 0644]
hypervisor/arch/arm/include/asm/setup_mmu.h [new file with mode: 0644]
hypervisor/arch/arm/include/asm/sysregs.h
hypervisor/arch/arm/mmu_hyp.c [new file with mode: 0644]
hypervisor/arch/arm/setup.c