Lines Matching defs:base
128 vmcs_seg_desc_encoding(int seg, uint32_t *base, uint32_t *lim, uint32_t *acc)
133 *base = VMCS_GUEST_ES_BASE;
138 *base = VMCS_GUEST_CS_BASE;
143 *base = VMCS_GUEST_SS_BASE;
148 *base = VMCS_GUEST_DS_BASE;
153 *base = VMCS_GUEST_FS_BASE;
158 *base = VMCS_GUEST_GS_BASE;
163 *base = VMCS_GUEST_TR_BASE;
168 *base = VMCS_GUEST_LDTR_BASE;
173 *base = VMCS_GUEST_IDTR_BASE;
178 *base = VMCS_GUEST_GDTR_BASE;
252 uint32_t base, limit, access;
254 error = vmcs_seg_desc_encoding(seg, &base, &limit, &access);
260 if ((error = vmwrite(base, desc->base)) != 0)
280 uint32_t base, limit, access;
283 error = vmcs_seg_desc_encoding(seg, &base, &limit, &access);
289 if ((error = vmread(base, &u64)) != 0)
291 desc->base = u64;
399 * Note that we exclude %gs, tss and gdtr here because their base