]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/spapr_drc.c
spapr: Move DRC RTAS calls into spapr_drc.c
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 1 Jun 2017 00:30:00 +0000 (10:30 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 5 Jun 2017 22:53:24 +0000 (08:53 +1000)
commitb89b3d39299559bc7bf7030e55f99c75dab70b2b
tree1d1c5446cacef929db5a9f887a39fb89fd1790ab
parent75e972dab51ba3bc02760e8142fc0c22eb611e3a
spapr: Move DRC RTAS calls into spapr_drc.c

Currently implementations of the RTAS calls related to DRCs are in
spapr_rtas.c.  They belong better in spapr_drc.c - that way they're closer
to related code, and we'll be able to make some more things local.

spapr_rtas.c was intended to contain the RTAS infrastructure and core calls
that don't belong anywhere else, not every RTAS implementation.

Code motion only.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Tested-by: Daniel Barboza <danielhb@linux.vnet.ibm.com>
hw/ppc/spapr_drc.c
hw/ppc/spapr_rtas.c