mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 00:38:28 +00:00
hv: vlapic: code clean-up
* rename `vlapic_set_intr_ready` to `vlapic_accept_intr` * replace calling of `vlapic_intr_edge` with `vlapic_set_intr` * remove `vlapic_intr_level` and `vlapic_intr_edge` Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -17,7 +17,7 @@ static void efi_spurious_handler(int32_t vector)
|
||||
struct acrn_vcpu *vcpu = per_cpu(vcpu, BOOT_CPU_ID);
|
||||
|
||||
if (vcpu != NULL) {
|
||||
vlapic_set_intr(vcpu, vector, 0);
|
||||
vlapic_set_intr(vcpu, vector, LAPIC_TRIG_EDGE);
|
||||
} else {
|
||||
pr_err("%s vcpu or vlapic is not ready, interrupt lost\n", __func__);
|
||||
}
|
||||
|
Reference in New Issue
Block a user