mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
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>
This commit is contained in:
parent
747ffe28ca
commit
e16032b8dc
3 changed files with 28 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue