diff options
author | Alexander Graf <agraf@suse.de> | 2010-04-16 00:11:35 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 12:18:18 +0300 |
commit | 0737279427bef48f552b3ab63a6c0ba7491fe29f (patch) | |
tree | c7f5e50f36317176175b581125262405c157f570 /arch/powerpc/include/asm/mmu_context.h | |
parent | 786f19daa8b109ae6b96a351eee3a14b9f8b57d0 (diff) |
KVM: PPC: Add generic segment switching code
This is the code that will later be used instead of book3s_64_slb.S. It
does the last step of guest entry and the first generic steps of guest
exiting, once we have determined the interrupt is a KVM interrupt.
It also reads the last used instruction from the guest virtual address
space if necessary, to speed up that path.
The new thing about this file is that it makes use of generic long load
and store functions and calls a macro to fill in the actual segment
switching code. That still needs to be done differently for book3s_32 and
book3s_64.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm/mmu_context.h')
0 files changed, 0 insertions, 0 deletions