From e16032b8dc56332096111ce02741a03c88c7be43 Mon Sep 17 00:00:00 2001 From: Cédric Le Goater Date: Wed, 2 Mar 2022 06:51:39 +0100 Subject: xive2: Add a get_config() handler for the router configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add GEN1 config even if we don't use it yet in the core framework. Reviewed-by: Daniel Henrique Barboza Signed-off-by: Cédric Le Goater --- hw/intc/xive2.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hw/intc/xive2.c') diff --git a/hw/intc/xive2.c b/hw/intc/xive2.c index 048b98dbbe..c454225424 100644 --- a/hw/intc/xive2.c +++ b/hw/intc/xive2.c @@ -20,6 +20,13 @@ #include "hw/ppc/xive2.h" #include "hw/ppc/xive2_regs.h" +uint32_t xive2_router_get_config(Xive2Router *xrtr) +{ + Xive2RouterClass *xrc = XIVE2_ROUTER_GET_CLASS(xrtr); + + return xrc->get_config(xrtr); +} + void xive2_eas_pic_print_info(Xive2Eas *eas, uint32_t lisn, Monitor *mon) { if (!xive2_eas_is_valid(eas)) { -- cgit 1.4.1