diff options
| author | Cédric Le Goater <clg@kaod.org> | 2022-03-02 06:51:39 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@kaod.org> | 2022-03-02 06:51:39 +0100 |
| commit | e16032b8dc56332096111ce02741a03c88c7be43 (patch) | |
| tree | 620bd3d4e97259f13c0881a0d044963292a21fc9 /hw/intc/xive2.c | |
| parent | 747ffe28cad7129e1d326d943228fdcbe109530d (diff) | |
| download | focaccia-qemu-e16032b8dc56332096111ce02741a03c88c7be43.tar.gz focaccia-qemu-e16032b8dc56332096111ce02741a03c88c7be43.zip | |
xive2: Add a get_config() handler for the router configuration
Add GEN1 config even if we don't use it yet in the core framework. Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/intc/xive2.c')
| -rw-r--r-- | hw/intc/xive2.c | 7 |
1 files changed, 7 insertions, 0 deletions
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)) { |