]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM/MIPS32: Entry point for trampolining to the guest and trap handlers.
authorSanjay Lal <sanjayl@kymasys.com>
Thu, 22 Nov 2012 02:34:01 +0000 (18:34 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Feb 2013 09:00:24 +0000 (10:00 +0100)
commit6ea50fa62a290b59fae09e4cb45230f161be40a1
treeaedcb03edc8d26ad41942c94240d84306b1f330a
parentde338c35f6dd96dfa686a1c95e373d41a2fb6c91
KVM/MIPS32: Entry point for trampolining to the guest and trap handlers.

- __kvm_mips_vcpu_run: main entry point to enter guest, we save kernel context, load
  up guest context from and ERET to guest context.
- mips32_exception: L1 exception handler(s), save k0/k1 and jump to main handlers.
- mips32_GuestException: Generic exception handlers for exceptions/interrupts while in
  guest context.  Save guest context, restore some kernel context and jump to
  main 'C' handler: kvm_mips_handle_exit()

Signed-off-by: Sanjay Lal <sanjayl@kymasys.com>
Cc: kvm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kvm/kvm_locore.S [new file with mode: 0644]