/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | vlapic.c | 200 uint32_t vlapic_set_ppr(struct vlapic *vlapic) in vlapic_set_ppr() argument 342 struct vlapic *vlapic = vcpu_vlapic(v); in vlapic_accept_irq() local 392 struct vlapic *vlapic, *target = NULL; in vlapic_lowest_prio() local 417 void vlapic_EOI_set(struct vlapic *vlapic) in vlapic_EOI_set() argument 593 struct vlapic *vlapic = vcpu_vlapic(v); in vlapic_read() local 656 struct vlapic *vlapic = vcpu_vlapic(v); in hvm_x2apic_msr_read() local 764 struct vlapic *vlapic = vcpu_vlapic(v); in vlapic_reg_write() local 884 struct vlapic *vlapic = vcpu_vlapic(v); in vlapic_write() local 941 struct vlapic *vlapic = vcpu_vlapic(v); in vlapic_apicv_write() local 960 struct vlapic *vlapic = vcpu_vlapic(v); in hvm_x2apic_msr_write() local [all …]
|
A D | Makefile | 28 obj-y += vlapic.o
|
A D | vpt.c | 116 struct vlapic *vlapic = vcpu_vlapic(v); in pt_irq_masked() local 117 return (!vlapic_enabled(vlapic) || in pt_irq_masked() 118 (vlapic_get_reg(vlapic, APIC_LVTT) & APIC_LVT_MASKED)); in pt_irq_masked()
|
A D | viridian.c | 594 struct vlapic *vlapic = vcpu_vlapic(v); in wrmsr_viridian_regs() local 598 vlapic_set_reg(vlapic, APIC_ICR2, edx); in wrmsr_viridian_regs() 599 vlapic_ipi(vlapic, eax, edx); in wrmsr_viridian_regs() 600 vlapic_set_reg(vlapic, APIC_ICR, eax); in wrmsr_viridian_regs()
|
A D | vmsi.c | 44 struct vlapic *target, in vmsi_inj_irq() 68 struct vlapic *target; in vmsi_deliver()
|
A D | vioapic.c | 360 struct vlapic *target, in ioapic_inj_irq() 387 struct vlapic *target; in vioapic_deliver()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/ |
A D | vlapic.h | 34 #define _VLAPIC_ID(vlapic, id) (vlapic_x2apic_mode(vlapic) \ argument 36 #define VLAPIC_ID(vlapic) _VLAPIC_ID(vlapic, vlapic_get_reg(vlapic, APIC_ID)) argument 49 #define vlapic_disabled(vlapic) ((vlapic)->hw.disabled) argument 50 #define vlapic_enabled(vlapic) (!vlapic_disabled(vlapic)) argument 106 struct vlapic *vlapic, uint32_t reg, uint32_t val) in vlapic_set_reg() argument 111 bool_t is_vlapic_lvtpc_enabled(struct vlapic *vlapic); 122 void vlapic_reset(struct vlapic *vlapic); 126 uint64_t vlapic_tdt_msr_get(struct vlapic *vlapic); 129 uint32_t vlapic_set_ppr(struct vlapic *vlapic); 133 void vlapic_EOI_set(struct vlapic *vlapic); [all …]
|
A D | vcpu.h | 159 struct vlapic vlapic; member
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/vmx/ |
A D | intr.c | 338 const struct vlapic *vlapic; in vmx_intr_assist() local 346 vlapic = vcpu_vlapic(v); in vmx_intr_assist() 347 if ( vlapic && vlapic->regs ) in vmx_intr_assist() 349 word = (const void *)&vlapic->regs->data[APIC_IRR]; in vmx_intr_assist()
|
A D | vmx.c | 1963 const struct vlapic *vlapic = vcpu_vlapic(v); in vmx_process_isr() local 1992 if ( vlapic_test_vector(i, &vlapic->regs->data[APIC_IRR]) || in vmx_process_isr() 1993 vlapic_test_vector(i, &vlapic->regs->data[APIC_ISR]) ) in vmx_process_isr() 2109 struct vlapic *vlapic = vcpu_vlapic(v); in vmx_sync_pir_to_irr() local 2120 vlapic_set_vector(i, &vlapic->regs->data[APIC_IRR]); in vmx_sync_pir_to_irr() 3024 struct vlapic *vlapic = vcpu_vlapic(v); in vmx_vlapic_msr_changed() local 3039 if ( !vlapic_hw_disabled(vlapic) && in vmx_vlapic_msr_changed() 3040 (vlapic_base_address(vlapic) == APIC_DEFAULT_PHYS_BASE) ) in vmx_vlapic_msr_changed() 3042 if ( virtualize_x2apic_mode && vlapic_x2apic_mode(vlapic) ) in vmx_vlapic_msr_changed()
|
A D | vvmx.c | 1342 struct vlapic *vlapic = vcpu_vlapic(v); in nvmx_update_apicv() local 1346 ppr = vlapic_set_ppr(vlapic); in nvmx_update_apicv()
|
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/ |
A D | vpmu.c | 199 struct vlapic *vlapic; in vpmu_do_interrupt() local 328 vlapic = vcpu_vlapic(sampling); in vpmu_do_interrupt() 334 !is_vlapic_lvtpc_enabled(vlapic) ) in vpmu_do_interrupt() 337 vlapic_lvtpc = vlapic_get_reg(vlapic, APIC_LVTPC); in vpmu_do_interrupt() 342 vlapic_set_irq(vlapic, vlapic_lvtpc & APIC_VECTOR_MASK, 0); in vpmu_do_interrupt()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/svm/ |
A D | svm.c | 1083 struct vlapic *vlapic = vcpu_vlapic(v); in svm_do_resume() local 1108 if ( !vcpu_guestmode && !vlapic_hw_disabled(vlapic) ) in svm_do_resume() 1115 (vlapic_get_reg(vlapic, APIC_TASKPRI) & 0xFF) >> 4; in svm_do_resume() 2473 struct vlapic *vlapic = vcpu_vlapic(v); in svm_vmexit_handler() local 2491 if ( !vcpu_guestmode && !vlapic_hw_disabled(vlapic) ) in svm_vmexit_handler() 2494 vlapic_set_reg(vlapic, APIC_TASKPRI, in svm_vmexit_handler() 2496 (vlapic_get_reg(vlapic, APIC_TASKPRI) & 0x0F)); in svm_vmexit_handler() 2900 if ( vcpu_guestmode || vlapic_hw_disabled(vlapic) ) in svm_vmexit_handler() 2906 (vlapic_get_reg(vlapic, APIC_TASKPRI) & 0xFF) >> 4; in svm_vmexit_handler()
|
/xen-4.10.0-shim-comet/tools/xentrace/ |
A D | formats | 212 0x00084004 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) vlapic create [ delta = 0x%(2)08x%(1)08x , period =… 216 0x00084008 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) vlapic destroy [ ] 218 0x0008400a CPU%(cpu)d %(tsc)d (+%(reltsc)8d) vlapic callback [ ]
|
A D | xenalyze.c | 1654 struct vlapic_struct vlapic; member 3363 struct vlapic_struct *vla = &v->vlapic; in hvm_vlapic_vmentry_cleanup() 3442 vla = &ov->vlapic; in ipi_send() 3535 struct vlapic_struct *vla = &v->vlapic; in hvm_vlapic_inject() 8746 hvm_vlapic_clear(&v->vlapic); in lose_vcpu() 8811 hvm_vlapic_clear(&p->current->vlapic); in process_lost_records()
|