mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 00:38:28 +00:00
hv: rename BOOT_CPU_ID to BSP_CPU_ID
1. Rename BOOT_CPU_ID to BSP_CPU_ID 2. Repace hardcoded value with BSP_CPU_ID when ID of BSP is referenced. Tracked-On: #4420 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
@@ -202,7 +202,7 @@ static void vpic_notify_intr(struct acrn_vpic *vpic)
|
||||
*/
|
||||
i8259->intr_raised = true;
|
||||
if (vpic->vm->wire_mode == VPIC_WIRE_INTR) {
|
||||
struct acrn_vcpu *bsp = vcpu_from_vid(vpic->vm, BOOT_CPU_ID);
|
||||
struct acrn_vcpu *bsp = vcpu_from_vid(vpic->vm, BSP_CPU_ID);
|
||||
vcpu_inject_extint(bsp);
|
||||
} else {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user