mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
target-ppc: QOM'ify CPU
Embed CPUPPCState as first member of PowerPCCPU. Distinguish between "powerpc-cpu", "powerpc64-cpu" and "embedded-powerpc-cpu". Let CPUClass::reset() call cpu_state_reset() for now. Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
12b1143b28
commit
1d0cb67da9
4 changed files with 119 additions and 1 deletions
|
@ -1096,6 +1096,8 @@ struct mmu_ctx_t {
|
|||
};
|
||||
#endif
|
||||
|
||||
#include "cpu-qom.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
CPUPPCState *cpu_ppc_init (const char *cpu_model);
|
||||
void ppc_translate_init(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue