Searched refs:gla (Results 1 - 13 of 13) sorted by path

/freebsd-11-stable/sys/amd64/include/
H A Dvmm_instruction_emul.h65 uint64_t rflags, uint64_t gla);
67 /* Returns 1 if the 'gla' is not canonical and 0 otherwise. */
68 int vie_canonical_check(enum vm_cpu_mode cpu_mode, uint64_t gla);
74 uint64_t *gla);
88 * Translate the guest linear address 'gla' to a guest physical address.
96 uint64_t gla, int prot, uint64_t *gpa, int *is_fault);
103 * 'gla' is the guest linear address provided by the hardware assist
107 * Some hardware assists do not provide the 'gla' to the hypervisor.
108 * To skip the 'gla' verification for this or any other reason pass
112 int vmm_decode_instruction(struct vm *vm, int cpuid, uint64_t gla,
[all...]
H A Dvmm.h393 * at 'gla' and 'len' bytes long. The 'prot' should be set to PROT_READ for
406 uint64_t gla, size_t len, int prot, struct vm_copyinfo *copyinfo,
606 uint64_t gla; member in struct:vm_exit::__anon4079::__anon4081
H A Dvmm_dev.h186 uint64_t gla; member in struct:vm_gla2gpa
/freebsd-11-stable/sys/xen/interface/
H A Dvm_event.h169 * GLA_VALID: If the gla field holds a guest VA associated with the event
170 * FAULT_WITH_GLA: If the violation was triggered by accessing gla
171 * FAULT_IN_GPT: If the violation was triggered during translating gla
187 uint64_t gla; /* if flags has MEM_ACCESS_GLA_VALID set */ member in struct:vm_event_mem_access
/freebsd-11-stable/usr.sbin/bhyve/
H A Dinout.c114 uint64_t gla, index, iterations, count; local
162 addrsize, prot, &gla)) {
167 error = vm_copy_setup(ctx, vcpu, &vis->paging, gla,
178 vis->cr0, vis->rflags, gla)) {
H A Dtask_switch.c632 uint64_t gla, cr0, rflags; local
670 &seg_desc, esp, bytes, stacksize, PROT_WRITE, &gla)) {
676 if (vie_alignment_check(paging->cpl, bytes, cr0, rflags, gla)) {
682 error = vm_copy_setup(ctx, vcpu, paging, gla, bytes, PROT_WRITE,
/freebsd-11-stable/lib/libvmmapi/
H A Dvmmapi.c1180 uint64_t gla, int prot, uint64_t *gpa, int *fault)
1188 gg.gla = gla;
1205 uint64_t gla, size_t len, int prot, struct iovec *iov, int iovcnt,
1219 error = vm_gla2gpa(ctx, vcpu, paging, gla, prot, &gpa, fault);
1235 gla += n;
1179 vm_gla2gpa(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, uint64_t gla, int prot, uint64_t *gpa, int *fault) argument
1204 vm_copy_setup(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, uint64_t gla, size_t len, int prot, struct iovec *iov, int iovcnt, int *fault) argument
H A Dvmmapi.h113 uint64_t gla, int prot, uint64_t *gpa, int *fault);
181 * Translate the GLA range [gla,gla+len) into GPA segments in 'iov'.
190 uint64_t gla, size_t len, int prot, struct iovec *iov, int iovcnt,
/freebsd-11-stable/sys/amd64/vmm/amd/
H A Dsvm.c847 vmexit->u.inst_emul.gla = VIE_INVALID_GLA;
/freebsd-11-stable/sys/amd64/vmm/intel/
H A Dvmx.c1942 vmexit_inst_emul(struct vm_exit *vmexit, uint64_t gpa, uint64_t gla) argument
1952 vmexit->u.inst_emul.gla = gla;
/freebsd-11-stable/sys/amd64/vmm/
H A Dvmm.c1425 uint64_t gla, gpa, cs_base; local
1438 gla = vme->u.inst_emul.gla;
1461 if (vmm_decode_instruction(vm, vcpuid, gla, cpu_mode, cs_d, vie) != 0) {
2538 uint64_t gla, size_t len, int prot, struct vm_copyinfo *copyinfo,
2552 error = vm_gla2gpa(vm, vcpuid, paging, gla, prot, &gpa, fault);
2560 gla += n;
2537 vm_copy_setup(struct vm *vm, int vcpuid, struct vm_guest_paging *paging, uint64_t gla, size_t len, int prot, struct vm_copyinfo *copyinfo, int num_copyinfo, int *fault) argument
H A Dvmm_dev.c592 error = vm_gla2gpa(sc->vm, gg->vcpuid, &gg->paging, gg->gla,
H A Dvmm_instruction_emul.c699 enum vm_reg_name gpr, uint64_t *gla, int *fault)
720 addrsize, prot, gla)) {
728 if (vie_canonical_check(paging->cpu_mode, *gla)) {
736 if (vie_alignment_check(paging->cpl, opsize, cr0, rflags, *gla)) {
1748 vie_alignment_check(int cpl, int size, uint64_t cr0, uint64_t rf, uint64_t gla) argument
1757 return ((gla & (size - 1)) ? 1 : 0);
1761 vie_canonical_check(enum vm_cpu_mode cpu_mode, uint64_t gla) argument
1769 * The value of the bit 47 in the 'gla' should be replicated in the
1773 if (gla & (1UL << 47))
1774 return ((gla
697 get_gla(void *vm, int vcpuid, struct vie *vie, struct vm_guest_paging *paging, int opsize, int addrsize, int prot, enum vm_reg_name seg, enum vm_reg_name gpr, uint64_t *gla, int *fault) argument
1788 vie_calculate_gla(enum vm_cpu_mode cpu_mode, enum vm_reg_name seg, struct seg_desc *desc, uint64_t offset, int length, int addrsize, int prot, uint64_t *gla) argument
1955 vm_gla2gpa(struct vm *vm, int vcpuid, struct vm_guest_paging *paging, uint64_t gla, int prot, uint64_t *gpa, int *guest_fault) argument
2589 verify_gla(struct vm *vm, int cpuid, uint64_t gla, struct vie *vie, enum vm_cpu_mode cpu_mode) argument
2677 vmm_decode_instruction(struct vm *vm, int cpuid, uint64_t gla, enum vm_cpu_mode cpu_mode, int cs_d, struct vie *vie) argument
[all...]

Completed in 178 milliseconds