Add book3s_64 highmem asm code
authorAlexander Graf <agraf@suse.de>
Fri, 30 Oct 2009 05:47:07 +0000 (05:47 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Nov 2009 05:49:53 +0000 (16:49 +1100)
commit29eb61bca1e82dc59e4d9c575e6f21ce7a36d61d
tree27a875caac9136f5d6fb05aa1a35f5a7630aabed
parent3cea8c435d0b142eb2b3dd2c411a24aa1b32bfe4
Add book3s_64 highmem asm code

This is the of entry / exit code. In order to switch between host and guest
context, we need to switch register state and call the exit code handler on
exit.

This assembly file does exactly that. To finally enter the guest it calls
into book3s_64_slb.S. On exit it gets jumped at from book3s_64_slb.S too.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s_64_interrupts.S [new file with mode: 0644]