Lines Matching refs:dt

186 	struct desc_ptr dt;  in enter_smm_save_state_32()  local
206 static_call(kvm_x86_get_gdt)(vcpu, &dt); in enter_smm_save_state_32()
207 smram->gdtr.base = dt.address; in enter_smm_save_state_32()
208 smram->gdtr.limit = dt.size; in enter_smm_save_state_32()
210 static_call(kvm_x86_get_idt)(vcpu, &dt); in enter_smm_save_state_32()
211 smram->idtr.base = dt.address; in enter_smm_save_state_32()
212 smram->idtr.limit = dt.size; in enter_smm_save_state_32()
233 struct desc_ptr dt; in enter_smm_save_state_64() local
260 static_call(kvm_x86_get_idt)(vcpu, &dt); in enter_smm_save_state_64()
261 smram->idtr.limit = dt.size; in enter_smm_save_state_64()
262 smram->idtr.base = dt.address; in enter_smm_save_state_64()
266 static_call(kvm_x86_get_gdt)(vcpu, &dt); in enter_smm_save_state_64()
267 smram->gdtr.limit = dt.size; in enter_smm_save_state_64()
268 smram->gdtr.base = dt.address; in enter_smm_save_state_64()
284 struct desc_ptr dt; in enter_smm() local
332 dt.address = dt.size = 0; in enter_smm()
333 static_call(kvm_x86_set_idt)(vcpu, &dt); in enter_smm()
471 struct desc_ptr dt; in rsm_load_state_32() local
488 dt.address = smstate->gdtr.base; in rsm_load_state_32()
489 dt.size = smstate->gdtr.limit; in rsm_load_state_32()
490 static_call(kvm_x86_set_gdt)(vcpu, &dt); in rsm_load_state_32()
492 dt.address = smstate->idtr.base; in rsm_load_state_32()
493 dt.size = smstate->idtr.limit; in rsm_load_state_32()
494 static_call(kvm_x86_set_idt)(vcpu, &dt); in rsm_load_state_32()
523 struct desc_ptr dt; in rsm_load_state_64() local
544 dt.size = smstate->idtr.limit; in rsm_load_state_64()
545 dt.address = smstate->idtr.base; in rsm_load_state_64()
546 static_call(kvm_x86_set_idt)(vcpu, &dt); in rsm_load_state_64()
550 dt.size = smstate->gdtr.limit; in rsm_load_state_64()
551 dt.address = smstate->gdtr.base; in rsm_load_state_64()
552 static_call(kvm_x86_set_gdt)(vcpu, &dt); in rsm_load_state_64()