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

/freebsd-10-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_dev.h186 uint64_t gla; member in struct:vm_gla2gpa
H A Dvmm.h377 * at 'gla' and 'len' bytes long. The 'prot' should be set to PROT_READ for
390 uint64_t gla, size_t len, int prot, struct vm_copyinfo *copyinfo,
589 uint64_t gla; member in struct:vm_exit::__anon3::__anon5
/freebsd-10-stable/sys/xen/interface/
H A Dmem_event.h46 #define MEM_EVENT_REASON_INT3 5 /* int3 was hit: gla/gfn are RIP */
47 #define MEM_EVENT_REASON_SINGLESTEP 6 /* single step was invoked: gla/gfn are RIP */
55 uint64_t gla; /* if gla_valid */ member in struct:mem_event_st
/freebsd-10-stable/sys/amd64/vmm/
H A Dvmm_instruction_emul.c608 enum vm_reg_name gpr, uint64_t *gla, int *fault)
629 addrsize, prot, gla)) {
637 if (vie_canonical_check(paging->cpu_mode, *gla)) {
645 if (vie_alignment_check(paging->cpl, opsize, cr0, rflags, *gla)) {
1483 vie_alignment_check(int cpl, int size, uint64_t cr0, uint64_t rf, uint64_t gla) argument
1492 return ((gla & (size - 1)) ? 1 : 0);
1496 vie_canonical_check(enum vm_cpu_mode cpu_mode, uint64_t gla) argument
1504 * The value of the bit 47 in the 'gla' should be replicated in the
1508 if (gla & (1UL << 47))
1509 return ((gla
606 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
1523 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
1690 vm_gla2gpa(struct vm *vm, int vcpuid, struct vm_guest_paging *paging, uint64_t gla, int prot, uint64_t *gpa, int *guest_fault) argument
2324 verify_gla(struct vm *vm, int cpuid, uint64_t gla, struct vie *vie, enum vm_cpu_mode cpu_mode) argument
2412 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...]
H A Dvmm.c1377 uint64_t gla, gpa, cs_base; local
1390 gla = vme->u.inst_emul.gla;
1413 if (vmm_decode_instruction(vm, vcpuid, gla, cpu_mode, cs_d, vie) != 0) {
2488 uint64_t gla, size_t len, int prot, struct vm_copyinfo *copyinfo,
2502 error = vm_gla2gpa(vm, vcpuid, paging, gla, prot, &gpa, fault);
2510 gla += n;
2487 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.c583 error = vm_gla2gpa(sc->vm, gg->vcpuid, &gg->paging, gg->gla,
/freebsd-10-stable/usr.sbin/bhyve/
H A Dinout.c112 uint64_t gla, index, iterations, count; local
160 addrsize, prot, &gla)) {
165 error = vm_copy_setup(ctx, vcpu, &vis->paging, gla,
176 vis->cr0, vis->rflags, gla)) {
H A Dtask_switch.c630 uint64_t gla, cr0, rflags; local
668 &seg_desc, esp, bytes, stacksize, PROT_WRITE, &gla)) {
674 if (vie_alignment_check(paging->cpl, bytes, cr0, rflags, gla)) {
680 error = vm_copy_setup(ctx, vcpu, paging, gla, bytes, PROT_WRITE,
/freebsd-10-stable/lib/libvmmapi/
H A Dvmmapi.h112 uint64_t gla, int prot, uint64_t *gpa, int *fault);
178 * Translate the GLA range [gla,gla+len) into GPA segments in 'iov'.
187 uint64_t gla, size_t len, int prot, struct iovec *iov, int iovcnt,
H A Dvmmapi.c1182 uint64_t gla, int prot, uint64_t *gpa, int *fault)
1190 gg.gla = gla;
1207 uint64_t gla, size_t len, int prot, struct iovec *iov, int iovcnt,
1221 error = vm_gla2gpa(ctx, vcpu, paging, gla, prot, &gpa, fault);
1237 gla += n;
1181 vm_gla2gpa(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, uint64_t gla, int prot, uint64_t *gpa, int *fault) argument
1206 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
/freebsd-10-stable/sys/amd64/vmm/intel/
H A Dvmx.c1793 vmexit_inst_emul(struct vm_exit *vmexit, uint64_t gpa, uint64_t gla) argument
1803 vmexit->u.inst_emul.gla = gla;
/freebsd-10-stable/sys/amd64/vmm/amd/
H A Dsvm.c825 vmexit->u.inst_emul.gla = VIE_INVALID_GLA;

Completed in 246 milliseconds