Files
acrn-hypervisor/hypervisor/arch/riscv/notify.c
Shiqing Gao 037c479221 hv: ipi: drop arch_ prefix from IPI functions
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>
2025-09-19 13:56:21 +08:00

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);
}