mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/intc/grlib_irqmp: implements multicore irq
Now there is an ncpus property, use it in order to deliver the IRQ to multiple CPU. Co-developed-by: Frederic Konrad <konrad.frederic@yahoo.fr> Signed-off-by: Clément Chigot <chigot@adacore.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240131085047.18458-5-chigot@adacore.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
7ed9a5f626
commit
0fa5cd4a60
3 changed files with 23 additions and 23 deletions
|
@ -169,7 +169,8 @@ static void leon3_cache_control_int(CPUSPARCState *env)
|
|||
|
||||
static void leon3_irq_ack(CPUSPARCState *env, int intno)
|
||||
{
|
||||
grlib_irqmp_ack(env->irq_manager, intno);
|
||||
/* No SMP support yet, only CPU #0 available so far. */
|
||||
grlib_irqmp_ack(env->irq_manager, 0, intno);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue