]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/spapr.c
pseries: Move sPAPR RTC code into its own file
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 6 Feb 2015 03:55:47 +0000 (14:55 +1100)
committerAlexander Graf <agraf@suse.de>
Mon, 9 Mar 2015 13:59:56 +0000 (14:59 +0100)
commit12f421745cd763742377c7134f48fa12fb889ee3
treea10b274c4058d63993dcf0445f5e3f8a5b99b104
parent87774a4a4217b5cddc693f0678d0fc2bfc7f2ec1
pseries: Move sPAPR RTC code into its own file

At the moment the RTAS (firmware/hypervisor) time of day functions are
implemented in spapr_rtas.c along with a bunch of other things.  Since
we're going to be expanding these a bit, move the RTAS RTC related code
out into new file spapr_rtc.c.  Also add its own initialization function,
spapr_rtc_init() called from the main machine init routine.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/Makefile.objs
hw/ppc/spapr.c
hw/ppc/spapr_rtas.c
hw/ppc/spapr_rtc.c [new file with mode: 0644]
include/hw/ppc/spapr.h