diff options
author | Bharata B Rao | 2016-06-10 02:59:02 +0200 |
---|---|---|
committer | David Gibson | 2016-06-17 08:33:48 +0200 |
commit | afd10a0fa6e90b79bad981c7334df2995d667de2 (patch) | |
tree | 9a97810866a79667b648ce5144a7e344478ed4e4 /include/hw/ppc/spapr.h | |
parent | spapr: Abstract CPU core device and type specific core devices (diff) | |
download | qemu-afd10a0fa6e90b79bad981c7334df2995d667de2.tar.gz qemu-afd10a0fa6e90b79bad981c7334df2995d667de2.tar.xz qemu-afd10a0fa6e90b79bad981c7334df2995d667de2.zip |
spapr: Move spapr_cpu_init() to spapr_cpu_core.c
Start consolidating CPU init related routines in spapr_cpu_core.c. As
part of this, move spapr_cpu_init() and its dependencies from spapr.c
to spapr_cpu_core.c
No functionality change in this patch.
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
[dwg: Rename TIMEBASE_FREQ to SPAPR_TIMEBASE_FREQ, since it's now in a
public(ish) header]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/spapr.h')
-rw-r--r-- | include/hw/ppc/spapr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index f597cc2251..3277692bff 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -16,6 +16,8 @@ typedef struct sPAPREventLogEntry sPAPREventLogEntry; #define HPTE64_V_HPTE_DIRTY 0x0000000000000040ULL #define SPAPR_ENTRY_POINT 0x100 +#define SPAPR_TIMEBASE_FREQ 512000000ULL + typedef struct sPAPRMachineClass sPAPRMachineClass; typedef struct sPAPRMachineState sPAPRMachineState; |