ppc/pnv: introduce pnv*_is_power9() helpers
commitb3b066e9d8640a5d143cf9241e00160f30d9a89d
authorCédric Le Goater <clg@kaod.org>
Mon, 15 Jan 2018 18:04:03 +0000 (15 19:04 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 16 Jan 2018 22:35:24 +0000 (17 09:35 +1100)
tree041e132bfedc01bcd979a9133eb269902208bc95
parent09279d7e7b08ebfaaa40060843dbc8f33977548f
ppc/pnv: introduce pnv*_is_power9() helpers

These are useful when instantiating device models which are shared
between the POWER8 and the POWER9 processor families.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv_xscom.c
include/hw/ppc/pnv.h