| /freebsd-11-stable/sys/amd64/vmm/intel/ |
| HD | vmx_cpufunc.h | 32 struct vmcs; 74 vmclear(struct vmcs *vmcs) in vmclear() argument 79 addr = vtophys(vmcs); in vmclear() 103 vmptrld(struct vmcs *vmcs) in vmptrld() argument 108 addr = vtophys(vmcs); in vmptrld() 146 VMCLEAR(struct vmcs *vmcs) in VMCLEAR() argument 150 err = vmclear(vmcs); in VMCLEAR() 152 panic("%s: vmclear(%p) error %d", __func__, vmcs, err); in VMCLEAR() 158 VMPTRLD(struct vmcs *vmcs) in VMPTRLD() argument 164 err = vmptrld(vmcs); in VMPTRLD() [all …]
|
| HD | vmcs.c | 190 vmcs_getreg(struct vmcs *vmcs, int running, int ident, uint64_t *retval) in vmcs_getreg() argument 211 VMPTRLD(vmcs); in vmcs_getreg() 216 VMCLEAR(vmcs); in vmcs_getreg() 222 vmcs_setreg(struct vmcs *vmcs, int running, int ident, uint64_t val) in vmcs_setreg() argument 238 VMPTRLD(vmcs); in vmcs_setreg() 243 VMCLEAR(vmcs); in vmcs_setreg() 249 vmcs_setdesc(struct vmcs *vmcs, int running, int seg, struct seg_desc *desc) in vmcs_setdesc() argument 259 VMPTRLD(vmcs); in vmcs_setdesc() 272 VMCLEAR(vmcs); in vmcs_setdesc() 277 vmcs_getdesc(struct vmcs *vmcs, int running, int seg, struct seg_desc *desc) in vmcs_getdesc() argument [all …]
|
| HD | vmcs.h | 33 struct vmcs { struct 38 CTASSERT(sizeof(struct vmcs) == PAGE_SIZE); argument 48 int vmcs_set_msr_save(struct vmcs *vmcs, u_long g_area, u_int g_count); 49 int vmcs_init(struct vmcs *vmcs); 50 int vmcs_getreg(struct vmcs *vmcs, int running, int ident, uint64_t *rv); 51 int vmcs_setreg(struct vmcs *vmcs, int running, int ident, uint64_t val); 52 int vmcs_getdesc(struct vmcs *vmcs, int running, int ident, 54 int vmcs_setdesc(struct vmcs *vmcs, int running, int ident,
|
| HD | vmx.c | 916 vmx_setup_cr_shadow(int which, struct vmcs *vmcs, uint32_t initial) in vmx_setup_cr_shadow() argument 934 error = vmcs_setreg(vmcs, 0, VMCS_IDENT(mask_ident), mask_value); in vmx_setup_cr_shadow() 938 error = vmcs_setreg(vmcs, 0, VMCS_IDENT(shadow_ident), initial); in vmx_setup_cr_shadow() 944 #define vmx_setup_cr0_shadow(vmcs,init) vmx_setup_cr_shadow(0, (vmcs), (init)) argument 945 #define vmx_setup_cr4_shadow(vmcs,init) vmx_setup_cr_shadow(4, (vmcs), (init)) argument 953 struct vmcs *vmcs; in vmx_vminit() local 1019 vmcs = &vmx->vmcs[i]; in vmx_vminit() 1020 vmcs->identifier = vmx_revision(); in vmx_vminit() 1021 error = vmclear(vmcs); in vmx_vminit() 1029 error = vmcs_init(vmcs); in vmx_vminit() [all …]
|
| HD | vmx.h | 122 struct vmcs vmcs[VM_MAXCPU]; /* one vmcs per virtual cpu */ member 134 CTASSERT((offsetof(struct vmx, vmcs) & PAGE_MASK) == 0);
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| HD | X86InstrVMX.td | 36 def VMCLEARm : I<0xC7, MRM6m, (outs), (ins i64mem:$vmcs), 37 "vmclear\t$vmcs", []>, PD; 47 def VMPTRLDm : I<0xC7, MRM6m, (outs), (ins i64mem:$vmcs), 48 "vmptrld\t$vmcs", []>, PS; 49 def VMPTRSTm : I<0xC7, MRM7m, (outs), (ins i64mem:$vmcs), 50 "vmptrst\t$vmcs", []>, PS;
|
| /freebsd-11-stable/sys/modules/vmm/ |
| HD | Makefile | 42 vmcs.c \
|