Lines Matching defs:base
121 vmcs_seg_desc_encoding(int seg, uint32_t *base, uint32_t *lim, uint32_t *acc)
126 *base = VMCS_GUEST_ES_BASE;
131 *base = VMCS_GUEST_CS_BASE;
136 *base = VMCS_GUEST_SS_BASE;
141 *base = VMCS_GUEST_DS_BASE;
146 *base = VMCS_GUEST_FS_BASE;
151 *base = VMCS_GUEST_GS_BASE;
156 *base = VMCS_GUEST_TR_BASE;
161 *base = VMCS_GUEST_LDTR_BASE;
166 *base = VMCS_GUEST_IDTR_BASE;
171 *base = VMCS_GUEST_GDTR_BASE;
245 uint32_t base, limit, access;
247 error = vmcs_seg_desc_encoding(seg, &base, &limit, &access);
253 if ((error = vmwrite(base, desc->base)) != 0)
273 uint32_t base, limit, access;
276 error = vmcs_seg_desc_encoding(seg, &base, &limit, &access);
282 if ((error = vmread(base, &u64)) != 0)
284 desc->base = u64;
392 * Note that we exclude %gs, tss and gdtr here because their base