]> git.proxmox.com Git - mirror_qemu.git/commit
spapr_vio: Introduce a liobn number generating macros
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 7 May 2015 05:33:31 +0000 (15:33 +1000)
committerAlexander Graf <agraf@suse.de>
Wed, 3 Jun 2015 21:56:50 +0000 (23:56 +0200)
commit4290ca49eed5e239695ce85c925a770e4a7317a6
tree4eb4dd61e3cec3dcb952e23941fcce8e443e3b2e
parentc8545818b331e9a32e5dd47f0aefbcf2b93e41da
spapr_vio: Introduce a liobn number generating macros

This introduces a macro which makes up a LIOBN from fixed prefix and
VIO device address (@reg property).

This is to keep LIOBN macros rendering consistent - the same macro for
PCI has been added by the previous patch.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_vio.c
include/hw/ppc/spapr.h