mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 02:08:04 +00:00
hv: vlapic: make vlapic deliver interrupt related functions more readable
Rename vlapic_deliver_intr to vlapic_receive_intr: ioapic/msi device deliver an interrupt to lapic. Rename vlapic_pending_intr to vlapic_find_deliverable_intr: find a deliverable interrupt which pending in irr and its priority large than ppr. Rename vlapic_intr_accepted to vlapic_get_deliverable_intr: get the deliverable interrupt from irr and set it in isr (which also raise ppr update) Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -400,7 +400,7 @@ static void inject_msi_lapic_pt(struct acrn_vm *vm, const struct acrn_msi_entry
|
||||
* the delivery mode of vmsi will be forwarded to ICR delievry field
|
||||
* and handled by hardware.
|
||||
*/
|
||||
vlapic_calcdest_lapic_pt(vm, &vdmask, vdest, phys);
|
||||
vlapic_calc_dest_lapic_pt(vm, &vdmask, vdest, phys);
|
||||
dev_dbg(ACRN_DBG_LAPICPT, "%s: vcpu destination mask 0x%016llx", __func__, vdmask);
|
||||
|
||||
vcpu_id = ffs64(vdmask);
|
||||
|
Reference in New Issue
Block a user