Lines Matching refs:__vmwrite
805 __vmwrite(HOST_GDTR_BASE, in vmx_set_host_env()
807 __vmwrite(HOST_IDTR_BASE, (unsigned long)idt_tables[cpu]); in vmx_set_host_env()
809 __vmwrite(HOST_TR_SELECTOR, TSS_ENTRY << 3); in vmx_set_host_env()
810 __vmwrite(HOST_TR_BASE, (unsigned long)&per_cpu(init_tss, cpu)); in vmx_set_host_env()
812 __vmwrite(HOST_SYSENTER_ESP, get_stack_bottom()); in vmx_set_host_env()
819 __vmwrite(HOST_RSP, in vmx_set_host_env()
964 __vmwrite(vmcs_encoding, val); in virtual_vmcs_vmwrite()
1006 __vmwrite(PIN_BASED_VM_EXEC_CONTROL, vmx_pin_based_exec_control); in construct_vmcs()
1063 __vmwrite(PIN_BASED_VM_EXEC_CONTROL, in construct_vmcs()
1069 __vmwrite(VM_EXIT_CONTROLS, vmexit_ctl); in construct_vmcs()
1070 __vmwrite(VM_ENTRY_CONTROLS, vmentry_ctl); in construct_vmcs()
1074 __vmwrite(PLE_GAP, ple_gap); in construct_vmcs()
1075 __vmwrite(PLE_WINDOW, ple_window); in construct_vmcs()
1079 __vmwrite(SECONDARY_VM_EXEC_CONTROL, in construct_vmcs()
1095 __vmwrite(MSR_BITMAP, virt_to_maddr(msr_bitmap)); in construct_vmcs()
1111 __vmwrite(IO_BITMAP_A, __pa(d->arch.hvm_domain.io_bitmap)); in construct_vmcs()
1112 __vmwrite(IO_BITMAP_B, __pa(d->arch.hvm_domain.io_bitmap) + PAGE_SIZE); in construct_vmcs()
1121 __vmwrite(EOI_EXIT_BITMAP(i), 0); in construct_vmcs()
1124 __vmwrite(GUEST_INTR_STATUS, 0); in construct_vmcs()
1132 __vmwrite(PI_DESC_ADDR, virt_to_maddr(&v->arch.hvm_vmx.pi_desc)); in construct_vmcs()
1133 __vmwrite(POSTED_INTR_NOTIFICATION_VECTOR, posted_intr_vector); in construct_vmcs()
1140 __vmwrite(HOST_SS_SELECTOR, __HYPERVISOR_DS); in construct_vmcs()
1141 __vmwrite(HOST_DS_SELECTOR, __HYPERVISOR_DS); in construct_vmcs()
1142 __vmwrite(HOST_ES_SELECTOR, __HYPERVISOR_DS); in construct_vmcs()
1143 __vmwrite(HOST_FS_SELECTOR, 0); in construct_vmcs()
1144 __vmwrite(HOST_GS_SELECTOR, 0); in construct_vmcs()
1145 __vmwrite(HOST_FS_BASE, 0); in construct_vmcs()
1146 __vmwrite(HOST_GS_BASE, 0); in construct_vmcs()
1150 __vmwrite(HOST_CR0, v->arch.hvm_vmx.host_cr0); in construct_vmcs()
1151 __vmwrite(HOST_CR4, mmu_cr4_features); in construct_vmcs()
1154 __vmwrite(HOST_CS_SELECTOR, __HYPERVISOR_CS); in construct_vmcs()
1155 __vmwrite(HOST_RIP, (unsigned long)vmx_asm_vmexit_handler); in construct_vmcs()
1159 __vmwrite(HOST_SYSENTER_CS, sysenter_cs); in construct_vmcs()
1161 __vmwrite(HOST_SYSENTER_EIP, sysenter_eip); in construct_vmcs()
1164 __vmwrite(VM_EXIT_MSR_LOAD_COUNT, 0); in construct_vmcs()
1165 __vmwrite(VM_EXIT_MSR_STORE_COUNT, 0); in construct_vmcs()
1166 __vmwrite(VM_ENTRY_MSR_LOAD_COUNT, 0); in construct_vmcs()
1168 __vmwrite(VM_ENTRY_INTR_INFO, 0); in construct_vmcs()
1170 __vmwrite(CR0_GUEST_HOST_MASK, ~0UL); in construct_vmcs()
1171 __vmwrite(CR4_GUEST_HOST_MASK, ~0UL); in construct_vmcs()
1173 __vmwrite(PAGE_FAULT_ERROR_CODE_MASK, 0); in construct_vmcs()
1174 __vmwrite(PAGE_FAULT_ERROR_CODE_MATCH, 0); in construct_vmcs()
1176 __vmwrite(CR3_TARGET_COUNT, 0); in construct_vmcs()
1178 __vmwrite(GUEST_ACTIVITY_STATE, 0); in construct_vmcs()
1181 __vmwrite(GUEST_ES_BASE, 0); in construct_vmcs()
1182 __vmwrite(GUEST_SS_BASE, 0); in construct_vmcs()
1183 __vmwrite(GUEST_DS_BASE, 0); in construct_vmcs()
1184 __vmwrite(GUEST_FS_BASE, 0); in construct_vmcs()
1185 __vmwrite(GUEST_GS_BASE, 0); in construct_vmcs()
1186 __vmwrite(GUEST_CS_BASE, 0); in construct_vmcs()
1189 __vmwrite(GUEST_ES_LIMIT, ~0u); in construct_vmcs()
1190 __vmwrite(GUEST_SS_LIMIT, ~0u); in construct_vmcs()
1191 __vmwrite(GUEST_DS_LIMIT, ~0u); in construct_vmcs()
1192 __vmwrite(GUEST_FS_LIMIT, ~0u); in construct_vmcs()
1193 __vmwrite(GUEST_GS_LIMIT, ~0u); in construct_vmcs()
1194 __vmwrite(GUEST_CS_LIMIT, ~0u); in construct_vmcs()
1197 __vmwrite(GUEST_ES_AR_BYTES, 0xc093); /* read/write, accessed */ in construct_vmcs()
1198 __vmwrite(GUEST_SS_AR_BYTES, 0xc093); in construct_vmcs()
1199 __vmwrite(GUEST_DS_AR_BYTES, 0xc093); in construct_vmcs()
1200 __vmwrite(GUEST_FS_AR_BYTES, 0xc093); in construct_vmcs()
1201 __vmwrite(GUEST_GS_AR_BYTES, 0xc093); in construct_vmcs()
1202 __vmwrite(GUEST_CS_AR_BYTES, 0xc09b); /* exec/read, accessed */ in construct_vmcs()
1205 __vmwrite(GUEST_IDTR_BASE, 0); in construct_vmcs()
1206 __vmwrite(GUEST_IDTR_LIMIT, 0); in construct_vmcs()
1209 __vmwrite(GUEST_GDTR_BASE, 0); in construct_vmcs()
1210 __vmwrite(GUEST_GDTR_LIMIT, 0); in construct_vmcs()
1213 __vmwrite(GUEST_LDTR_AR_BYTES, 0x0082); /* LDT */ in construct_vmcs()
1214 __vmwrite(GUEST_LDTR_SELECTOR, 0); in construct_vmcs()
1215 __vmwrite(GUEST_LDTR_BASE, 0); in construct_vmcs()
1216 __vmwrite(GUEST_LDTR_LIMIT, 0); in construct_vmcs()
1219 __vmwrite(GUEST_TR_AR_BYTES, 0x008b); /* 32-bit TSS (busy) */ in construct_vmcs()
1220 __vmwrite(GUEST_TR_BASE, 0); in construct_vmcs()
1221 __vmwrite(GUEST_TR_LIMIT, 0xff); in construct_vmcs()
1223 __vmwrite(GUEST_INTERRUPTIBILITY_INFO, 0); in construct_vmcs()
1224 __vmwrite(GUEST_DR7, 0); in construct_vmcs()
1225 __vmwrite(VMCS_LINK_POINTER, ~0UL); in construct_vmcs()
1240 __vmwrite(VIRTUAL_APIC_PAGE_ADDR, in construct_vmcs()
1242 __vmwrite(TPR_THRESHOLD, 0); in construct_vmcs()
1251 __vmwrite(EPT_POINTER, ept->eptp); in construct_vmcs()
1261 __vmwrite(HOST_PAT, host_pat); in construct_vmcs()
1262 __vmwrite(GUEST_PAT, guest_pat); in construct_vmcs()
1265 __vmwrite(GUEST_BNDCFGS, 0); in construct_vmcs()
1267 __vmwrite(XSS_EXIT_BITMAP, 0); in construct_vmcs()
1270 __vmwrite(TSC_MULTIPLIER, d->arch.hvm_domain.tsc_scaling_ratio); in construct_vmcs()
1371 __vmwrite(VM_EXIT_MSR_STORE_ADDR, virt_to_maddr(*msr_area)); in vmx_add_msr()
1372 __vmwrite(VM_ENTRY_MSR_LOAD_ADDR, virt_to_maddr(*msr_area)); in vmx_add_msr()
1375 __vmwrite(VM_EXIT_MSR_LOAD_ADDR, virt_to_maddr(*msr_area)); in vmx_add_msr()
1397 __vmwrite(VM_EXIT_MSR_STORE_COUNT, *msr_count); in vmx_add_msr()
1398 __vmwrite(VM_ENTRY_MSR_LOAD_COUNT, *msr_count); in vmx_add_msr()
1403 __vmwrite(VM_EXIT_MSR_LOAD_COUNT, *msr_count); in vmx_add_msr()
1440 __vmwrite(PML_ADDRESS, page_to_mfn(v->arch.hvm_vmx.pml_pg) << PAGE_SHIFT); in vmx_vcpu_enable_pml()
1441 __vmwrite(GUEST_PML_INDEX, NR_PML_ENTRIES - 1); in vmx_vcpu_enable_pml()
1445 __vmwrite(SECONDARY_VM_EXEC_CONTROL, in vmx_vcpu_enable_pml()
1464 __vmwrite(SECONDARY_VM_EXEC_CONTROL, in vmx_vcpu_disable_pml()
1522 __vmwrite(GUEST_PML_INDEX, NR_PML_ENTRIES - 1); in vmx_vcpu_flush_pml_buffer()
1607 __vmwrite(EPT_POINTER, eptp); in vmx_vcpu_update_eptp()