• Home
  • Raw
  • Download

Lines Matching refs:value

249 static inline int evmcs_vmptrst(uint64_t *value)  in evmcs_vmptrst()  argument
251 *value = current_vp_assist->current_nested_vmcs & in evmcs_vmptrst()
257 static inline int evmcs_vmread(uint64_t encoding, uint64_t *value) in evmcs_vmread() argument
261 *value = current_evmcs->guest_rip; in evmcs_vmread()
264 *value = current_evmcs->guest_rsp; in evmcs_vmread()
267 *value = current_evmcs->guest_rflags; in evmcs_vmread()
270 *value = current_evmcs->host_ia32_pat; in evmcs_vmread()
273 *value = current_evmcs->host_ia32_efer; in evmcs_vmread()
276 *value = current_evmcs->host_cr0; in evmcs_vmread()
279 *value = current_evmcs->host_cr3; in evmcs_vmread()
282 *value = current_evmcs->host_cr4; in evmcs_vmread()
285 *value = current_evmcs->host_ia32_sysenter_esp; in evmcs_vmread()
288 *value = current_evmcs->host_ia32_sysenter_eip; in evmcs_vmread()
291 *value = current_evmcs->host_rip; in evmcs_vmread()
294 *value = current_evmcs->io_bitmap_a; in evmcs_vmread()
297 *value = current_evmcs->io_bitmap_b; in evmcs_vmread()
300 *value = current_evmcs->msr_bitmap; in evmcs_vmread()
303 *value = current_evmcs->guest_es_base; in evmcs_vmread()
306 *value = current_evmcs->guest_cs_base; in evmcs_vmread()
309 *value = current_evmcs->guest_ss_base; in evmcs_vmread()
312 *value = current_evmcs->guest_ds_base; in evmcs_vmread()
315 *value = current_evmcs->guest_fs_base; in evmcs_vmread()
318 *value = current_evmcs->guest_gs_base; in evmcs_vmread()
321 *value = current_evmcs->guest_ldtr_base; in evmcs_vmread()
324 *value = current_evmcs->guest_tr_base; in evmcs_vmread()
327 *value = current_evmcs->guest_gdtr_base; in evmcs_vmread()
330 *value = current_evmcs->guest_idtr_base; in evmcs_vmread()
333 *value = current_evmcs->tsc_offset; in evmcs_vmread()
336 *value = current_evmcs->virtual_apic_page_addr; in evmcs_vmread()
339 *value = current_evmcs->vmcs_link_pointer; in evmcs_vmread()
342 *value = current_evmcs->guest_ia32_debugctl; in evmcs_vmread()
345 *value = current_evmcs->guest_ia32_pat; in evmcs_vmread()
348 *value = current_evmcs->guest_ia32_efer; in evmcs_vmread()
351 *value = current_evmcs->guest_pdptr0; in evmcs_vmread()
354 *value = current_evmcs->guest_pdptr1; in evmcs_vmread()
357 *value = current_evmcs->guest_pdptr2; in evmcs_vmread()
360 *value = current_evmcs->guest_pdptr3; in evmcs_vmread()
363 *value = current_evmcs->guest_pending_dbg_exceptions; in evmcs_vmread()
366 *value = current_evmcs->guest_sysenter_esp; in evmcs_vmread()
369 *value = current_evmcs->guest_sysenter_eip; in evmcs_vmread()
372 *value = current_evmcs->cr0_guest_host_mask; in evmcs_vmread()
375 *value = current_evmcs->cr4_guest_host_mask; in evmcs_vmread()
378 *value = current_evmcs->cr0_read_shadow; in evmcs_vmread()
381 *value = current_evmcs->cr4_read_shadow; in evmcs_vmread()
384 *value = current_evmcs->guest_cr0; in evmcs_vmread()
387 *value = current_evmcs->guest_cr3; in evmcs_vmread()
390 *value = current_evmcs->guest_cr4; in evmcs_vmread()
393 *value = current_evmcs->guest_dr7; in evmcs_vmread()
396 *value = current_evmcs->host_fs_base; in evmcs_vmread()
399 *value = current_evmcs->host_gs_base; in evmcs_vmread()
402 *value = current_evmcs->host_tr_base; in evmcs_vmread()
405 *value = current_evmcs->host_gdtr_base; in evmcs_vmread()
408 *value = current_evmcs->host_idtr_base; in evmcs_vmread()
411 *value = current_evmcs->host_rsp; in evmcs_vmread()
414 *value = current_evmcs->ept_pointer; in evmcs_vmread()
417 *value = current_evmcs->guest_bndcfgs; in evmcs_vmread()
420 *value = current_evmcs->xss_exit_bitmap; in evmcs_vmread()
423 *value = current_evmcs->guest_physical_address; in evmcs_vmread()
426 *value = current_evmcs->exit_qualification; in evmcs_vmread()
429 *value = current_evmcs->guest_linear_address; in evmcs_vmread()
432 *value = current_evmcs->vm_exit_msr_store_addr; in evmcs_vmread()
435 *value = current_evmcs->vm_exit_msr_load_addr; in evmcs_vmread()
438 *value = current_evmcs->vm_entry_msr_load_addr; in evmcs_vmread()
441 *value = current_evmcs->cr3_target_value0; in evmcs_vmread()
444 *value = current_evmcs->cr3_target_value1; in evmcs_vmread()
447 *value = current_evmcs->cr3_target_value2; in evmcs_vmread()
450 *value = current_evmcs->cr3_target_value3; in evmcs_vmread()
453 *value = current_evmcs->tpr_threshold; in evmcs_vmread()
456 *value = current_evmcs->guest_interruptibility_info; in evmcs_vmread()
459 *value = current_evmcs->cpu_based_vm_exec_control; in evmcs_vmread()
462 *value = current_evmcs->exception_bitmap; in evmcs_vmread()
465 *value = current_evmcs->vm_entry_controls; in evmcs_vmread()
468 *value = current_evmcs->vm_entry_intr_info_field; in evmcs_vmread()
471 *value = current_evmcs->vm_entry_exception_error_code; in evmcs_vmread()
474 *value = current_evmcs->vm_entry_instruction_len; in evmcs_vmread()
477 *value = current_evmcs->host_ia32_sysenter_cs; in evmcs_vmread()
480 *value = current_evmcs->pin_based_vm_exec_control; in evmcs_vmread()
483 *value = current_evmcs->vm_exit_controls; in evmcs_vmread()
486 *value = current_evmcs->secondary_vm_exec_control; in evmcs_vmread()
489 *value = current_evmcs->guest_es_limit; in evmcs_vmread()
492 *value = current_evmcs->guest_cs_limit; in evmcs_vmread()
495 *value = current_evmcs->guest_ss_limit; in evmcs_vmread()
498 *value = current_evmcs->guest_ds_limit; in evmcs_vmread()
501 *value = current_evmcs->guest_fs_limit; in evmcs_vmread()
504 *value = current_evmcs->guest_gs_limit; in evmcs_vmread()
507 *value = current_evmcs->guest_ldtr_limit; in evmcs_vmread()
510 *value = current_evmcs->guest_tr_limit; in evmcs_vmread()
513 *value = current_evmcs->guest_gdtr_limit; in evmcs_vmread()
516 *value = current_evmcs->guest_idtr_limit; in evmcs_vmread()
519 *value = current_evmcs->guest_es_ar_bytes; in evmcs_vmread()
522 *value = current_evmcs->guest_cs_ar_bytes; in evmcs_vmread()
525 *value = current_evmcs->guest_ss_ar_bytes; in evmcs_vmread()
528 *value = current_evmcs->guest_ds_ar_bytes; in evmcs_vmread()
531 *value = current_evmcs->guest_fs_ar_bytes; in evmcs_vmread()
534 *value = current_evmcs->guest_gs_ar_bytes; in evmcs_vmread()
537 *value = current_evmcs->guest_ldtr_ar_bytes; in evmcs_vmread()
540 *value = current_evmcs->guest_tr_ar_bytes; in evmcs_vmread()
543 *value = current_evmcs->guest_activity_state; in evmcs_vmread()
546 *value = current_evmcs->guest_sysenter_cs; in evmcs_vmread()
549 *value = current_evmcs->vm_instruction_error; in evmcs_vmread()
552 *value = current_evmcs->vm_exit_reason; in evmcs_vmread()
555 *value = current_evmcs->vm_exit_intr_info; in evmcs_vmread()
558 *value = current_evmcs->vm_exit_intr_error_code; in evmcs_vmread()
561 *value = current_evmcs->idt_vectoring_info_field; in evmcs_vmread()
564 *value = current_evmcs->idt_vectoring_error_code; in evmcs_vmread()
567 *value = current_evmcs->vm_exit_instruction_len; in evmcs_vmread()
570 *value = current_evmcs->vmx_instruction_info; in evmcs_vmread()
573 *value = current_evmcs->page_fault_error_code_mask; in evmcs_vmread()
576 *value = current_evmcs->page_fault_error_code_match; in evmcs_vmread()
579 *value = current_evmcs->cr3_target_count; in evmcs_vmread()
582 *value = current_evmcs->vm_exit_msr_store_count; in evmcs_vmread()
585 *value = current_evmcs->vm_exit_msr_load_count; in evmcs_vmread()
588 *value = current_evmcs->vm_entry_msr_load_count; in evmcs_vmread()
591 *value = current_evmcs->host_es_selector; in evmcs_vmread()
594 *value = current_evmcs->host_cs_selector; in evmcs_vmread()
597 *value = current_evmcs->host_ss_selector; in evmcs_vmread()
600 *value = current_evmcs->host_ds_selector; in evmcs_vmread()
603 *value = current_evmcs->host_fs_selector; in evmcs_vmread()
606 *value = current_evmcs->host_gs_selector; in evmcs_vmread()
609 *value = current_evmcs->host_tr_selector; in evmcs_vmread()
612 *value = current_evmcs->guest_es_selector; in evmcs_vmread()
615 *value = current_evmcs->guest_cs_selector; in evmcs_vmread()
618 *value = current_evmcs->guest_ss_selector; in evmcs_vmread()
621 *value = current_evmcs->guest_ds_selector; in evmcs_vmread()
624 *value = current_evmcs->guest_fs_selector; in evmcs_vmread()
627 *value = current_evmcs->guest_gs_selector; in evmcs_vmread()
630 *value = current_evmcs->guest_ldtr_selector; in evmcs_vmread()
633 *value = current_evmcs->guest_tr_selector; in evmcs_vmread()
636 *value = current_evmcs->virtual_processor_id; in evmcs_vmread()
644 static inline int evmcs_vmwrite(uint64_t encoding, uint64_t value) in evmcs_vmwrite() argument
648 current_evmcs->guest_rip = value; in evmcs_vmwrite()
651 current_evmcs->guest_rsp = value; in evmcs_vmwrite()
654 current_evmcs->guest_rflags = value; in evmcs_vmwrite()
657 current_evmcs->host_ia32_pat = value; in evmcs_vmwrite()
660 current_evmcs->host_ia32_efer = value; in evmcs_vmwrite()
663 current_evmcs->host_cr0 = value; in evmcs_vmwrite()
666 current_evmcs->host_cr3 = value; in evmcs_vmwrite()
669 current_evmcs->host_cr4 = value; in evmcs_vmwrite()
672 current_evmcs->host_ia32_sysenter_esp = value; in evmcs_vmwrite()
675 current_evmcs->host_ia32_sysenter_eip = value; in evmcs_vmwrite()
678 current_evmcs->host_rip = value; in evmcs_vmwrite()
681 current_evmcs->io_bitmap_a = value; in evmcs_vmwrite()
684 current_evmcs->io_bitmap_b = value; in evmcs_vmwrite()
687 current_evmcs->msr_bitmap = value; in evmcs_vmwrite()
690 current_evmcs->guest_es_base = value; in evmcs_vmwrite()
693 current_evmcs->guest_cs_base = value; in evmcs_vmwrite()
696 current_evmcs->guest_ss_base = value; in evmcs_vmwrite()
699 current_evmcs->guest_ds_base = value; in evmcs_vmwrite()
702 current_evmcs->guest_fs_base = value; in evmcs_vmwrite()
705 current_evmcs->guest_gs_base = value; in evmcs_vmwrite()
708 current_evmcs->guest_ldtr_base = value; in evmcs_vmwrite()
711 current_evmcs->guest_tr_base = value; in evmcs_vmwrite()
714 current_evmcs->guest_gdtr_base = value; in evmcs_vmwrite()
717 current_evmcs->guest_idtr_base = value; in evmcs_vmwrite()
720 current_evmcs->tsc_offset = value; in evmcs_vmwrite()
723 current_evmcs->virtual_apic_page_addr = value; in evmcs_vmwrite()
726 current_evmcs->vmcs_link_pointer = value; in evmcs_vmwrite()
729 current_evmcs->guest_ia32_debugctl = value; in evmcs_vmwrite()
732 current_evmcs->guest_ia32_pat = value; in evmcs_vmwrite()
735 current_evmcs->guest_ia32_efer = value; in evmcs_vmwrite()
738 current_evmcs->guest_pdptr0 = value; in evmcs_vmwrite()
741 current_evmcs->guest_pdptr1 = value; in evmcs_vmwrite()
744 current_evmcs->guest_pdptr2 = value; in evmcs_vmwrite()
747 current_evmcs->guest_pdptr3 = value; in evmcs_vmwrite()
750 current_evmcs->guest_pending_dbg_exceptions = value; in evmcs_vmwrite()
753 current_evmcs->guest_sysenter_esp = value; in evmcs_vmwrite()
756 current_evmcs->guest_sysenter_eip = value; in evmcs_vmwrite()
759 current_evmcs->cr0_guest_host_mask = value; in evmcs_vmwrite()
762 current_evmcs->cr4_guest_host_mask = value; in evmcs_vmwrite()
765 current_evmcs->cr0_read_shadow = value; in evmcs_vmwrite()
768 current_evmcs->cr4_read_shadow = value; in evmcs_vmwrite()
771 current_evmcs->guest_cr0 = value; in evmcs_vmwrite()
774 current_evmcs->guest_cr3 = value; in evmcs_vmwrite()
777 current_evmcs->guest_cr4 = value; in evmcs_vmwrite()
780 current_evmcs->guest_dr7 = value; in evmcs_vmwrite()
783 current_evmcs->host_fs_base = value; in evmcs_vmwrite()
786 current_evmcs->host_gs_base = value; in evmcs_vmwrite()
789 current_evmcs->host_tr_base = value; in evmcs_vmwrite()
792 current_evmcs->host_gdtr_base = value; in evmcs_vmwrite()
795 current_evmcs->host_idtr_base = value; in evmcs_vmwrite()
798 current_evmcs->host_rsp = value; in evmcs_vmwrite()
801 current_evmcs->ept_pointer = value; in evmcs_vmwrite()
804 current_evmcs->guest_bndcfgs = value; in evmcs_vmwrite()
807 current_evmcs->xss_exit_bitmap = value; in evmcs_vmwrite()
810 current_evmcs->guest_physical_address = value; in evmcs_vmwrite()
813 current_evmcs->exit_qualification = value; in evmcs_vmwrite()
816 current_evmcs->guest_linear_address = value; in evmcs_vmwrite()
819 current_evmcs->vm_exit_msr_store_addr = value; in evmcs_vmwrite()
822 current_evmcs->vm_exit_msr_load_addr = value; in evmcs_vmwrite()
825 current_evmcs->vm_entry_msr_load_addr = value; in evmcs_vmwrite()
828 current_evmcs->cr3_target_value0 = value; in evmcs_vmwrite()
831 current_evmcs->cr3_target_value1 = value; in evmcs_vmwrite()
834 current_evmcs->cr3_target_value2 = value; in evmcs_vmwrite()
837 current_evmcs->cr3_target_value3 = value; in evmcs_vmwrite()
840 current_evmcs->tpr_threshold = value; in evmcs_vmwrite()
843 current_evmcs->guest_interruptibility_info = value; in evmcs_vmwrite()
846 current_evmcs->cpu_based_vm_exec_control = value; in evmcs_vmwrite()
849 current_evmcs->exception_bitmap = value; in evmcs_vmwrite()
852 current_evmcs->vm_entry_controls = value; in evmcs_vmwrite()
855 current_evmcs->vm_entry_intr_info_field = value; in evmcs_vmwrite()
858 current_evmcs->vm_entry_exception_error_code = value; in evmcs_vmwrite()
861 current_evmcs->vm_entry_instruction_len = value; in evmcs_vmwrite()
864 current_evmcs->host_ia32_sysenter_cs = value; in evmcs_vmwrite()
867 current_evmcs->pin_based_vm_exec_control = value; in evmcs_vmwrite()
870 current_evmcs->vm_exit_controls = value; in evmcs_vmwrite()
873 current_evmcs->secondary_vm_exec_control = value; in evmcs_vmwrite()
876 current_evmcs->guest_es_limit = value; in evmcs_vmwrite()
879 current_evmcs->guest_cs_limit = value; in evmcs_vmwrite()
882 current_evmcs->guest_ss_limit = value; in evmcs_vmwrite()
885 current_evmcs->guest_ds_limit = value; in evmcs_vmwrite()
888 current_evmcs->guest_fs_limit = value; in evmcs_vmwrite()
891 current_evmcs->guest_gs_limit = value; in evmcs_vmwrite()
894 current_evmcs->guest_ldtr_limit = value; in evmcs_vmwrite()
897 current_evmcs->guest_tr_limit = value; in evmcs_vmwrite()
900 current_evmcs->guest_gdtr_limit = value; in evmcs_vmwrite()
903 current_evmcs->guest_idtr_limit = value; in evmcs_vmwrite()
906 current_evmcs->guest_es_ar_bytes = value; in evmcs_vmwrite()
909 current_evmcs->guest_cs_ar_bytes = value; in evmcs_vmwrite()
912 current_evmcs->guest_ss_ar_bytes = value; in evmcs_vmwrite()
915 current_evmcs->guest_ds_ar_bytes = value; in evmcs_vmwrite()
918 current_evmcs->guest_fs_ar_bytes = value; in evmcs_vmwrite()
921 current_evmcs->guest_gs_ar_bytes = value; in evmcs_vmwrite()
924 current_evmcs->guest_ldtr_ar_bytes = value; in evmcs_vmwrite()
927 current_evmcs->guest_tr_ar_bytes = value; in evmcs_vmwrite()
930 current_evmcs->guest_activity_state = value; in evmcs_vmwrite()
933 current_evmcs->guest_sysenter_cs = value; in evmcs_vmwrite()
936 current_evmcs->vm_instruction_error = value; in evmcs_vmwrite()
939 current_evmcs->vm_exit_reason = value; in evmcs_vmwrite()
942 current_evmcs->vm_exit_intr_info = value; in evmcs_vmwrite()
945 current_evmcs->vm_exit_intr_error_code = value; in evmcs_vmwrite()
948 current_evmcs->idt_vectoring_info_field = value; in evmcs_vmwrite()
951 current_evmcs->idt_vectoring_error_code = value; in evmcs_vmwrite()
954 current_evmcs->vm_exit_instruction_len = value; in evmcs_vmwrite()
957 current_evmcs->vmx_instruction_info = value; in evmcs_vmwrite()
960 current_evmcs->page_fault_error_code_mask = value; in evmcs_vmwrite()
963 current_evmcs->page_fault_error_code_match = value; in evmcs_vmwrite()
966 current_evmcs->cr3_target_count = value; in evmcs_vmwrite()
969 current_evmcs->vm_exit_msr_store_count = value; in evmcs_vmwrite()
972 current_evmcs->vm_exit_msr_load_count = value; in evmcs_vmwrite()
975 current_evmcs->vm_entry_msr_load_count = value; in evmcs_vmwrite()
978 current_evmcs->host_es_selector = value; in evmcs_vmwrite()
981 current_evmcs->host_cs_selector = value; in evmcs_vmwrite()
984 current_evmcs->host_ss_selector = value; in evmcs_vmwrite()
987 current_evmcs->host_ds_selector = value; in evmcs_vmwrite()
990 current_evmcs->host_fs_selector = value; in evmcs_vmwrite()
993 current_evmcs->host_gs_selector = value; in evmcs_vmwrite()
996 current_evmcs->host_tr_selector = value; in evmcs_vmwrite()
999 current_evmcs->guest_es_selector = value; in evmcs_vmwrite()
1002 current_evmcs->guest_cs_selector = value; in evmcs_vmwrite()
1005 current_evmcs->guest_ss_selector = value; in evmcs_vmwrite()
1008 current_evmcs->guest_ds_selector = value; in evmcs_vmwrite()
1011 current_evmcs->guest_fs_selector = value; in evmcs_vmwrite()
1014 current_evmcs->guest_gs_selector = value; in evmcs_vmwrite()
1017 current_evmcs->guest_ldtr_selector = value; in evmcs_vmwrite()
1020 current_evmcs->guest_tr_selector = value; in evmcs_vmwrite()
1023 current_evmcs->virtual_processor_id = value; in evmcs_vmwrite()