arm64: KVM: Implement the core world switch
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 21 Oct 2015 08:57:10 +0000 (09:57 +0100)
committerAlex Shi <alex.shi@linaro.org>
Wed, 9 Nov 2016 14:15:44 +0000 (22:15 +0800)
commit1980361d468b1245235abf9240962d1a766a9c2d
tree2f0ce2c7adbb92b34f8e47269990d8ebf8599de1
parent6552c0046751e0da63df9799060a82b1012c09b8
arm64: KVM: Implement the core world switch

Implement the core of the world switch in C. Not everything is there
yet, and there is nothing to re-enter the world switch either.

But this already outlines the code structure well enough.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit be901e9b15cd2c8e48dc089b4655ea4a076e66fd)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm64/kvm/hyp/Makefile
arch/arm64/kvm/hyp/switch.c [new file with mode: 0644]