]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: IRQ handling skeleton
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Wed, 25 Jun 2014 13:48:05 +0000 (14:48 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 19 Dec 2014 10:04:07 +0000 (11:04 +0100)
commited88bf8bfe255d05e45970ba2f50350bab15af35
tree03647bd4e1a26fd28813788a2261c673f21b9748
parent2ce9d14ca4e26c7d8da634a8cb00602c628b766d
arm: IRQ handling skeleton

Since IRQs taken to HYP use a different vector, the trap handler needs to
be aware of the exit context. To this end, the patch adds an 'exit_reason'
field to the struct registers.
The structure is still passed to the dispatcher as a pointer to the stack,
but care must be taken to ignore the exit field when restoring the user
registers.

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/control.c [new file with mode: 0644]
hypervisor/arch/arm/exception.S
hypervisor/arch/arm/include/asm/control.h
hypervisor/arch/arm/include/asm/processor.h
hypervisor/arch/arm/setup.c