mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-20 20:44:32 +00:00
Since there is no common IPI abstraction, the arch_ prefix is redundant.
This patch renames the functions as follows:
- arch_send_dest_ipi_mask -> send_dest_ipi_mask
- arch_send_single_ipi -> send_single_ipi
Tracked-On: #8799
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
23 lines
442 B
C
23 lines
442 B
C
/*
|
|
* Copyright (C) 2023-2025 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
* Authors:
|
|
* Haicheng Li <haicheng.li@intel.com>
|
|
*/
|
|
|
|
#include <types.h>
|
|
#include <asm/irq.h>
|
|
#include <asm/sbi.h>
|
|
|
|
void arch_init_smp_call(void)
|
|
{
|
|
/* No special handling is required at present; this can be extended in the future if needed. */
|
|
}
|
|
|
|
void arch_smp_call_kick_pcpu(uint16_t pcpu_id)
|
|
{
|
|
send_single_ipi(pcpu_id, IPI_NOTIFY_CPU);
|
|
}
|