Files
acrn-hypervisor/hypervisor/arch/riscv/notify.c
Haicheng Li f134e2b741 hv: smpcall: riscv: implement SMP call handlers
- Introduce arch/riscv/notify.c to implement RISC-V specific SMP call handlers.

Tracked-On: #8786
Signed-off-by: Haicheng Li <haicheng.li@intel.com>
Co-developed-by: Shiqing Gao <shiqing.gao@intel.com>
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com>
2025-09-09 16:37:04 +08:00

23 lines
447 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)
{
arch_send_single_ipi(pcpu_id, IPI_NOTIFY_CPU);
}