Lines Matching full:guest

6  * Generation of main entry point for the guest, exception handling.
143 * kvm_mips_build_vcpu_run() - Assemble function to start running a guest VCPU.
146 * Assemble the start of the vcpu_run function to run a guest VCPU. The function
151 * The exit from the guest and return to the caller is handled by the code
188 * when we exit from the Guest in kvm_mips_build_vcpu_run()
196 * Setup status register for running the guest in UM, interrupts in kvm_mips_build_vcpu_run()
224 * kvm_mips_build_enter_guest() - Assemble code to resume guest execution.
227 * Assemble the code to resume guest execution. This code is common between the
228 * initial entry into the guest from the host, and returning from the exit
229 * handler back to the guest.
245 /* Set Guest EPC */ in kvm_mips_build_enter_guest()
275 /* Set GM bit to setup eret to VZ guest context */ in kvm_mips_build_enter_guest()
307 /* Set the root ASID for the Guest */ in kvm_mips_build_enter_guest()
342 /* load the guest context from VCPU and return */ in kvm_mips_build_enter_guest()
344 /* Guest k0/k1 loaded later */ in kvm_mips_build_enter_guest()
359 /* Restore the guest's k0/k1 registers */ in kvm_mips_build_enter_guest()
363 /* Jump to guest */ in kvm_mips_build_enter_guest()
376 * Assemble TLB refill exception fast path handler for guest execution.
393 /* Save guest k1 into scratch register */ in kvm_mips_build_tlb_refill_exception()
399 /* Save guest k0 into VCPU structure */ in kvm_mips_build_tlb_refill_exception()
447 /* Restore the guest's k0/k1 registers */ in kvm_mips_build_tlb_refill_exception()
452 /* Jump to guest */ in kvm_mips_build_tlb_refill_exception()
459 * kvm_mips_build_exception() - Assemble first level guest exception handler.
463 * Assemble exception vector code for guest execution. The generated vector will
479 /* Save guest k1 into scratch register */ in kvm_mips_build_exception()
486 /* Save guest k0 into VCPU structure */ in kvm_mips_build_exception()
500 * kvm_mips_build_exit() - Assemble common guest exit handler.
503 * Assemble the generic guest exit handling code. This is called by the
505 * kvm_mips_handle_exit(), then either resumes the guest or returns to the host
523 * Generic Guest exception handler. We end up here when the guest in kvm_mips_build_exit()
532 /* Start saving Guest context to VCPU */ in kvm_mips_build_exit()
534 /* Guest k0/k1 saved later */ in kvm_mips_build_exit()
549 /* Finally save guest k1 to VCPU */ in kvm_mips_build_exit()
656 /* Clear GM bit so we don't enter guest mode when EXL is cleared */ in kvm_mips_build_exit()
729 * kvm_mips_build_ret_from_exit() - Assemble guest exit return handler.
733 * resuming the guest or returning to the host depending on the return value.
755 * guest, reload k1 in kvm_mips_build_ret_from_exit()
763 * host (handle I/O etc)or resuming the guest in kvm_mips_build_ret_from_exit()
780 * kvm_mips_build_ret_to_guest() - Assemble code to return to the guest.
783 * Assemble the code to handle return from the guest exit handler
784 * (kvm_mips_handle_exit()) back to the guest.
795 /* Load up the Guest EBASE to minimize the window where BEV is set */ in kvm_mips_build_ret_to_guest()
806 /* Setup status register for running guest in UM */ in kvm_mips_build_ret_to_guest()
822 * Assemble the code to handle return from the guest exit handler