mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
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>
This commit is contained in:
parent
3b54254966
commit
afd10a0fa6
3 changed files with 52 additions and 48 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue