hw/intc/grlib_irqmp: add ncpus property
commit6bf147854395f39fe45abebe40529bf7f023aeb9
authorClément Chigot <chigot@adacore.com>
Wed, 31 Jan 2024 08:50:40 +0000 (31 09:50 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 15 Feb 2024 15:58:46 +0000 (15 16:58 +0100)
tree66fa6d00940696189add121e5742072e1a3b7d77
parentf432962e72de4d820b11294ae3e51f2aa5643265
hw/intc/grlib_irqmp: add ncpus property

This adds a "ncpus" property to the "grlib-irqmp" device to be used
later, this required a little refactoring of how we initialize the
device (ie: use realize instead of init).

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-3-chigot@adacore.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/intc/grlib_irqmp.c
hw/sparc/leon3.c