Lines Matching refs:efer
397 state->efer = EFER_SVM; in vmcb_init()
510 if (state->efer & EFER_LMA) { in svm_vcpu_mode()
530 svm_paging_mode(uint64_t cr0, uint64_t cr4, uint64_t efer) in svm_paging_mode() argument
537 if (efer & EFER_LME) in svm_paging_mode()
553 state->efer); in svm_paging_info()
762 uint64_t efer = state->efer; in svm_set_cr0() local
765 if ((val & CR0_PG) != 0 && (efer & EFER_LME) != 0) { in svm_set_cr0()
766 state->efer |= EFER_LMA; in svm_set_cr0()
768 if ((val & CR0_PG) == 0 && (efer & EFER_LME) != 0) { in svm_set_cr0()
769 state->efer &= ~EFER_LMA; in svm_set_cr0()
860 if ((state->efer & EFER_LME) != 0 && in svm_handle_cr0_write()
1148 const uint64_t changed = state->efer ^ newval; in svm_write_efer()