Skip to content

Commit

Permalink
KVM/MIPS32: Entry point for trampolining to the guest and trap handlers.
Browse files Browse the repository at this point in the history
- __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>
  • Loading branch information
Sanjay Lal authored and Ralf Baechle committed May 8, 2013
1 parent 740765c commit b680f70
Showing 1 changed file with 650 additions and 0 deletions.
Loading

0 comments on commit b680f70

Please sign in to comment.