vm_set_desc
error = vm_set_desc(newcpu, VM_REG_GUEST_CS,
error = vm_set_desc(vcpu, reg, sd->base, sd->limit, sd->access);
error = vm_set_desc(vcpu, VM_REG_GUEST_DS,
error = vm_set_desc(vcpu, VM_REG_GUEST_ES,
error = vm_set_desc(vcpu, VM_REG_GUEST_SS,
error = vm_set_desc(vcpu, VM_REG_GUEST_CS,
error = vm_set_desc(vcpu, VM_REG_GUEST_FS,
error = vm_set_desc(vcpu, VM_REG_GUEST_GS,
error = vm_set_desc(vcpu, VM_REG_GUEST_TR,
error = vm_set_desc(vcpu, VM_REG_GUEST_LDTR,
error = vm_set_desc(vcpu, VM_REG_GUEST_GDTR,
error = vm_set_desc(vcpu, VM_REG_GUEST_IDTR,
return (vm_set_desc(vmm->vmm_vcpu[vcpuid], desc, vd->vd_base,
error = vm_set_desc(vcpu, VM_REG_GUEST_CS,
error = vm_set_desc(vcpu, VM_REG_GUEST_SS,
error = vm_set_desc(vcpu, VM_REG_GUEST_DS,
error = vm_set_desc(vcpu, VM_REG_GUEST_ES,
error = vm_set_desc(vcpu, VM_REG_GUEST_FS,
error = vm_set_desc(vcpu, VM_REG_GUEST_GS,
error = vm_set_desc(vcpu, VM_REG_GUEST_GDTR,
error = vm_set_desc(vcpu, VM_REG_GUEST_IDTR,
error = vm_set_desc(vcpu, VM_REG_GUEST_TR, 0, 0, desc_access);
error = vm_set_desc(vcpu, VM_REG_GUEST_LDTR, desc_base,
int vm_set_desc(struct vcpu *vcpu, int reg,
err = vm_set_desc(vcpu, VM_REG_GUEST_CS, 0, UINT32_MAX,
err = vm_set_desc(vcpu, VM_REG_GUEST_SS, 0, UINT32_MAX,
err = vm_set_desc(vcpu, VM_REG_GUEST_DS, 0, UINT32_MAX,
err = vm_set_desc(vcpu, VM_REG_GUEST_TR, MEM_LOC_TSS, 0xff,
err = vm_set_desc(vcpu, VM_REG_GUEST_GDTR, MEM_LOC_GDT, 0x1ff, 0);
err = vm_set_desc(vcpu, VM_REG_GUEST_IDTR, MEM_LOC_IDT, 0xfff, 0);
err = vm_set_desc(vcpu, unsable_segs[i], 0, 0,