mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-18 00:17:19 +00:00
- 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>
23 lines
447 B
C
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);
|
|
}
|