mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
ppc/pnv: extend XSCOM core support for POWER9
Provide a new class attribute to define XSCOM operations per CPU family and add a couple of XSCOM addresses controlling the power management states of the core on POWER9. Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20190307223548.20516-11-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
6598a70d00
commit
90ef386c74
2 changed files with 89 additions and 13 deletions
|
@ -42,6 +42,8 @@ typedef struct PnvCore {
|
|||
|
||||
typedef struct PnvCoreClass {
|
||||
DeviceClass parent_class;
|
||||
|
||||
const MemoryRegionOps *xscom_ops;
|
||||
} PnvCoreClass;
|
||||
|
||||
#define PNV_CORE_TYPE_SUFFIX "-" TYPE_PNV_CORE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue