target/ppc: more use of the PPC_*() macros
commita6a444a87aae0062ffed45374b93217ff3308a8c
authorCédric Le Goater <clg@kaod.org>
Fri, 22 Dec 2017 09:55:51 +0000 (22 10:55 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 10 Jan 2018 01:53:00 +0000 (10 12:53 +1100)
tree16999bd8c355a15dd4273cb37d2270275cdf6ee2
parentb168a138a8bc9c18e8140fef614a6b66721497fb
target/ppc: more use of the PPC_*() macros

Also introduce utilities to manipulate bitmasks (originaly from OPAL)
which be will be used in the model of the XIVE interrupt controller.

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