]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Add SR swapping code
authorAlexander Graf <agraf@suse.de>
Thu, 15 Apr 2010 22:11:34 +0000 (00:11 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:17 +0000 (12:18 +0300)
commit753ba57023d444445d63105de3ac6beada18ee93
tree9f2ce80363552264bdbee1ce6eb99291f5064640
parent6402451e5edb5aeafa82032f8033ae30f1ce3a03
KVM: PPC: Add SR swapping code

Later in this series we will move the current segment switch code to
generic code and make that call hooks for the specific sub-archs (32
vs. 64 bit). This is the hook for 32 bits.

It enabled the entry and exit code to swap segment registers with
values from the shadow cpu structure.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s_32_sr.S [new file with mode: 0644]