mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 01:07:57 +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:
@@ -384,7 +384,7 @@ void partition_mode_dispatch_interrupt(struct intr_excp_ctx *ctx)
|
||||
vcpu = per_cpu(vcpu, get_cpu_id());
|
||||
if (vr < VECTOR_FIXED_START) {
|
||||
send_lapic_eoi();
|
||||
vlapic_intr_edge(vcpu, vr);
|
||||
vlapic_set_intr(vcpu, vr, LAPIC_TRIG_EDGE);
|
||||
} else {
|
||||
dispatch_interrupt(ctx);
|
||||
}
|
||||
|
Reference in New Issue
Block a user